Commit Graph

70 Commits (2.4)

Author SHA1 Message Date
Jakub Onderka 38fc903501 chg: [UI] Open modal without onclick vol. 2 2022-03-20 14:55:58 +01:00
Jakub Onderka f6d1015f95 chg: [UI] Open modal without onclick 2022-03-20 14:21:32 +01:00
Luciano Righetti 1bc44f5b0d fix: add type dropdown in all generic forms. 2021-06-24 16:01:56 +02:00
Jakub Onderka 757cf45715 fix: [UI] Broken checkboxes for role permissions 2021-02-11 11:00:06 +01:00
Jakub Onderka ccdd1de5d9 fix: [UI] Change role name for admin view and add title 2020-12-22 18:11:35 +01:00
Jakub Onderka ba9a33e0a1 chg: [UI] Merge roles index and admin_index 2020-12-22 17:52:58 +01:00
Jakub Onderka 123fce3f10 chg: [UI] Rotate header for role index table 2020-12-22 14:50:57 +01:00
Jakub Onderka 49185c48df chg: [UI] Site admin redirects from role index to admin index 2020-12-22 14:50:57 +01:00
Jakub Onderka dd04b66440 fix: [UI] Link to role edit 2020-12-07 12:47:35 +01:00
iglocska d19dbd00a6
chg: [Roles] CRUD rework 2020-11-11 10:44:06 +01:00
Jakub Onderka 0195de2c7b chg: [UI] Show full title for role permission 2020-09-21 17:25:42 +02:00
iglocska c8e9fa1c76
chg: [roles] allow the creation site admin enabled roles without auth access 2020-05-06 14:53:11 +02:00
iglocska a8c57a8316
new: [API] Added rate limiting option to the API
- / role setting
- can be enabled/disabled and if enabled a limit can be set
- limit counter / 15 minutes starting from the first query
- x-headers inform the user about their limit/remaining queries/reset in seconds
2019-10-08 11:43:56 +02:00
Olivier BERT aef027c4b9 Accessibility: added roles and aria labels for many icons and icon links (server list, tags, users, roles, attributes, ...)
There is still much work to be done. But we are on the road.

