Commit Graph

421 Commits (230d7b4ba1a19081b5e303976242e84205c92f47)

Author SHA1 Message Date
Andras Iklody 230d7b4ba1 Wrong version of adminCrudComponent
- Can cause issues when saving roles, replaced with the newer version.
2013-04-16 09:01:03 +02:00
iglocska 3ab63b4697 Small edit fixes #75
- Event was not deleted when another non site-admin org user tried to
  delete an event due to the event not being read before its organisation
  was compared to that of the logged in user -> fixed.
2013-04-10 10:48:30 +02:00
iglocska 9e9bdcbfa4 Bug with pull
- Pulling all from the server list view would cause all new events to be
  pulled as intended, but attachments would not be pulled with their
  respective attributes

- the few lines of code responsible for loading the file and base64
  encrypting it for the transfer were misplaced within a correlation check

- fixed.
2013-03-26 16:33:24 +01:00
iglocska 5d42b81989 First version of an IOC export feature
- Builds basic .ioc file of an event, OR-ing all eligible attributes

- mass export via a zip file to be implemented later
2013-03-26 11:02:01 +01:00
iglocska e7a7ea8824 Small error 2013-03-25 17:12:10 +01:00
iglocska 745581d38e Small bug
- Messages left empty for all but the first user in a mass custom e-mail
- fixed.
2013-03-25 17:07:56 +01:00
iglocska 4aa2bf748b Small message notifying the admin that the e-mail was sent
- flash message after e-mail sent
2013-03-25 16:52:59 +01:00
iglocska b28e884eb0 Debug exception left in
- removed
2013-03-25 16:50:26 +01:00
iglocska 0a06ceed3b E-mailing system for site-admins
- site admins able to contact users by e-mail from within the system
- PGP encrypted where available
- Password reset with automatic temporary key generation
- all of the above options have a mass-email version where every user is
  contacted at once
- Potential new users can be contacted too (GPG key can be supplied)
2013-03-25 16:38:56 +01:00
iglocska b134ffd940 Extensions of filenames now validate if a number is included 2013-03-19 14:33:56 +01:00
iglocska 30c4969cbe Update to the validation of file names to allow _ in the extension 2013-03-19 14:31:35 +01:00
iglocska f008eb9f07 Search for attributes by organisation
- New search functionality on request - restrict attributes by
  organisation

- Also, attributes in the list attributes and search attributes result
  pages, that belong to the user's organisation will have a red event ID
2013-03-19 11:54:14 +01:00
iglocska ef93e61efb Related events
- Implemented on request: related events created by the same organisation are now coloured red
2013-03-19 10:30:32 +01:00
iglocska 32de082c88 New export feature
- To restrict the authentication key from being used by interactive users,
implemented a new export page that uses the uses cake's user
authentication

- the old export features still exist for users with perm_auth enabled
  accounts - renamed to automation

- Exporting the events that found attributes belong to in a search
  attributes result page

- exporting of individual events to file by clicking a link in event view
2013-03-18 11:48:36 +01:00
iglocska aa2340c3f2 Temporary fix for an issue with the ACL 2013-03-15 15:15:10 +01:00
iglocska d634d4ea47 Update to the targets of contact emails and more
- The original creator of an event will also get contacted by contact org
  if he/she has the contactalerts turned off.

- error in the SQL permissions of normal users and org admins - they
  weren't able to modify/delete events of their own organisation that they
  themselves didn't create
2013-03-13 16:45:40 +01:00
iglocska d5800206e6 Bug fixes
- issues of admin orgs not being able to edit/delete org events

- owner org removed for org admins

- email only visible from own org to org admins
2013-03-13 15:11:49 +01:00
iglocska c86a90dd9f Upgrades to the installation and upgrade process
- Instructions updated

- SQL scripts tidied up of incorrect junk (from export)

- upgrade scripts finish gracefully
2013-03-13 11:42:24 +01:00
iglocska 80967b2ddd Update to generateCount
- generateCount used to just run through all attributes and save them, to
  generate the count. It led to VERY long execution times on larger
  databases (25k+ attributes). With the extra processing that each save()
  does for attributes, this was horribly slow.

- new generateCount just saves the events based on the number of
  associated attributes, only having to save the events (of which there
  are considerably less).
2013-03-12 12:00:49 +01:00
iglocska d9a01197ac More updates to the migration 2013-03-12 11:10:40 +01:00
iglocska 723d87f20d Slight change to generating the ArosAcos
- permission field is not set when roles are read during the ArosAcos
  generation script - needed for generateACL. Fixed.
2013-03-12 10:23:12 +01:00
iglocska eb4283ea9c Highlighting in log searches
- new helper that can be used for highlighting

- highlighting of the search terms in the log search result - index view.
2013-03-11 13:12:48 +01:00
Andras Iklody 019e976783 Removed the js title bubble for related events
- Removed javascripts based title bubble showing the event info in related
  events / attributes and in the search attribute view.

- Replaced it with values provided by extra cake queries as the delay for
  fetching the info field through a js rest request was annoyingly slow

- some coding standards
2013-03-08 13:16:02 +01:00
Andras Iklody 0e18aa099b Attribute and event access
- Updated the check for authorisation to view an event and attribute as
  the system hid some valid combinations (such as a server only attribute
  in a higher distribution level event).
2013-03-07 18:16:00 +01:00
Andras Iklody 83294820bf Changes to logs and some minor changes
- Regexp, blacklist, roles, whitelists now logged

