Commit Graph

124 Commits (791dc9deabd2d7fdfd7c371331eb557d14782372)

Author SHA1 Message Date
Jakub Onderka 49660255fe new: [av] Malware protection for uploaded files 2020-10-22 16:38:07 +02:00
Jakub Onderka 72d0b873c8 chg: [UI] Optimise loading contributors orgs 2020-10-13 16:08:22 +02:00
Jakub Onderka 2f4d38b2f1 chg: [internal] Cleanup and simplify ShadowAttribute model code 2020-10-11 15:20:20 +02:00
Jakub Onderka 1da6cd8cd4 fix: [proposal] No return when org is not defined 2020-10-01 13:53:35 +02:00
iglocska 6d21f1696a
fix: [hacky] readded org field to shadow attributes - just blank it out for old instances where the update failed to remove it a few years ago 2020-09-30 09:54:00 +02:00
Jakub Onderka 935437d1bc chg: [internal] Invalid message for UUID contains that UUID must be RFC 4122 compliant 2020-09-18 10:56:28 +02:00
Jakub Onderka 0e916bd364 chg: [internal] Ensure that UUID is always lowecase and real UUID 2020-09-08 10:47:28 +02:00
iglocska 40c43462a0
fix: [internal] loading a missing proposal attachment leads to an exception
- should be silently logged and notice error sent
2020-08-28 16:48:16 +02:00
Jakub Onderka 778d39e175 fix: [attachment] Do not fetch attachment when accepting deletion proposal 2020-08-14 13:40:05 +02:00
Jakub Onderka cac497158e chg: [internal] Reuse AttachmentTool instance 2020-08-14 12:30:12 +02:00
Jakub Onderka a411b36666 chg: [internal] Move attachment handling to one place 2020-08-13 15:34:32 +02:00
Jakub Onderka a5f1fe801c fix: [proposals] Respect unpublished private event when loading proposals 2020-08-04 12:23:41 +02:00
mokaddem 092348ffcd
chg: [Attribute:seen] Moved conversion iso<->utc of fs/ls in dedicated
functions
2019-12-16 10:47:07 +01:00
mokaddem b44b369eec
Merge remote-tracking branch 'origin/2.4' into zoidberg-timeline 2019-10-02 14:35:00 +02:00
mokaddem bb3cf85776
Merge branch '2.4' into zoidberg-timeline 2019-10-02 11:23:04 +02:00
iglocska cee439dc80
fix: [performance] notifications lookup on each UI page load was slow
- introduced a major bottleneck on large instances
- massively reduced the load times for pages that warranted none
2019-09-30 08:36:13 +02:00
iglocska fb5ba4235c
fix: [proposals] Fixed automatic setting of the category when adding proposals, fixes #4868 2019-07-29 11:17:45 +02:00
iglocska 91a58c9682
fix: [internal] Explicit conditions to avoid ambiguous lookups 2019-07-14 08:24:10 +02:00
iglocska c8018d7daa
new: [API] Proposal sync rework done 2019-07-12 16:03:08 +02:00
iglocska 35ecd0a402
new: [proposal sync rework] WIP 2019-07-12 08:56:06 +02:00
iglocska 19b078d72d
fix: [proposal] sync fix stage 1
- added new capture function
- reworked the proposal index
2019-07-11 22:57:58 +02:00
mokaddem 6af9719a47 new: [shadowAttribute] first_seen and last_seen on shadowAttributes 2019-06-24 10:28:55 +02:00
Nikos Filippakis 9d59b10368 Publish events to Kafka
Signed-off-by: Nikos Filippakis <nikolaos.filippakis@cern.ch>
2019-03-18 15:53:22 +01:00
iglocska 4e5fcbcbc2 fix: [UI] Contributor list fixed 2019-02-28 08:30:17 +01:00
Christophe Vandeplas 67efc70bf5 fix: [style] consistent space indentation 2019-02-10 13:08:55 +01:00
Hannah Ward c883a7b6d6
new: Add upload/download for attachments 2018-08-15 14:07:44 +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 025b2a4e5d fix: valueNotEmpty() switched to stringNotEmpty for the attribute value validation
- Core 1+2 of the new laptop
2018-04-09 13:58:24 +02:00
iglocska 2e24f86bca fix: Further fixes to the new zmq system 2017-10-27 12:16:57 +02:00
Kevin Allix 2248846706 attachments_dir: Default value queried through a function to workaround PHP inability to have anything useful stored in a class property 2017-07-10 12:42:23 +02:00
Kevin Allix 1ea33e811a Add an optional setting attachments_dir, and adapt existing code to use that setting 2017-07-07 17:29:13 +02:00
iglocska 1e61074115 fix: Relaxed UUID4 requirement for UUID validation
- we shouldn't enforce anything beyond the basic format
2017-06-12 22:39:02 +02:00
Ángel González 620bb6dad0 Change feedback about email notification on sending proposals
Move from a “Failed for at least one recipient” warning notification
to warn when it was not sent to anyone, which is more interesting for
the user sending the proposal.

