Commit Graph

201 Commits (2.4)

Author SHA1 Message Date
iglocska dc0cb15675
fix: [logging] fixed using removeTagFromObject()
- no longer creates erroneous log entries when unpublishing the event
2024-03-06 10:39:55 +01:00
Luciano Righetti 65004e89ed
new: show highlighted tags in event index 2022-11-30 16:01:07 +01:00
Luciano Righetti 2e7d1d30c1
fix: conflics and update db_schema.json 2022-11-30 16:00:17 +01:00
iglocska 9b8fb04222
Merge branch '2.4' into develop 2022-11-08 12:19:14 +01:00
iglocska 9f3d0eccdd
fix: [tags] index search fixed
- not passing name, filter, search all together would lead to the search not working
2022-11-08 12:18:31 +01:00
Jakub Onderka bfff0f0320 chg: [internal] Store taxonomy in cache compressed 2022-10-30 18:25:28 +01:00
Jakub Onderka 3b3eb39e55 chg: [acl] Move tags ACL check to one place 2022-10-26 21:10:23 +02:00
Jakub Onderka 7219c98da6 fix: [internal] Remove unused controller method 2022-10-26 09:00:49 +02:00
Jakub Onderka a0e8567982 fix: [internal] Cleanup code for tag controller 2022-10-22 14:35:41 +02:00
Jakub Onderka 3496eec83a fix: [UI] Undefined index attribute_tag_id 2022-10-14 17:40:36 +02:00
Jakub Onderka 5a643f4bbb fix: [UI] Reload just tags part when modifying tag relationship 2022-10-14 15:49:24 +02:00
Jakub Onderka 4be480f4e0 chg: [api] Return REST responses for modifyTagRelationship 2022-10-14 14:56:16 +02:00
Jakub Onderka 6d6af58af0 fix: [internal] Less fragile event unpublishing 2022-10-13 09:39:15 +02:00
iglocska 91cab11f7b
new: [tag] relationships added
- add a relationship to any attributeTag / eventTag relationship
- works for both clusters and tags
- displayed on the event index/view
- included in the API

- new endpoint to modify the relationship via /tags/modifyTagRelationship/[scope]/[id]
  - scope is attribute/event
  - id is the id of the EventTag / AttributeTag object
2022-10-03 12:14:46 +02:00
Jakub Onderka 9f2813bc56 chg: [internal] Faster showing tags by ajax 2022-05-22 16:12:07 +02:00
Jakub Onderka e75b706de9 chg: [internal] Show event tags closes sessions soon 2022-05-22 15:40:13 +02:00
Jakub Onderka 2728bb1335 chg: [internal] Faster fetching custom tags 2022-05-22 12:48:52 +02:00
Jakub Onderka f83b2928d2 chg: [internal] Optimise fetching tags and taxonomies 2022-05-22 12:48:52 +02:00
Jakub Onderka 1c5917a356 chg: [internal] Faster fetching tags 2022-05-15 12:03:34 +02:00
Jakub Onderka 469edbea88 fix: [internal] Close sessions soon to allow concurrent request 2022-05-15 11:54:22 +02:00
Jakub Onderka a007089486 chg: [internal] Do not use ajax layout 2022-04-28 14:51:21 +02:00
Jakub Onderka 50d284b643
Merge pull request #7986 from JakubOnderka/better-security
chg: [internal] Do not modify session when not necessary
2021-12-30 14:40:01 +01:00
Jakub Onderka 6b248b179f new: [tag] Generate predictable tag color 2021-12-14 09:24:24 +01:00
Jakub Onderka b100377a73 chg: [internal] Do not modify session when not necessary 2021-11-25 11:58:32 +01:00
iglocska 952a98dba8
Merge branch 'local_only' into develop 2021-11-08 14:15:18 +01:00
Jakub Onderka 24c0f81a57 chg: [internal] Optimise attaching tags to objects 2021-10-31 18:25:13 +01:00
Jakub Onderka 4c0dab4b96 fix: [API] Do not allow same tags for one object (local/global) 2021-10-31 18:11:22 +01:00
Loic Fortemps a1ba1c053e
Adding a local_only option for Tags and Galaxies 2021-10-27 16:51:54 +02:00
Luciano Righetti a9d8609297 chg: migrate /tags/add view to factory 2021-08-11 16:04:14 +02:00
mokaddem 4c85a2aae0
fix: [tags:attachTagToObject] No longer return a failure message is relation already exists
Fix #6569
2021-07-14 10:11:48 +02:00
mokaddem 36cc125ec2
fix: [tags:detachFromObject] Make travis test passes 2021-07-08 15:26:30 +02:00
mokaddem 7d9eb35b93
fix: [tag] Update object's timestamp and unpublish only if in global context
Fix #5806
2021-07-08 14:38:25 +02:00
Jakub Onderka 5fbac2d000 chg: [internal] Simplify generating some JSON responses 2021-06-28 14:43:24 +02:00
Deku bd82d927a0
Restored generic when successes > 1
Generic can handle when more than 1 tag is added.
2021-03-23 20:37:52 +00:00
Deku 6a25a36e7b
Generic message overwrites detailed message
A detailed message is created on lines 870 and 877, however, they're never used in the response as it is overwritten by the generic message on line 888.
2021-03-23 20:10:46 +00:00
Jakub Onderka 5b4763cea7
Merge pull request #7078 from JakubOnderka/missing-taxonomies
Missing taxonomies
2021-02-24 10:11:52 +01:00
Jakub Onderka 7d8fdc25a4 chg: [internal] Check missing taxonomies at one place 2021-02-24 08:13:45 +01:00
Jakub Onderka b9b13c56de fix: [internal] perm_tag_editor can just create tags 2021-02-23 08:36:58 +01:00
Jakub Onderka 4c9ba9dcc7 chg: [internal] Refactor TagsController::view 2021-02-09 10:57:01 +01:00
Andras Iklody 01658a52be
Merge pull request #6737 from JakubOnderka/remove-compat
fix: [internal] Remove compact method call that do nothing
2021-01-22 14:20:53 +01:00
Jakub Onderka e76f9f1038 chg: [UI] Optimise fetching tags for picker 2021-01-14 19:41:01 +01:00
Jakub Onderka 7528bd1c96 chg: [UI] Optimise loading taxonomy tags for for tagging form 2021-01-14 16:05:01 +01:00
Jakub Onderka 09258f9bd6 new: [UI] Show tag description if tag belongs to taxonomy 2020-12-20 14:33:28 +01:00
Jakub Onderka 02ba939e57 chg: [eventReport] Load tags in one call 2020-12-19 21:53:16 +01:00
Jakub Onderka 35da3eb06c fix: [internal] Remove compact method call that do nothing 2020-12-10 21:02:50 +01:00
Jakub Onderka 982b7378de fix: [UI] Favourite only for tags 2020-11-24 16:30:03 +01:00
Jakub Onderka b48df40e8e chg: [tag] Simplified taxonomy handling 2020-11-24 16:30:03 +01:00
Jakub Onderka 7c7a8f2817 chg: [tag] Fetch event count for tags in one query 2020-11-24 16:30:03 +01:00
Jakub Onderka 261d15265d chg: [sighting] Speedup loading sighting for tags and galaxies 2020-11-24 16:30:03 +01:00
mokaddem 23695d1e3f
fix: [tags] Pass user object to massaging function 2020-11-20 10:54:17 +01:00