Commit Graph

33 Commits (2e38015e8eaefd95fc9a3d3eca8640f64100490e)

Author SHA1 Message Date
iglocska a81894f14c chg: [CS] Changed to PSR-2
- to make contributions easier, adopted PSR-2
- used php-cs-fixer to rework the style
- *sniff sniff* Goodbye tab indentation
2018-07-19 11:48:22 +02:00
iglocska 68b8266584 new: New flash message system, fixes #3252
- 3 types of flash messages (success, error, warning)
- uses bootstrap's own classes/structure
2018-05-16 19:32:38 +02:00
iglocska 9760f1144f new: New APIs to add/remove orgs and servers from sharing groups, fixes #2888
- added functions to manage the additions/removals of objects from sharing groups
- the following APIs are included:
  - /sharingGroups/addOrg/[sg_id]/[org_id]/[extend]
  - /sharingGroups/removeOrg/[sg_id]/[org_id]
  - /sharingGroups/addServer/[sg_id]/[server_id]/[all_orgs]
  - /sharingGroups/removeServer/[sg_id]/[server_id]

- All parameters are optional and can instead be passed as JSON objects such as:

  {
    "org_uuid": "55f6ea5e-2c60-40e5-964f-47a8950d210f",
    "sg_id": "49",
    "extend": 1
  }

- The API is extremely flexible with how to name objects, the following parameters are allowed:
  - Organisations:
    - org_id (The organisation's local instance ID)
    - org_uuid (The organisation's global UUID)
    - org_name (The organisation's identifier as known to the curent instance)
  - Server:
    - server_id (The server's local instance ID)
    - server_url (The URL of the server)
    - server_name (The local name of the server as assigned when adding the server)

The sharing groups can also be addressed by ID or UUID.
2018-02-02 08:46:14 +01:00
iglocska 32b5286bd8 fix: Added missing local field to fetched sharing groups, fixes #2812 2018-01-15 14:03:59 +01:00
iglocska b3d3640e13 new: Expose the Sharing Groups to the API, fixes #2767
- Add/Edit/Index/View now exposed to the API
- rework of the sharing group capturing process
- fix to an issue that could potentially block sharing groups from being synced (the creator org of the sharing group wasn't directly exposed and an edit to the organisation's UUID after creating the SG could make the SG non-syncable)

- various fixes to edge cases
- descriptors to the add/edit APIs via restresponse

- Operation "Just relaxing and looking at stuff for the baby online" - the x-mas covert development patch(tm)
2017-12-27 15:32:38 +01:00
Andreas Ziegler 25e52a6786 chg: remove some references to variables 2016-09-15 17:08:58 +02:00
Andreas Ziegler 30fb4e2b2e chg: remove whitespace at end of line 2016-08-22 02:54:51 +02:00
Andreas Ziegler fb655c2ff9 chg: use 1/0 not true/false for conditions & other boolean sqlquery elements 2016-08-17 18:52:22 +02:00
Iglocska 3b6c619384 chg: Added sync user's org to the sharing group view 2016-07-25 12:45:51 +02:00
Iglocska 9ca230f13d fix: Roaming mode's functionality had to be reversed as it was still using the logic of limiting the server distribution 2016-07-19 10:51:16 +02:00
Iglocska 0fcf90a926 chg: Added the sharing group roaming setting to various parts of the application
- sharing group add/edit
- summary view
- push rule checks
2016-07-18 00:13:12 +02:00
Andreas Ziegler 985451642e add space after keywords if/for/foreach/while/switch/catch 2016-06-04 15:45:39 +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
Andreas Ziegler dc0974a55b misc cleanup 2016-05-21 05:10:49 +02:00
Iglocska 77c32490d0 List the Sharing groups via the API, fixes #1032 2016-03-23 19:58:14 +01:00
Iglocska 417b252ed4 Fixed an issue where a non sharing group editor saw the edit / delete buttons on the SG index, fixes #1012 2016-03-13 15:53:47 +01:00
Iglocska e8419f2c5e Remove modified from the fields to keep when updating a sharing group 2016-02-11 14:56:05 +01:00
Iglocska 714af83449 Other half of the fix to the UUID issue with sharing groups 2016-02-10 23:48:39 +01:00
Iglocska af92e29e3c Further progress on the sync
- also, added maintenance mode
- various fixes
2015-12-09 01:43:54 +01:00
iglocska f36e00e944 Permission checks 2015-11-14 17:27:06 +01:00
Iglocska 3abf1d0536 Progress on the sync
- Creating objects whenever necessary during sync (sharing groups, organisations, etc)
- it's still WIP, but time to sleep
2015-04-27 00:44:28 +02:00
Iglocska ad1a15f36e Work on the sync
- commit to update secondary test instance
2015-04-26 13:21:51 +02:00
Iglocska 62094989c9 Futher fixes
- organisations don't show any other tabs than events if they aren't local
- some fixes with the SG generated text before creation
2015-04-26 10:15:02 +02:00
Iglocska de55461eed Several changes
- UI cleanup
- separate view for active / passive sharing groups
- deletion of SGs is blocked if there are still events / attributes / threads around that belong to the SG
2015-04-25 20:49:29 +02:00
Iglocska c24704a6c2 Lots of progress
- further work on implementing the SG changes everywhere
- reworked the alert e-mails
- reworked a lot of the logging
- several convenience methods
2015-04-20 11:46:55 +02:00
Iglocska 63fd8a51d9 Several fixes
- views updated
- menues updated
- fixed attribute search
2015-04-19 10:44:24 +02:00
iglocska 51ea9c090d Further progress 2015-04-18 07:53:18 +02:00
Iglocska 1e3db8a8ba Further work on the new version
- org checks fixed in a lot of places
- fixed the searches to work with the new organisations
2015-04-14 17:51:38 +02:00
iglocska 0e7b2448d2 Further work on the sharing groups
- correlations should work fine now
- users can only see events they should be allowed to see on the event index / event view / event history view
2015-04-10 15:23:53 +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 1afa15120f Further work on the sharing groups 2015-04-07 00:24:44 +02:00
iglocska bdc6b5fa8f Initial commit 2015-02-23 11:33:38 +01:00