Fixes #2158
2017-05-05 01:26:12 +02:00
iglocska 59c1db5312 fix: Fixed an issue where a proposal not having an assigned organisation broke the synchronisation on a pull 2017-04-13 21:51:20 +02:00
iglocska c603607cd0 fix: Added default value to proposal_to_delete 2017-03-06 09:57:32 +01:00
iglocska 4801b47a8a fix: On newer MySQL versions proposing a deletion to an attribute failed, fixes #1741 2016-12-09 09:26:58 +01:00
Iglocska 12c3acede2 fix: Don't correlate shadow attributes to attributes in the same event 2016-10-21 13:55:10 +02:00
Andreas Ziegler 25e52a6786 chg: remove some references to variables 2016-09-15 17:08:58 +02:00
iglocska 822b0bf8fa chg: Cleanup of the controllers and models
- removed incorrect, useless boiler plate comments
- kept useful comments intact
- added some missing line breaks to make the codebase a bit more uniform
- removed some obviously obsolete TODO comments
2016-08-25 11:38:37 +02:00
Andreas Ziegler fb655c2ff9 chg: use 1/0 not true/false for conditions & other boolean sqlquery elements 2016-08-17 18:52:22 +02:00
iglocska 7b6604de5b chg: Added the tracking to all queued jobs 2016-08-15 16:30:37 +02:00
Iglocska f2e99cfbb9 fix: Allow correlations between a proposal and attributes in the same event 2016-07-19 15:38:47 +02:00
Andreas Ziegler dd30621155 chg: use CASE WHEN instead of IF in $virtualFields 2016-07-11 21:26:25 +02:00
Andreas Ziegler ff7a7de938 chg: use 1/0 not true/false for conditions & other boolean sqlquery elements 2016-07-11 21:26:16 +02:00
Iglocska 9522c96d54 Revert "Revert "chg: remove obsolete uuid() wrapper""
This reverts commit bae6eadfe7.
2016-07-11 00:59:47 +02:00
Iglocska bae6eadfe7 Revert "chg: remove obsolete uuid() wrapper"
This reverts commit 77ca0f8dd4.
2016-07-08 14:50:00 +02:00
Andreas Ziegler 81ab0774f5 fix: use different variable name in sub-loop 2016-07-07 15:38:27 +02:00
Andreas Ziegler 77ca0f8dd4 chg: remove obsolete uuid() wrapper 2016-07-07 15:13:16 +02:00
Andreas Ziegler da4d005cc6 chg: remove obsolete upload function from ShadowAttribute 2016-06-22 01:16:43 +02:00
Andreas Ziegler 89e8307c1a chg: remove some obsolete FIXME notes
the lines have been checked, only secure values are used as part of filenames and paths
2016-06-20 22:30:57 +02:00