Commit Graph

1026 Commits (12e36671bc599af245559099bf91fc318e80f0da)

Author SHA1 Message Date
iglocska f430176ddf Filter logic reworked
- Affects org and info field

- terms have to be saparated by pipe (|) 

- terms can be terms that will be OR-d or excluded terms that will be
AND-ed

- to exclude a term use !

- A valid filter search for info would be: 'term1|term2|!term3'
-> this would result in all events with the info field containing term1
or term2 but not term3
2013-06-24 11:22:06 +02:00
iglocska 997dea0acf NOT filter for orgs on the event index
- entering for example '!futuremark' would exclude all events created by
the organisation 'futuremark'
2013-06-24 10:50:35 +02:00
iglocska c9b3b15fa6 Email addresses of event creators visible to users if same org
- On the event index, users can view the e-mail address of the event
creator, if the event belongs to their own organisation
2013-06-24 10:34:56 +02:00
iglocska 640080d2e7 Some fixes to the filters event index
- siteadmins can now search the creator org instead of the owner org
(like normal users would)

- Changed the org search to be a partial match instead of an exact match
2013-06-24 10:02:35 +02:00
Iglocska 6146df10d0 Two small changes
- email of the user creating an event shown if current user's org ==
  event's orgc

- on export, the check for to_ids will happen outside of the if branch
  that sets extra restrictions of non site admins. Otherwise site-admins
  would accidentally include attributes that aren't iocs.
2013-06-21 15:20:49 +02:00
Iglocska b491898c11 Fix to the filters on IE
- old versions of IE didn't handle an incorrect form creation as gracefully as the other browsers

- forms should not be created within a table unless it's within a <td> (it was
  on <tr> level before). The normal solution would be to encapsulate the
  entire table in a form, but since we have formlinks for the deletes /
  publishes this would get flagged as form tampering by the security
  components.

- As a fix, filter forms are created separately for the 4 search fields within their <td> now with hidden fields that keep the persistence of the previously
  entered filter terms
2013-06-21 14:38:00 +02:00
iglocska 96d0ea10cb Wrong file included in previous commit 2013-06-20 16:28:15 +02:00
iglocska 55f47d3166 ShadowAttribute notifications, and some minor fixes
- New field for events, locking an event from sending out a contact
e-mail when a proposal is made to it
- Default setting for the new field is 0, if a shadow attribute is
added an e-mail is sent to all subscribing members of the orgc and the
new field is set to 1
- Accepting a change resets the field to 0
2013-06-20 16:21:55 +02:00
iglocska f524f6d2c0 extra access control restriction for reportValidationIssues 2013-06-20 08:53:47 +02:00
iglocska 20f8d18cc8 Merge branch 'feature/sync/timestamp' of https://github.com/MISP/MISP into feature/sync/timestamp 2013-06-19 16:22:55 +02:00
iglocska c436d8ed67 Sanitisation of the data when generating .ioc file 2013-06-19 16:18:22 +02:00
Christophe Vandeplas 8fe83c333f micro cleanup of servers index 2013-06-19 14:58:48 +02:00
Christophe Vandeplas 435c52c457 reportValidationIssues function 2013-06-19 14:51:58 +02:00
Christophe Vandeplas 342e5686a7 fix UI issue of top bar 2013-06-19 14:44:58 +02:00
Christophe Vandeplas 8fa33f0733 first start of report functions. see issue #122 2013-06-19 12:28:55 +02:00
Christophe Vandeplas da3580de35 little bit more details about sync errors 2013-06-19 12:13:45 +02:00
Christophe Vandeplas 136b929801 shows spaces in attribute value. fixes #19 2013-06-19 11:05:34 +02:00
iglocska 8df300221e login url won't include /admin/ anymore
- routing issue fixed
2013-06-19 10:29:58 +02:00
iglocska 441c6c94f4 Addition of the Event History
- uses the logs to generate a list of actions affecting the selected
event and all of its attributes

- view is very minimalistic, not to show anything restricted
2013-06-18 12:27:59 +02:00
Christophe Vandeplas dbf1065b3b sync pull backwards compatibility with MISPv2 2013-06-18 11:19:43 +02:00
Christophe Vandeplas 3b28d6f1e8 (workaround) better error message when HTTP problem with Server Pull 2013-06-18 09:12:09 +02:00
iglocska 277aecf463 UI consistency 2013-06-17 17:15:04 +02:00
iglocska 77e028dd9c Several smaller changes
- Fix to the proposed attribute edit that got broken in a previous
commit

