dnnsoftware / dnn.adminexperience Goto Github PK
View Code? Open in Web Editor NEWDNN (formerly DotNetNuke) Combined Admin Experience
License: MIT License
DNN (formerly DotNetNuke) Combined Admin Experience
License: MIT License
GetUserUnitTests should inherit from CommandTest Generic class to achieve DRY
Go to the implementation of Extensions\Manage\Dnn.PersonaBar.Users.Tests\GetUserUnitTests.cs
It does'nt inherit from CommandTest
It should be inheriting from CommandTest
DeleteUserUnitTests should inherit from CommandTest Generic class to achieve DRY
Go to the implementation of Extensions\Manage\Dnn.PersonaBar.Users.Tests\DeleteUserUnitTests.cs
It does'nt inherit from CommandTest
It should be inheriting from CommandTest
The issue templates need a checkbox for Dnn 9.2.2
When clicking on logout (personabar), nothing happens (there is a web api request made).
I think its better to refresh the page after logout (response of 200).
Originally created by @kurtwilbies at dnnsoftware/Dnn.AdminExperience.Extensions#191
Disabled pages are usually used as placeholders for the menus and such so that only the children pages are visible, so in most cases there are children pages that need to be exported along with the parent page.
And for other user cases, users would still have the option to uncheck the pages if needed.
Disabled Pages are not listed in the treeview
Disabled Pages should be listed in Treeview
We need to be transparent and up front about what DNN is doing in terms of privacy and offer admins the best possible info and options to make the best decisions.
There are now 5 tabs under "Site Behavior": Default Pages, Messaging, User Profiles, Site Aliases, More. Under More you'll find:
There are settings that are currently not yet in the UI (Show Copyright Notice) or that will be implemented shortly for GDPR (strategies surrounding user deletion, cookie consent, etc). These settings also need to find a place in the UI.
Create a new tab "Privacy" under site behavior. This will hold the existing settings regarding privacy and the future ones we create. It will provide a single home for admins to check all privacy settings.
I am developing an angular app, in MVC, using web api, and this works fine in a NON popup theme, such as Admin and Home (Xcillion). In a popup theme the tabid is set to -1 and there is no element RequestVerificationToken and thus using sf to get the antiForgeryToken OR window.document.getElementsByName('__RequestVerificationToken')[0].value is not possible; this occurs only for non administrators. When logged in as super user this issue is not present.
In summary:
Originally created by @kurtwilbies at dnnsoftware/Dnn.AdminExperience.Library#9
list-user when multisite or sitegroup then showing users only from master site
While logged-in as host user and open the
PB > Settings > Prompt
Type "list-users"
a grid with only host user appear and none of the users before site group appear
Login as host in main site
add users in main site e.g user1, user2, user3
goto setttings > Prompt
type "list-users"
will show all users in grid
Create child1(portalid= 1)site in main site(portalid=0)
Make site group of child1 and main-site with child1-site as master site
goto setttings > Prompt
type "list-users"
Message displayed "No users" or only host user shown
All users from site-group should be shown as in PB > Manage > Users
When in edit mode > hover over a module > there is a Move flyout menu with content panes listed to reposition the module on a page.
Admins need a way to easily identify the name of each content pane in order for this to be a usable feature.
Originally created by @tpluscode at dnnsoftware/Dnn.EditBar#25
The 'Use SSL for cache synchonization' switch does not always match the setting value in the database HostSettings table. Switching it on enables the setting, and the change is saved to the database, but the next time you visit the Performance pane, the switch says "Off".
List the steps to reproduce the behavior:
select * from HostSettings where SettingName = 'UseSSLForCacheSync'
SettingValue
is true
.The setting is correctly stored in the database HostSettings table, but is not correctly reflected in the UI.
The setting is correctly stored in the database HostSettings table, and is correctly reflected in the UI.
@dnnsoftware/tag
Here's what I propose to clean up branches and branch strategy here:
HEAD
of each release branch with a matching tagdevelopment
starting from the oldest
master
branchdevelopment -> master
development
There are also some stale branches. Most probably should be removed. We can address them later
Originally created by @tpluscode at dnnsoftware/Dnn.AdminExperience.Library#154 and dnnsoftware/Dnn.AdminExperience.Extensions#577
If you manage sites, there are 3 icons under the site URL for View Site, Site Settings, Export Template. The tooltip is not shown when the mouse in on the icon
List the steps to reproduce the behavior:
No tooltip
Show tooltip, this works in 9.2.0
Suggestion: do not hide the icons until the mouse is over the cell. This surprises the user.
get-page for deleted page showing empty status in PROMPT CMD
logged in as "Host"
add a page namely "prompt-delete-status"
goto setttings > Prompt
type "list-pages"
grab the id of above page in mine case it was 81
now type "delete-page 81"
now type "get-page 81"
look at delete in detail view of page
Showing empty
Should show true or false
Add any other context about the bug that may be helpful for resolution.
Creating a new user in Persona Bar admin UI asks for Username when using Email as Username
List the steps to reproduce the behavior:
When user is loged in with edit permissions on a page with with a #xxx at the end of the url.
Then the edit mode pencil and the close edit mode buttons on the bottom of the page (black area) are not working.
(xxx : can be all text)
Nothing happend for the user.
The web api call is fired.
But the page refresh don't hapen.
The page don't go to edit mode or go out of edit mode.
This hapen on all pages with javascript that use routing (clientside urls) with #
Error is in EditBar/Dnn.EditBar.UI/editBar/scripts/ExitEditMode.js
line : window.top.location.href = window.top.location.href;
this will maybe solve the problem
window.location.replace(window.top.location.href);
or rediret to page url without de #xxx part
https://stackoverflow.com/questions/503093/how-do-i-redirect-to-another-webpage
DNN 9.2
tested on chrome on windows 7
Migrated Extensions projects still use nuget of Dnn.PersonaBar.Library
Project doesn't build right after fresh cone
Users are not getting delete from portal-site of SiteGroup via PersonaBar UI
This is blocking #52
Users not present and reappear in PB > Manage > Users
User should be present
When adding a term to a hierarchical vocabulary, the first term has no UI to select the parent (which is normal), but then for each new term, there is no way to not select a parent term so it is now impossible to have multiple root terms. This was previously possible in Dnn 8.0.4 and even 7.4.2.
List the steps to reproduce the behavior:
Got To Vocabularies, add a new vocabulary with hierarchical option.
Try to create a hierarchy such as this:
It is impossible in this example to create the computer branch, there is no UI to set no parent after the first term is created (televisions)
There should be a way to select no parent
I doubt is is browser related
with "Concatenate Page URLs" on Off into SEO settings, when i try to "edit" a module into "Page Setting >Module", the "Module Setting" iframe has an url like (note the double ?
):
/my-page?moduleid=11585?popup=true&ctl=module&hidecancel=true&hidedelete=true&noredirectonupdate=true
________^______________^
the double ?
cause an exception:
Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Formato della stringa di input non corretto. ---> System.FormatException: Formato della stringa di input non corretto. in System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) in System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) in DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.OnInit(EventArgs e)
The problem is in ModuleEdit.js (https://github.com/dnnsoftware/Dnn.AdminExperience.Extensions/blob/2e77c2e19658c90d7cc52c4421a22b26b6c97cf5/src/Modules/Content/Dnn.PersonaBar.Pages/Pages.Web/src/components/Modules/ModuleEdit/ModuleEdit.jsx). This module, into the render()
method, always concatenate the this.props.module.editSettingUrl
with queryString
, without check if this.props.module.editSettingUrl
has already a ?
, but queryString
already has a ?
:
const queryString = "?popUp=true&HideCancel=true&HideDelete=true&NoRedirectOnUpdate=true";
My fix is remove ?
from queryString
and add it if necessary into the render()
method:
const queryString = "popUp=true&HideCancel=true&HideDelete=true&NoRedirectOnUpdate=true";
// ...
render() {
const {state, props} = this;
let moduleSettingControlPath = this.props.module.editSettingUrl;
if( moduleSettingControlPath.indexOf('?') === -1 ){
moduleSettingControlPath += '?';
} else {
moduleSettingControlPath += '&';
}
moduleSettingControlPath += queryString;
return (state.userMode === "edit" &&
<iframe ref="iframe" src={moduleSettingControlPath} style={iFrameStyle} frameBorder={0}></iframe>
);
}
Originally created by @cesco69
Sorting does apply correct order to SQL console results.
Sorting is not working as expected.
Sorting should be working as expected.
Restore-user from PersonaBar of child-site of Site-group is not working
Install engage_9.2.2
After creating site-group. Delete-user from child site of master group, So that it should be start showing up in PB > Content > RecycleBin
Go to RecycleBin of child site of Site-group PB > Content > RecycleBin
User still appearing.in deleted user in PB > Content > RecycleBin under Users tab
User should move successfully to PB > Manage > Users
.DnnModule + .DnnModule { margin-top: 1rem; }
.DnnModule .DnnModule { margin-top: 1rem; }
Note the +
character (adjacent sibling combinator) has been replaced with a blank space character
.
The +
character should not be stripped out of the Custom CSS.
I'm using DNN Evoq Engage 9.2.0.
Tested in the latest versions of Firefox and Chrome on Windows Server 2016.
Originally created by @OllyHodgson at dnnsoftware/Dnn.AdminExperience.Extensions#603
The inline help command links are not styled correct and thus are very difficult to read.
help
clear-screen
command linksOriginally created by @nvisionative at dnnsoftware/Dnn.AdminExperience.Extensions#606
A video walkthrough on how to build the projects, modules, persona bar and submitting pull requesta has been made at https://www.youtube.com/playlist?list=PLIx1M8IdVvqZ0bnODGqJyxvONNPj5BzMP we need to link that in the project documentation
A recent post by Katherine Moss to the DNN Connect facebook group has highlighted the accessibility of the Persona Bar is practically non-existent.
A quick look reveals:
<li>
elements - not <a>
or <button>
elements which are focusable "for free".role
or aria
attributes anywhere in the Persona Bar. Perhaps this W3C toolbar example would be a good role model for DNN?I'm no expert, but even I can see that for a non-sighted user, the DNN 9 admin interface must be nigh on impossible to use.
Open Firefox dev tools. Enable the Accessibility panel. Browse through the Persona Bar. Note that there is almost no useful information there.
Install the Landmarks extension for Firefox/Chrome/Opera. Load a DNN page. Note that the PersonaBar and Edit Bar do not appear.
Try the PersonaBar with other accessibility testing tools. The WAVE extension doesn't seem to notice it at all, but that might be a limitation of the extension.
Users of assistive technology really struggle to use DNN's admin interface.
Users of assistive technology can use DNN's admin interface.
Settings/Delete localization functions is missing in page settings
only have the view icon, but no gear icon or trash icon.
same functionality with 8x:
eye icon: click to browse the page;
gear icon: click to check the page setting of that localized page;
trash icon: click to delete that localized culture of the page.
RestoreUserUnitTests should inherit from CommandTest Generic class to achieve DRY
Go to the implementation of Extensions\Manage\Dnn.PersonaBar.Users.Tests\RestoreUserUnitTests.cs
It does'nt inherit from CommandTest
It should be inheriting from CommandTest
After Installing 922 RC2 or upgrading when you login as an admin and view the Development Console you will see error:
Error: Cannot find module "../maps/decode.json"
List the steps to reproduce the behavior:
Error: Cannot find module "../maps/decode.json" is shown
No javascript errors should be displayed in the console.
Upgrade RequireJS to latest version, currently we have 2 places of requirejs referenced:
Latest version: http://requirejs.org/docs/download.html version 2.3.5
need upgrade both places to 2.3.5 and make sure nothing is broken.
Originally created by @tpluscode at dnnsoftware/Dnn.AdminExperience.Library#157
The About screen located in Settings > About appears to be a license management screen for the commerical Evoq products.
Given that this is the DNN Platform, the About screen should have generic information regarding the DNN Platform and not commerical products.
Users of the DNN Platform are presented with an Evoq licensing screen.
Generic information regarding the DNN Platform.
Some types of information that could be displayed are:
In 9.1 system used to display flag icon which lets user know if page is hidden or disabled. in 9.2 there no such direct notification
Originally created by @tpluscode at dnnsoftware/Dnn.AdminExperience.Extensions#584
Currently version number have to be managed multiple times across every repository. For this repository alone it's 22 manifest files which have to be changed every time we bump the version (no wonder we bump it ver rarely 🙁). The numbers in the .dnn
manifests are then taken as the zip installer version. Hence these artifacts, as seen in builds from #539 are still 1.6.0, even though GitVersion wrongly calculated 1.5.1. Just imagine how many there are across all Plaftorm/Evoq codebase.
So, with GitVersion we would not have the version number at all. Anywhere! Not in .dnn
, not in AssemblyInfo.cs
. Anywhere. That version would only ever be calculated from the git branching. The tool has a lot to offer in terms of configuration. It is being affected mainly by tags and merges with release branches.
Originally created by @tpluscode at dnnsoftware/Dnn.AdminExperience.Extensions#578
SetUserUnitTests should inherit from CommandTest Generic class to achieve DRY
Go to the implementation of Extensions\Manage\Dnn.PersonaBar.Users.Tests\SetUserUnitTests.cs
It does'nt inherit from CommandTest
It should be inheriting from CommandTest
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
This issue was moved here because it is only a UI issue, it was originally at dnnsoftware/Dnn.Platform#2050
In previous versions of Dnn, there was a setting in Host Settings to set the host email. This email was used when testing the SMTP server settings. So when testing the emails, users do not receive the email since they don't have access to [email protected] (the default on new installations)
Also, some modules may use that email address to notify the host, so people changing their email and not having control over this, stop receiving those notifications.
I think this could be added in Settings -> Server Settings -> SMTP Server
In the database, this is stored in HostSettings Table with a SettingName of HostEmail
Originally created by @valadas at dnnsoftware/Dnn.AdminExperience.Extensions#604
GetModuleFiles function doesn't retrieve manifest files
Wrong Get: /API/PersonaBar/Extensions/GetModuleFiles?ownerFolder=MyFolder&moduleFolder=SubFolder&type=3
Correct Get: /API/PersonaBar/Extensions/GetModuleFiles?ownerFolder=MyFolder&moduleFolder=SubFolder&type=2
change js function in Admin\Dnn.PersonaBar\Modules\Dnn.Extensions\scripts\bundles\extensions-bundle.js
'onFolderSelect' .... type: 3 to type: 2
Originally created by @ala-musleh at dnnsoftware/Dnn.AdminExperience.Extensions#47
I want to add a new active directory user to my dnn like "DES\j.olsen" how ever I receive error "The username specified is invalid. Please specify a valid username."
I thought I can fix it buy overriding the "User Name Validation" regular expression from security area but it didn't help me too.
I was able to do that in dnn 8.x but I can't do it in dnn 9.2.0 and 9.2.1.
Currently the security analyzer flags the Biography field as an failure due to it's default configuration of being a rich text field.
We need to switch this to a warning, maybe update the steps to include a bit more details on where to go and change this to a basic text input.
It is hard to view all content when you use sites that have 100% width. Personabar hides how it looks and sometimes buttons or links to other parts of the site.
Install DNN
Login as Host or Administrator
Edit a page with 100% width module or skin menu
Cannot view or select anything hidden behind the persona bar
Two options in my mind.
One is the entire website shifts over to where the persona bar edge is so you can see the entire site look and feel along with testing functions such as links and buttons.
The other would be to have a switch or carrot icon/arrow icon that allows you to hide/unhide the persona bar so you can select it.
Another is keep persona bar hidden to the side and only if you hover your mouse over it does it popout and then select with a PIN to pin it open or keep it open if you need it a lot.
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
During long running operations, DNN will show a "It appears you have a slow connection... We are processing your content" message. Almost every time I've encountered this, it's been due to DNN taking a long time to process a complex request.
I suggest the language is changed to something closer to the truth, e.g. "This task is taking a while. We are still processing your content". Or it could just be reduced to "We are processing your content".
Do anything which will cause a long-running request in the PersonaBar. For example:
After a while the user is shown a "It appears you have a slow connection... We are processing your content" message.
DNN doesn't blame the user's connection for its own slow response.
Whatever message is chosen, I imagine it will need to be translated.
n/a
Checksums must be calculated and added to sums.resources for the 9.2.2 release
The method call 'gettable' (GET /API/personaBar/localization/gettable?culture=en-US HTTP/1.1) needs to be cached. Lazy loading would be even better. I personally use 'Strathweb.CacheOutput' and it works fine. So cache the web api methods with Strathweb.CacheOutput, e.g., [CacheOutput(ClientTimeSpan = 3600, ServerTimeSpan = 3600)].
Originally created by @kurtwilbies at dnnsoftware/Dnn.AdminExperience.Extensions#192
Dnn9 without updating the login and profile page is NOT complete, especially from a marketing perspective. The whole community would like to see these changes (actually now for years).Please update those pages.
Originally created by @kurtwilbies
With recent builds of 9.2.1 some Persona Bar menus were not working. Turns out that the CI did not capture yarn install
failure and we were using broken React bundles:
export-bundle.js?cdv=65:2 Uncaught Error: Minified React error #130; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=130&args[]=undefined&args[]=%20Check%20the%20render%20method%20of%20%60t%60. for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at n (export-bundle.js?cdv=65:2)
at i (export-bundle.js?cdv=65:61)
at r (export-bundle.js?cdv=65:172)
at o (export-bundle.js?cdv=65:29)
at o (export-bundle.js?cdv=65:29)
at i (export-bundle.js?cdv=65:29)
at Object.instantiateChildren (export-bundle.js?cdv=65:172)
at h._reconcilerInstantiateChildren (export-bundle.js?cdv=65:173)
at h.mountChildren (export-bundle.js?cdv=65:173)
at h._createInitialChildren (export-bundle.js?cdv=65:173)
The root cause was yarn.lock
referring the private MyGet repository.
Originally created by @tpluscode at dnnsoftware/Dnn.AdminExperience.Extensions#576
Since the move to the Persona Bar the 'Make page private / Make page public' toggle was removed. I get clients asking where this is as it was an easy way to do this.
I suggest adding this back in to the edit page bar next to the Add Module buttons so it is easy to toggle the visibility of a page.
None
Analytics section should be displayed.
On click of Ellipsis, no action is performed
Browser console shows error when click on Analytics:
export-bundle.js?cdv=126:15 Uncaught TypeError: this.props.CallCustomAction is not a function
at t.value (<anonymous>:21:23687)
at Object.r (export-bundle.js?cdv=126:15)
at a (export-bundle.js?cdv=126:15)
at Object.s [as executeDispatchesInOrder] (export-bundle.js?cdv=126:15)
at d (export-bundle.js?cdv=126:14)
at f (export-bundle.js?cdv=126:14)
at Array.forEach (<anonymous>)
at n (export-bundle.js?cdv=126:61)
at Object.processEventQueue (export-bundle.js?cdv=126:14)
at r (export-bundle.js?cdv=126:173)
value @ VM316:21
r @ export-bundle.js?cdv=126:15
a @ export-bundle.js?cdv=126:15
s @ export-bundle.js?cdv=126:15
d @ export-bundle.js?cdv=126:14
f @ export-bundle.js?cdv=126:14
n @ export-bundle.js?cdv=126:61
processEventQueue @ export-bundle.js?cdv=126:14
r @ export-bundle.js?cdv=126:173
handleTopLevel @ export-bundle.js?cdv=126:173
i @ export-bundle.js?cdv=126:173
perform @ export-bundle.js?cdv=126:14
batchedUpdates @ export-bundle.js?cdv=126:173
i @ export-bundle.js?cdv=126:13
dispatchEvent @ export-bundle.js?cdv=126:173
Originally created by @tpluscode at dnnsoftware/Dnn.AdminExperience.Extensions#602
Currently only one issue template exists and it is very ISSUE focused.
Click New Issue button on GitHub repo.
A single issue template is used based on ISSUE_TEMPLATE.md.
The user should be able to choose from several issues types (e.g., Bug Report, Feature Request, Help & Other Questions)
Often, when in the middle of a task I'll accidentally click outside the PersonaBar. My first thought is usually a four letter expletive.
Over time I've learnt I can usually pick up where I left off by navigating through the menu again, but when I first used DNN this was really frustating: I thought I'd lost my work.
I also have to write step by step instructions for people to make changes on the system. They're IT support people, who don't know DNN at all. This happens to them all the time - and I have to take the calls to help them get back to where they were.
The PersonaBar edit pane disappears.
Nothing happens. The PersonaBar edit pane only closes when you click the close icon in the top right.
Step 4 of 5? Don't accidentally click on the right of the screen:
Should only close when you click on the close button:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.