Ideally, and in order to avoid code dupplicates, we should have some utility functions to generate a proper and accessible yes/no icon, an accessible icon link, etc. This would prevent the code from being filled with "aria-label" tags, since the "title" and "aria-label" properties are nearly always the same.
2019-04-02 15:31:34 +02:00
iglocska d2bd63b236 fix: [Accessibility] Added titles to the role index icons, affects #4258 2019-03-29 21:01:32 +01:00
iglocska a90eaec445 Merge branch '2.4' of github.com:MISP/MISP into 2.4 2019-03-26 07:59:35 +01:00
iglocska a067fc769e new: [UI] Move to FA 5 2019-03-23 11:18:22 +01:00
4ekin 0b33adedc1 fix: fixed i18n string representation in Views
Fix for a plenty of Views with incorrect localizations (only English
text shown)
2019-03-21 18:10:26 +03:00
iglocska d8ee91be68 chg: [refactor] Side menu generic templates moved 2019-02-13 14:45:01 +01:00
iglocska 4c59cd5978 new: [UI] Further refactoring to use the modern meta table UI 2019-02-08 16:30:25 +01:00
iglocska 58997b9ac1 chg: [psr-2] Changed view files to space indentation instead of tabs
- *sniff sniff*
2018-07-20 09:29:50 +02:00
iglocska 214df94bda chg: [i18n] Made the strings more i18n friendly across the application 2018-06-20 12:56:53 +02:00
iglocska 98bf40eb71 new: Cleanup of role permissions
- fixed name of admin -> org admin
- changed order of org admin <-> site admin
- descriptions updated and now visible by hovering over any permissions' titles
2018-03-31 23:27:47 +02:00
iglocska 41fdf6da8b new: Allow further role settings
- exclude a role from non site admin assignment
- set max memory usage and execution time / role
2018-03-24 21:43:46 +01:00
Steve Clement d53f5ba0db - View/Roles -> __(' done 2018-01-11 11:39:36 +01:00
Ángel González 926895733b Cosmetic changes
Change space indents to tabs
Remove ?> at end of file
Add or remove some indentation where appropriate
2017-05-08 00:45:57 +02:00
iglocska 72470bacca fix: Cleanup of the role add/edit checkboxes 2017-04-11 11:28:25 +02:00
iglocska 94e3ae5356 fix: mergeing removal of deprecated JS in the new role creation 2017-02-22 10:54:37 +01:00
iglocska 77b0d85b62 Merge branch '2.4' into 2.4.67 2017-02-21 09:13:11 +01:00
iglocska a59aab9b23 fix: Re-added the accidentally removed code in a merge, fixes #1965
- affects f0e1a27b7d
2017-02-20 18:43:36 +01:00
iglocska 65e0a31f61 chg: Made the role add/edit forms a bit more sane
- allow for some permissions to be given out to read only users
- hide the permissions that can't be selected for the given access level
2017-02-20 13:26:49 +01:00
iglocska df6baa01f4 new: Add default role to the user creation, fixes #256 2016-08-29 14:49:14 +02:00
Andreas Ziegler 1d06f25b38 chg: add newline character before EOF to non-minified (text-)files 2016-06-06 10:09:55 +02:00
Andreas Ziegler 7cadf8340c remove space after unset before opening brace 2016-06-04 15:45:57 +02:00
Andreas Ziegler 0fe692c56a remove whitespace at end of line 2016-06-04 01:10:45 +02:00
Andreas Ziegler 898ea1d97c remove whitespace (space/tab) from empty lines 2016-06-04 01:08:16 +02:00
William Robinet 4fea371c4b Fix permissions 2016-02-11 17:03:51 +01:00
Iglocska 186452cd5b Further progress 2015-08-31 02:32:37 +02:00
iglocska fcaccb1784 Update to the roles and user filtering
- new role permission added for SG editors
- roles reworked, permissions all looked up centrally from the role model instead of code replication across controllers and views
- user filtering now correctly uses organisation objects instead of org strings
2015-04-07 14:47:14 +02:00
iglocska 3c4617c9ca Removed debug line 2015-02-23 11:37:13 +01:00
iglocska a4a987e027 More work on the templates
- Templates can now be created and populated
- Users can populate an event using a template (still needs work)
- File type elements are not yet implemented
2014-06-19 08:44:35 +02:00
iglocska 3f65618845 New permission
- tagger: a user that can create / edit / delete the list of tags that is usable for events
2014-01-21 16:59:21 +01:00
iglocska 7bd7405a8f Roles correctly visible to users
- users can now check what each role group grants in terms of permissions
- users cannot see a non-working add user / list users button
2014-01-16 10:55:24 +01:00
iglocska 0591db2a67 Small changes after merging the two feature branches
- Update to the representation of the new permission flags

- some small issues with the merge resolved
2013-10-25 11:31:35 +02:00
iglocska 2b11a78e22 Merge branch 'feature/roleChanges' into feature/XML_and_UI
Conflicts:
	app/Controller/UsersController.php
	app/View/Regexp/admin_add.ctp
	app/View/Regexp/admin_edit.ctp
	app/View/Regexp/admin_index.ctp
	app/View/Roles/admin_add.ctp
	app/View/Servers/add.ctp
	app/View/Servers/edit.ctp
	app/View/Servers/index.ctp
	app/View/Servers/pull.ctp
	app/View/Servers/push.ctp
2013-10-25 10:39:18 +02:00
iglocska 3c58e0071a Further work on the UI
- reworked almost all of the side menues to be centralised

- Some fixes for the IOC export not handling two new-ish types correctly

- Some changes to the menues (including a few options that didn't exist before)

- rework of the popovers in some forms
2013-10-24 16:41:42 +02:00
iglocska d27ddee207 First rework of the siteadmin role
- ADMIN org removed.

- Siteadmins are now identified by the perm_site_admin flag

- Siteadmins can now be of any organisation

- editing the regexp / whitelist rules can now be done by a special user with the perm_regexp_access in his/her role

- Executing a mass replace of attribute values based on the regexp rules cannot be initiated by a regexp/whitelist user, only by a site admin

- If the login page is reached without any users / roles defined they are automatically created (perviously it was only the user that was created)

- Org admins are restricted from assigning perm_site_admin, perm_sync and perm_regexp_access roles to users. This can only be done by a site admin.
2013-10-03 11:45:27 +02:00
iglocska 66a7791b33 Pivot threads and other changes
- Users can now see the path they took while jumping from related event to related event

- Removed the breadcrumbs

- Some UI changes (user menues were not showing the active page, etc)
2013-08-02 11:53:17 +02:00
iglocska 8d2595d592 Breadcrumbs for the views
- makes navigating the site easier
- some new css changes to support this
2013-07-31 15:08:10 +02:00
iglocska 1b79963ce8 UI changes applied to the actions menu
- The side menu is now fixed / relatively positioned based on the debug
mode, like the header and the footer.
2013-07-04 13:35:04 +02:00