- Fix to the org filters for non admin users

- Some changes to the documentation
2013-06-17 15:23:21 +02:00
iglocska 788a99f294 More updates to the manual 2013-06-14 09:43:26 +02:00
iglocska 54409e9746 More updates to the manual 2013-06-13 16:22:34 +02:00
iglocska 708156ee49 Some UI changes and partial update to the manual 2013-06-13 16:10:28 +02:00
iglocska d2fcda7cc6 Added 2 new type of attributes
- sha256 / filename|sha256
- uploading a malware sample now automatically creates a filename|sha1
and a filename|sha256 in addition to the sample|md5
2013-06-12 16:50:21 +02:00
Christophe Vandeplas 001151adc8 fix incorrect order of checking user info (with REST authkey) 2013-06-12 17:09:03 +03:00
Christophe Vandeplas 2bb51bd383 Merge branch 'feature/sync/timestamp' of https://github.com/MISP/MISP into feature/sync/timestamp 2013-06-12 14:55:00 +03:00
Christophe Vandeplas ac76a337a8 fix bug in iocexport 2013-06-12 14:52:50 +03:00
iglocska 8ba55d3290 Reference to maxDist removed in the attribute edit view
- obsolete
2013-06-12 09:56:10 +02:00
iglocska 66b33b2595 Removed some obsolete code
- canEditDist is obsolete, removed some more references to it
2013-06-12 09:53:57 +02:00
iglocska 4cf08b2322 Bug fixed with event creation
- Previous commit unsetting new attribute IDs breaks if no attributes
present -> fixed
2013-06-11 17:34:34 +02:00
Christophe Vandeplas 1c387add74 Merge branch 'feature/sync/timestamp' of https://github.com/MISP/MISP into feature/sync/timestamp 2013-06-11 14:53:44 +02:00
Christophe Vandeplas 45cfafca98 fix file download missing extension 2013-06-11 14:52:54 +02:00
iglocska 5d8e0c6f22 Protection against lost attributes with saveAssociated
- attributes that are added have to have their id unset before being
added in order to avoid overwriting existing attributes
2013-06-11 14:42:35 +02:00
iglocska 5e3976b7bc Merge branch 'feature/sync/timestamp' of https://github.com/MISP/MISP into feature/sync/timestamp 2013-06-11 14:06:35 +02:00
iglocska 6a30abfdd1 Change to the routes
- disabling the routes to indeces with pagination throws an error when
switching to another page
2013-06-11 14:05:40 +02:00
Christophe Vandeplas fa3c473f7f Merge branch 'feature/sync/timestamp' of https://github.com/MISP/MISP into feature/sync/timestamp 2013-06-11 13:56:51 +02:00
iglocska fd077e7bd4 Shadow attribute change
- fixed incorrect link to edit shadow attributes and the distribution
checks
2013-06-11 13:51:11 +02:00
iglocska be950da012 Update to the publish
- _publish doesn't attempt to upload events that have a distribution of
0 or 1 (private and community) but instead just set to published and
return true
2013-06-11 11:05:30 +02:00
iglocska db24e8c1f4 Update to the IOCImprt/Export
- bringing the two components up to date with the distribution changes
2013-06-11 10:50:16 +02:00
iglocska 17b570ec1f Typo in UsersController fixed 2013-06-11 10:37:56 +02:00
iglocska 78b3a1c0ed Routing and some UI changes to the users admin_index 2013-06-11 10:34:01 +02:00
Iglocska a3edc6a4ee UI changes and more work on the sync
- updated the side menu
2013-06-11 01:20:27 +02:00
Christophe Vandeplas fdfd3ba486 micro improvement 2013-06-11 00:44:04 +02:00
Iglocska 60f6b7b133 Merge branch 'feature/sync/timestamp' of https://github.com/MISP/MISP into feature/sync/timestamp 2013-06-11 00:42:32 +02:00
Iglocska 1635d99d8f Pull can not edit events / attributes
- added the _edit method in EventsController
2013-06-11 00:41:43 +02:00
Christophe Vandeplas b7a60d6b71 minor improvements in documentation 2013-06-11 00:23:01 +02:00
Christophe Vandeplas 0dc596fcac Merge branch 'feature/sync/timestamp' of https://github.com/MISP/MISP into feature/sync/timestamp 2013-06-10 23:57:58 +02:00