Commit Graph

65 Commits (56c5b9c40976f9ff41e8b3c478f328c2dec0e490)

Author SHA1 Message Date
CriimBow 0f6ffb8270 does not exists => does not exist 2022-11-08 16:13:14 +01:00
Jakub Onderka d086f22284 new: [internal] New method SharingGroup::authorizedIds 2022-05-22 18:03:16 +02:00
Jakub Onderka 4af34a999c chg [galaxy] Simplify saving galaxies 2022-03-27 18:45:32 +02:00
Jakub Onderka 0263bff6b8 fix: [internal] Fetching clusters 2021-11-06 15:34:46 +01:00
Jakub Onderka 57c4862329 chg: [internal] Optimise bulkSaveRelations 2021-10-31 10:02:23 +01:00
Jakub Onderka aead3f9056 chg: [internal] Simplify creating tag 2021-10-30 19:40:52 +02:00
Jakub Onderka 6c227f69c4 chg: [internal] Faster importing galaxy relation tags 2021-10-25 21:15:49 +02:00
Jakub Onderka 5993ec152f chg: [internal] Remove unused methods 2021-07-27 21:03:45 +02:00
Jakub Onderka 1dc9dc3db1 chg: [internal] Galaxy cluster relation UUID must be RFC 4122 valid 2021-07-27 21:01:52 +02:00
Jakub Onderka ad1b373766 new: [log] Audit log 2021-05-03 13:44:44 +02:00
Tom King 4474dcc2cf fix: [Sync] Crash when attempting to sync with 'Pull Galaxy Clusters' enabled 2021-03-17 15:31:36 +00:00
Jakub Onderka 792ec55700 chg: [ineternal] Opimise GalaxyCluster::fetchGalaxyClusters when full is True 2021-02-24 18:05:59 +01:00
Jakub Onderka 28b6a9066b chg: [internal] Faster fetching galaxy clusters when fetching event 2021-02-22 08:18:40 +01:00
Jakub Onderka 31e5a4638f fix: [galaxy] Missing variable when editing relation 2021-02-19 12:25:54 +01:00
iglocska ddca7bf2ef
chg: [internal] removed void return promise
- to make EOL php versions happy
2020-11-24 13:51:13 +01:00
iglocska 68efb37cbc
fix: [galaxy update] tag capture fixed
- set random colour and some other default values
2020-11-23 22:38:50 +01:00
iglocska 20bfe637e4
Merge branch '2.4' of github.com:MISP/MISP into 2.4 2020-11-23 22:17:41 +01:00
iglocska 7e172fb627
chg: [galaxy update] improvements
- should be a fair bit faster
2020-11-23 19:38:19 +01:00
Jakub Onderka df97c9f768 chg: [internal] Faster updating JSON structures 2020-11-19 23:41:35 +01:00
mokaddem 7d07a631f2
chg: [galaxy] Added logging behavior for galaxies, clusters and relations 2020-11-12 11:18:36 +01:00
mokaddem 2b9e2ff3bf
chg: [galaxyClusterRelations] GetExistingRelationships also returns
ObjectReference relation names
2020-09-25 16:33:42 +02:00
mokaddem bbbabd21f5
fix: [galaxyClusterRelation] Make sure contain is an array 2020-09-25 12:29:41 +02:00
mokaddem 1cc35df4f0
chg: [galaxyClusterRelation] Make sure sourceCluster is always contained 2020-09-25 12:16:54 +02:00
mokaddem 08c46eb020
fix: [galaxyClusterRelation] Make sure owner of source cluser can see
org_only relations
2020-09-25 11:56:44 +02:00
mokaddem 780957518d
fix: [galaxyCluster] Recursive conditions on grandparent model 2020-09-25 11:13:26 +02:00
mokaddem bf1fab8468
fix: [galaxyClusterRelation] Hide linked clusters where applicable
- For source cluster, hide the relation
- For target cluster, show the relation but hide target data
2020-09-23 17:34:13 +02:00
mokaddem b0820407f9
fix: [clusterRelations:index] Correctly unset target cluster if unkown
and uses correct index element
2020-07-31 15:57:14 +02:00
mokaddem 8d0ff475f8
chg: [galaxyCluster] Unset ids before capturing 2020-07-10 10:57:40 +02:00
mokaddem e2b945a688
fix: [galaxyClusterRelation:editRelation] Removed typo
Cluster returned by fetchIfAuthorized is not inside a list
2020-07-10 09:54:29 +02:00
mokaddem c0ee861ec0
fix: [galaxyCluster:saveRelation] Set `default` value if unset and allow
saving unknown clusters if force flag set
2020-07-09 17:22:08 +02:00
mokaddem 6133e7e60d
chg: [galaxyClusterRelation] Code refactoring and documentation 2020-07-09 14:44:21 +02:00
mokaddem b1d9c8efaa
chg: Refacto bunch of galaxy clusters files 2020-07-07 09:47:13 +02:00
mokaddem 8fe74ae178
fix: [clusterRelations:add] Correctly report validation errors 2020-06-29 09:10:28 +02:00
mokaddem 919ed4ba83
chg: [clusterRelation:captureRelation] More lenient capture of orgc.
Fallback to orgc=org if user is not a sync user
2020-06-15 15:07:13 +02:00
mokaddem 6e850f9455
fix: [clusterRelations] Corrected conditions allowing the
creation/update of relations. Plus, get rid of not-used relation's value
2020-06-15 08:31:40 +02:00
mokaddem a876a7a163
fix: [clusterRelation:restSearch] Allow org to see their own relations if they are distribution=org_only 2020-06-12 15:58:24 +02:00
mokaddem 4f16019ea8
fix: [galaxyCluster] Typo in linked model 2020-06-12 15:09:54 +02:00
mokaddem 0732d20326
chg: [GalaxyCluster] Fetcher function arrange the data before returing
its results
2020-06-12 15:08:01 +02:00
mokaddem 35ba3a7383
fix: [galaxyClusterRelation:getRelations] Could not fetch relations with no full group by enabled 2020-06-12 10:25:01 +02:00
mokaddem 2ce4a93d4b
fix: [clusterRelation:captureRelations] Default referenced galaxy id to
0 if it's unkown
2020-06-10 16:45:05 +02:00
mokaddem 08b7e3465e
chg: [clusterRelations:add] Savings tags is more flexible and reliable 2020-06-09 12:57:19 +02:00
mokaddem 39f1291b2d
fix: [clusterRelations:syncUUIDsAndIDs] Make sure to default referenced
cluster id to 0 if unknown
2020-06-09 12:18:58 +02:00
mokaddem 00728eae92
fix: [galaxyCluster:edit] Fixed key name issues preventing clusters to be edited similar to the `add` endpoint 2020-06-09 10:36:00 +02:00
mokaddem 3314db6ac0
chg: [galaxyCluster:crud] Improved how clusters and their linked models
are saved
2020-06-09 10:08:36 +02:00
mokaddem 2a807d30cc
fix: [clusterRelations:catpure] More flexible tag capture 2020-06-08 12:14:56 +02:00
mokaddem c32eff5849
chg: [galaxyCluster:capture] Improved cluster catpure
- Allow to capture relationships pointing to unknown clusters
- Improved display of relationships
2020-06-08 11:10:59 +02:00
mokaddem afd0dd6ca5
chg: [clusterRelations:view_relations] Display all relation tags 2020-05-29 12:07:32 +02:00
mokaddem 17953780c4
chg: [clusterRelations:fetcher] Performs massaging on targetting relations 2020-05-29 11:36:34 +02:00
mokaddem 38a9e4b490
chg: [clusterRelations:add] Refactored how relations are saved to better
support tags and force override
2020-05-29 10:02:17 +02:00
mokaddem 1bb2839dd3
chg: [clusterRelations:CRUD] Added support of tags 2020-05-29 08:56:29 +02:00