Commit Graph

117 Commits (ea7be07fad6fa03af9d39300d409d022f4b358fb)

Author SHA1 Message Date
Antoine Cailliau 35ea369fe7 Fixes #5242 2019-09-30 21:24:46 +02:00
Antoine Cailliau 453a54ca0d Add support to add local tags to an event using the API. 2019-09-25 09:19:30 +00:00
iglocska 13ce0e099a
fix: [UI] Loading of local tags fixed via the UI, fixes #5197
- over-zealous ACL removed local tags for non sync users
- UI only functionality, no need for the restriction at al
2019-09-20 15:59:20 +02:00
Pierre-Jean Grenier 851cfb84e4 chg: Setting the 'Tag' key when editing a tag through API is not mandatory (consistency) 2019-08-20 17:46:44 +02:00
mokaddem 194e4b5e2d
fix: [event:view] Ensure sync users do not get local tags through ajax 2019-07-19 16:23:15 +02:00
iglocska 2a059f7b31
new: [tags] Local tags feature added
- Create tags locally if you are a host org user that allows in-place tagging for sync / export filtering
- Events are NOT modified using these tags
- Local tags always get stripped before syncing
- Local tags allow host org users to violate the ownership model of MISP
- galaxies, attack matries also included

- some sync fixes
2019-07-08 11:39:41 +02:00
Olivier BERT 67c8265183 Fixed case sensitivity in the tag search API (/tags/search).
There was still a problem for matching the search on a cluster name. I have also slightly simplified the construction of the SQL request for better code readability.
2019-04-16 21:54:55 +02:00
iglocska 6f6e41b497 new: [tags] refactor of the tag picker
- massive performance boost
- re-introduction of the custom tags
2019-04-03 15:52:05 +02:00
iglocska bb42cf79ba fix: [UI] Performance boost for the tag selector 2019-04-03 10:50:52 +02:00
iglocska 6efd909bfe new: [Required taxonomies]
- Flip taxonomies into required mode to ensure that events cannot be published without at least one tag from each required taxonomy to be set
2019-03-19 15:59:31 +01:00
Olivier BERT 97d1a1fc64 /tags/search was only looking for cluster synonyms, but not in cluster values. 2019-02-23 00:43:35 +01:00
Hannah Ward 31976684c7
fix: Typo in tag ID query 2019-02-11 12:22:08 +00:00
iglocska b2a6d5cfa4 chg: [Tag search API] now also accepts synonyms as input 2019-02-10 22:20:54 +01:00
iglocska bc23ebbfce new: [Tag API] New tag search api to search for tags
- simply pass the value you want to search for. Use % for wildcards
- case insensitive
- taxonomy and galaxy metadata returned with tag
2019-02-10 21:33:03 +01:00
iglocska 1e284b4cf8 fix: [tagging] attachTagToObject wasn't updating the timestamp of the target object 2019-01-29 18:11:28 +01:00
mokaddem b95afe4ea4 chg: [generic_picker] Improved the way option templates/data are passed
to the view (now done by JS only)
2019-01-28 14:47:49 +01:00
mokaddem 1a2edf05b1 chg: [generic_picker] all view using the generic_picker now use the
generic_picker view elements - WIP
2019-01-22 16:02:01 +01:00
mokaddem a74dcdf202 chg: [tagging] Added more ordering while displaying results 2019-01-18 16:05:25 +01:00
mokaddem 9357674c1f fix: [generic_picker] avoid having option's name as an array key 2019-01-18 15:03:24 +01:00
mokaddem 27e4455116 fix: [tags] picking all tags removed galaxies in the picker 2019-01-18 13:59:33 +01:00
mokaddem 593f58ad09 fix: Added some more escaping 2019-01-18 09:29:18 +01:00
mokaddem b9886e536a chg: [UI] WIP - generic_picker slightly improved tag template 2019-01-14 15:01:47 +01:00
mokaddem ef09744389 chg: [UI] WIP - generic_picker display expanded taxonomy info 2019-01-11 16:54:40 +01:00
mokaddem 45e0a9bd0d chg: [UI] WIP - generic_picker added tag styling and additional data in
option
2019-01-11 16:32:19 +01:00
mokaddem 5b7fff5df2 [UI] generic_picker merged the pre_picker into the picker - WIP 2019-01-10 14:40:30 +01:00
mokaddem 49c42438e1 chg: [tagging] WIP - bulk tagging via generic picker on event and
complete support for TagCollection
2019-01-09 16:09:05 +01:00
mokaddem bbdbd3b184 chg: [tagging] WIP - bulk tagging via generic picker on tag level 2019-01-09 14:19:14 +01:00
mokaddem b7c1ce79ba chg: [taxonomy choice] replace old popup view by the generic pre-picker 2019-01-09 10:10:14 +01:00
mokaddem 1aabdad239 new: [UI] generic_picker - WIP 2019-01-08 14:50:55 +01:00
iglocska 760dbed37d new: [tag collections] First feature complete minimal version of the tag collection system 2019-01-01 16:38:57 +01:00
iglocska d22787b263 chg: [tag collection tag] Renamed Model references in the codebase 2018-12-26 23:48:49 +01:00
iglocska 15d8fd31db new: [tag collections] WIP 2018-12-23 22:45:25 +01:00
iglocska 3ba8c360bf new: [WIP] tag collections WIP 2018-12-20 21:48:04 +01:00
iglocska 2aef86abf1 fix: [API] tags/attachTagToObject wasn't unpublishing events correctly 2018-12-07 16:33:08 +01:00
iglocska 2d0259ce13 fix: [CS] coding standards script re-run 2018-11-23 14:11:33 +01:00
iglocska 89a9ad12b1 fix: [tags] showAttributeTag function now correctly culls galaxy tags 2018-11-01 22:11:14 +01:00
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 043c74beaf chg: [API] Adding a tag will no longer throw exceptions if the tag already exists
- instead the existing tag is returned for further reuse along with a HTTP code of 200
2018-06-05 17:52:08 +02:00
iglocska feadeb3ae9 fix: [cleanup] Removed non-sensical line 2018-06-02 23:23:55 +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 74e77b0511 chg: [API] Attaching a tag to an object no longer throws an exception if the tag already exists, fixes #3245
- just emits positive vibes by saying that no changes had to be made
2018-05-11 09:00:46 +02:00
Sami Mokaddem 680311f68f chg: [Controllers] sets the ajax variable globally
As well as removing useless set in controllers and accessing it instead
of passing through the request.
2018-05-07 14:44:59 +00:00
Sami Mokaddem 36fc897e71 fix: [CorrelationGraph] set the undefined ajax variable when pivoting from a taxonomy tag / galaxy cluster in fullscreen 2018-05-07 13:53:38 +00:00
Andras Iklody 84f479f2e5
fix: After adding a tag via the API MISP would always return the first tag, fixes #3159 2018-04-22 23:38:24 +02:00
iglocska be89604d41 chg: Allow GETing the /tags/edit API
- will describe itself
- no ID needs to be passed for the description
2018-02-27 10:30:14 +01:00
iglocska 49d6d81b67 fix: Fix tags/add on a GET request via the API 2018-02-27 09:06:02 +01:00
Émilio Gonzalez 3d6ab9f22a new: Add a "search all tags" input field on the taxonomy modal when adding a tag to an event. 2018-02-02 17:04:04 -05:00
iglocska 0282a20310 fix: Fix adding tags via the API fails if not encapsulated in "Tag":{}, fixes #2897
- also, add proper response instead of a redirect to make testing a bit more friendly
2018-01-31 15:07:07 +01:00
iglocska 7edaf5aeb2 fix: Resolved an issue where attaching tags to attributes via the generic attachToObject() function was throwing an error 2018-01-25 15:28:24 +01:00
iglocska 7379b65bf0 fix: Reduced memory usage of tags index when requesting it via the API 2018-01-25 14:56:11 +01:00