- adminCRUD now sets ID (for the logging) on edit

- some minor UI changes (removal of empty action menues on the left menu
  bar)
2013-03-07 11:51:43 +01:00
Andras Iklody 13f2a274e8 Previous edit was an error 2013-03-06 14:07:37 +01:00
Andras Iklody e707d1eedb Error in a previous commit 2013-03-06 14:00:21 +01:00
Andras Iklody 3425a49c7c Enabled filename whitelisting for GFI sandbox uploads
- filename wasn't validated before exec() to unzip before
2013-03-06 13:48:02 +01:00
Andras Iklody b9d4ac9cba Subscription to alerts from contact reporter
- Users can now choose to subscribe to receive e-mails from the "Contact
  Reporter" feature.
2013-03-06 11:34:22 +01:00
Andras Iklody 8abe55dd91 Changed email alert
- It didn't respect private events and alerted everyone. Fixed.
2013-03-05 17:35:57 +01:00
Andras Iklody 5db23738c1 Removed sanitization of emails
- caused linebreaks to be sanitized, it's a plain text e-mail so
  sanitization isn't needed.
2013-03-05 17:04:02 +01:00
Andras Iklody 64f304da48 Tighter checks so users can't edit events of other orgs 2013-03-05 16:17:34 +01:00
Andras Iklody 32dc28adb9 Update to the admin privileges
- Changed the requirement for a lot of functions to be site admin as
  opposed to admin.
2013-03-05 15:19:58 +01:00
Andras Iklody 4a368918eb Colouring of search terms works in links
- links now have proper colouring to make the found terms more visible
2013-03-04 18:05:17 +01:00
Andras Iklody 036308bc0e Some changes to the search
- changes to the validation of the results

- fixes an issue where the escaping of slashes showed up with a //

- made the found results more visible and case insensitive
2013-03-04 17:33:34 +01:00
Andras Iklody 581fc5e851 Slight update to the filename regex
- accept extensions from 2 to 4 characters in length
2013-03-04 15:42:16 +01:00
Andras Iklody a72503161b Fixed some regex issues and file name validation
- Fixed an issue that caused attribute values to be converted to 1 on
  save in case of an empty regexp table

- Filename validation now happens via whitelisting instead of filename
  sanitization
2013-03-04 14:53:52 +01:00
Andras Iklody dc37542be4 Typo... 2013-03-01 11:16:00 +01:00
Andras Iklody eb5de600b0 Case-sensitivity 2013-03-01 11:11:43 +01:00
Andras Iklody 9645f664dc SQL update 2013-03-01 10:17:44 +01:00
Andras Iklody 8e6852e037 Export distribution
- Export didn't take into account distribution rules, should be fixed

- Fixed a bug with editing attributes
2013-02-28 17:16:52 +01:00
Andras Iklody a0616558e9 Still issues with the attribute search
- should be ok now
2013-02-28 10:16:42 +01:00
Andras Iklody 5ab2de4824 Fix to the updated search attributes
- issue on the live server with the search field left empty, fixed
2013-02-28 09:57:43 +01:00
Andras Iklody 01649046c0 Several things (search, migration)
- Changes to the default setting for non private events after migration

- search attribute update to be able to exclude events
2013-02-27 17:15:09 +01:00
Andras Iklody a735822ca1 Updated the migration script (SQL)
- Script updated based on the issues during testing

- Changed the file upload/downoad mechanism.
2013-02-27 15:24:38 +01:00
Andras Iklody 6dc73314bf Changes to the distribution handling of attributes
- Only the creating org of the event can change the distribution of
  attributes

- Attribute distribution setting are only pushed on edits if they were
  manually changed (so that the distribution level of events on the
  creating server doesn't get degraded by an edit and push of the event at
  a synced server when using connected community settings).

- slight change to the batch attribute search, the search terms are only
  echoed up to 9 terms to prevent the mass echoing of a long list
2013-02-25 16:38:04 +01:00
Andras Iklody 341814a1d4 Some updates to the migration script
- Getting it up to date
2013-02-22 14:42:22 +01:00
Andras Iklody 0969752dc5 Attribute edit fixed
- Editing attributes caused an error because the uuid was not passed back
  from the form (and it is used to find the attribute locally for rest)

- UUID is now used from the read attribute for non rest users. In the long
  run it would be cleaner to not allow non rest users to reach that part
  of the code.
2013-02-22 11:29:22 +01:00
Andras Iklody fad8e809ad Minor changes
- some changes to the access control

- re-renabled regexp and blacklists, will need a closer look though

- editing a role should update ACL

- some other minor things
2013-02-21 17:24:41 +01:00
Andras Iklody 0f947085cb Reworked the sync / release control
- Fixed issues with the sync
	- Secondary publishes on remote servers failed
	- Introduced new fields in events to stop backward traverse of
	  edit information that lead to low performance and eroneous
	  distribution information updates when more than 2 servers were
	  linked
	- Deletion of an attribute now deletes on remote servers

- Changes to the event ownership
	- Original creator org now noted in the event itself
	- Only original creator org can change distribution
	- Events will show up with the original creator org for users
	  (admins can see both that and the owner of the event on the
	  local instance)
	- Server.organization now used in junction with the connecting
	  user's org and the instance's org (from the bootstrap) to
	  determine distribution flow control and access rights

- Lots of minor changes
2013-02-19 15:37:35 +01:00