summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/Application_controller.js
Commit message (Collapse)AuthorAgeFilesLines
* webui: better error reportingPetr Vobornik2014-08-201-10/+10
| | | | | | | | | | | | On page: - styled to use proper line breaks - "centered" by .container class and not by huge padding Console: - proper line breaks - links in stack trace are clickable(Chrome) Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: bind Login facet and OTP sync facetPetr Vobornik2014-06-301-1/+2
| | | | | | | | | Simple plugin which handles transition from login facet to OTP sync facet and vice versa. https://fedorahosted.org/freeipa/ticket/4218 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: support global notifications in all containersPetr Vobornik2014-06-301-0/+7
| | | | | | | | Global notifications were limited to "main" container. Now they have their own container which is displayed over other ones. It makes them usable everywhere. Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: generic routingPetr Vobornik2014-06-231-8/+10
| | | | | | | | | | | Router is not able to create hash from facet state for custom routes/facets. This patch refactors router methods into providers. It allows to create additional route handlers, navigators and hash creators. These providers are mapped to facets and therefore it's possible to create router hash for any facet without any logic in the facet itself. Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: fix excessive registration of state change event listenersPetr Vobornik2014-06-231-1/+1
| | | | | | | | `Facet` descendants don't have `container` attribute as opposite to `facet.facet`. Therefore the registration will happen on every facet visit. Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: handle back button when unauthenticatedPetr Vobornik2014-06-111-2/+8
| | | | | | | | | | | | | | using browser history when unauthenticated causes transition to the original and/or preceding facets. But nothing works since all commands fail due to expired credentials in session. These changes make sure that user stays on login screen if he misses valid session credentials while he wants to switch to facet which requires authentication. https://fedorahosted.org/freeipa/ticket/4353 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: display only dialogs which belong to current facetPetr Vobornik2014-06-111-1/+6
| | | | | | | | | | | | | | Dialog instances no longer directly call IPA.opened_dialog methods. It's handled through events (decoupled from dialog's POV). IPA.open_dialogs with assistance of ApplicationController makes sure that there is only one dialog opened at the same time. It also makes sure to hide all dialogs, which are not global dialogs and did not originate from current facet, when switching facets. https://fedorahosted.org/freeipa/ticket/4348 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: authentication modulePetr Vobornik2014-04-151-20/+38
| | | | | | | | General purpose authentication interface and state. See doc of 'freeipa/auth' module. https://fedorahosted.org/freeipa/ticket/3903 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* webui: login pagePetr Vobornik2014-04-151-1/+2
| | | | | | | | A facet with login sreen widget. https://fedorahosted.org/freeipa/ticket/3903 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* webui: load pagePetr Vobornik2014-04-151-4/+21
| | | | | | | | | | Load page is a simple facet which is displayed up to 'runtime' phase. On application start it tells the user that there is ongoing activity. https://fedorahosted.org/freeipa/ticket/3903 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* webui: facet containerPetr Vobornik2014-04-151-5/+56
| | | | | | | | | | | A widget which servers as container for facets. FacetContainer is a base class. App is specialization. Doing this abstraction will allow us to implement various facet containers. https://fedorahosted.org/freeipa/ticket/3903 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* webui: change permissions UI to v2Petr Vobornik2014-03-201-1/+5
| | | | | | | | | | | | | | reflect ipalib permission changes in Web UI. - http://www.freeipa.org/page/V4/Permissions_V2 - http://www.freeipa.org/page/V4/Anonymous_and_All_permissions - http://www.freeipa.org/page/V4/Managed_Read_permissions - http://www.freeipa.org/page/V4/Multivalued_target_filters_in_permissions https://fedorahosted.org/freeipa/ticket/4079 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com> Reviewed-By: Petr Viktorin <pviktori@redhat.com>
* About dialogPetr Vobornik2014-01-211-0/+6
| | | | https://fedorahosted.org/freeipa/ticket/4018
* Adapt password expiration notification to new navigationPetr Vobornik2014-01-211-0/+5
| | | | https://fedorahosted.org/freeipa/ticket/3902
* Fix password expiration notificationPetr Vobornik2013-10-301-2/+4
| | | | | | - was broken by navigation and application controller refactoring https://fedorahosted.org/freeipa/ticket/4003
* Web UI source code annotationPetr Vobornik2013-10-161-9/+4
| | | | Part of ongoing Web UI documentation effort. Source code is annotated in a way that it can be processed by documentation generator.
* Navigation: handle invalid routesPetr Vobornik2013-05-061-5/+17
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Report phase errorsPetr Vobornik2013-05-061-7/+22
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Use dojo/on instead of dojo/topic for facet-xxx events'Petr Vobornik2013-05-061-4/+4
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Add handling of runtime and shutdown phase. App-init renamed to init.Petr Vobornik2013-05-061-3/+14
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Fix dirty dialog behaviorPetr Vobornik2013-05-061-2/+2
| | | | | | Dirty dialog was displayed twice because of double event registration in menu widget. https://fedorahosted.org/freeipa/ticket/3236
* Add menu memoryPetr Vobornik2013-05-061-32/+37
| | | | | | Parent items remember last selected child. https://fedorahosted.org/freeipa/ticket/3236
* Menu and application controller refactoringPetr Vobornik2013-05-061-0/+323
https://fedorahosted.org/freeipa/ticket/3235 https://fedorahosted.org/freeipa/ticket/3236