Commit Graph

749 Commits (1b064133755b814152f9c3b988ff0b93f68af326)

Author SHA1 Message Date
Iglocska 1b06413375 fix: Fixed an issue where an event view by a malformed UUID would result in a lookup against the leading numerical value in the malformed UUID, fixes #1338 2016-07-07 08:48:42 +02:00
CheYenBzh c10c24aa6b Update EventsController.php 2016-07-06 12:04:10 +02:00
Iglocska 7f8f430913 Merge branch 'cleanup3' into 2.4 2016-07-04 19:43:12 +02:00
Iglocska b80cc56ec9 Merge branch '2.4' into write 2016-07-04 19:33:45 +02:00
Iglocska ab3b85b1cc fix: Filtering on attributes in the event view gives a no attributes warning if a tab doesn't contain attributes
- Warning now only triggers if the event doesn't have any attributes in any tabs
2016-06-30 11:44:26 +02:00
Iglocska ce0615efcb Merge branch '2.4' of https://github.com/MISP/MISP into 2.4 2016-06-28 19:11:36 +02:00
Iglocska c7a8ab3c2c fix: Fixed two issues for API add event corner cases, fixes #1298
- Correctly handle old style creator org fields ("orgc":orgc_string)
- Correctly handle new tags with no colour set
2016-06-28 19:09:55 +02:00
Andreas Ziegler 4e8248176b chg: remove obsolete code 2016-06-27 18:01:37 +02:00
Andreas Ziegler 1930ecccb9 fix: throw exception for malformed xml file 2016-06-27 17:41:35 +02:00
Andreas Ziegler a54396f3b3 fix: set default value for realFileName 2016-06-27 17:40:42 +02:00
Andreas Ziegler d2d16dece7 fix: throw exception if necessary config cant be read 2016-06-27 17:40:15 +02:00
Iglocska 0a9ab917d0 fix: Allow the export of an empty event in MISP JSON/XML format, fixes #1295 2016-06-25 21:56:59 +02:00
Iglocska f7f48498a4 fix: ambiguous order field fixed, fixes REST sort of index. Fixes #1266
- Fixes an issue where viewing the index of an instance remotely returns no events if sorted on a field.
- This was caused by some ambiguous field names (such as ID)
- Fixed by prepending the sorted field name by "Event."
2016-06-22 01:56:51 +09:00
Iglocska b9e4f4cdc6 fix: Fixed a notice error with the attribute pagination 2016-06-19 18:40:45 +02:00
Iglocska 5ee3892bb4 fix: Multiple values for the restsearch quickfilter added 2016-06-09 02:52:49 +02:00
Andreas Ziegler aec73ed50a chg: improve file access using new Lib 2016-06-07 00:21:14 +02:00
Andras Iklody eed0d631a6 Merge pull request #1224 from rotanid/true-false
chg: use consistent lowercase true/false
2016-06-06 15:25:57 +02:00
Iglocska e24da853bb fix: Reverted two removals of dynamically accessed vars that shouldn't be removed 2016-06-06 14:54:20 +02:00
Andreas Ziegler 5fc289d88e chg: use consistent lowercase true/false 2016-06-06 14:46:39 +02:00
Andreas Ziegler 0117555a99 chg: remove handling of unsupported OS Windows 2016-06-06 09:14:34 +02:00
Andras Iklody 939ecfdafd Merge pull request #1214 from rotanid/fileaccesshandling
EventsController: optimise file handling
2016-06-04 18:47:01 +02:00
Andreas Ziegler b40ca422ab EventsController: optimise file handling 2016-06-04 18:17:39 +02:00
Andreas Ziegler 958aa7c414 use consistent spacing around else if 2016-06-04 15:49:54 +02:00
Andreas Ziegler 7cadf8340c remove space after unset before opening brace 2016-06-04 15:45:57 +02:00
Andreas Ziegler 985451642e add space after keywords if/for/foreach/while/switch/catch 2016-06-04 15:45:39 +02:00
Andreas Ziegler 8f9e152d8c add space before opening curly brackets 2016-06-04 15:45:11 +02:00
Andreas Ziegler 0fe692c56a remove whitespace at end of line 2016-06-04 01:10:45 +02:00
Andreas Ziegler 898ea1d97c remove whitespace (space/tab) from empty lines 2016-06-04 01:08:16 +02:00
Andras Iklody ac4afa35c2 Merge pull request #1193 from rotanid/defaults
add some defaults
2016-06-03 02:10:00 +02:00
Andreas Ziegler 8c21fa27d0 add some variable defaults 2016-06-03 01:44:07 +02:00
Andreas Ziegler 0fcf9a02f7 remove/update obsolete code 2016-06-03 01:42:27 +02:00
Andreas Ziegler bdf21b782b remove unused functions 2016-06-03 01:42:27 +02:00
Andras Iklody 5a137fcc95 Merge pull request #1165 from rotanid/misc2
misc cleanup round 2
2016-06-03 01:38:36 +02:00
Iglocska b72987f154 fix: Two small fixes
- search by uuid on the event index via the quickfilters
- view button on the disussion index added to make the UI a bit more consistent
- This unimaginative patch would not have existed without an uncomfortable British Aerospace ATP
2016-06-01 23:32:33 +02:00
Andreas Ziegler a5080ab70c explain regex and make it a bit simpler 2016-05-31 18:01:59 +02:00
Andreas Ziegler 898f795271 fix upper/lowercase issues 2016-05-31 18:01:59 +02:00
Andreas Ziegler a9d7175d8d remove commented out codelines 2016-05-31 18:01:54 +02:00
Andreas Ziegler b746763dfe reformatting, indention, comment fixes 2016-05-31 17:34:46 +02:00
Iglocska 1589ccebf5 fix: Added the date field to the related attribute popover, fixes #1190 2016-05-31 14:36:41 +02:00
Iglocska f07972af43 fix: Reverted a change that broke PyMISP's copy_list.py To be revisited for a better solution 2016-05-25 01:49:16 +02:00
Iglocska 4b7ac8fec2 fix: Removed a superfluous line that broke lists of values from being passed to the restsearch API 2016-05-23 09:39:09 +02:00
Andreas Ziegler e21fa21de8 small change to file checks, use readable() instead of exists() 2016-05-20 16:57:34 +02:00
Andreas Ziegler 7ae4c37f0b progressive removal of commented out if-statements 2016-05-20 00:48:54 +02:00
I-am-Sherlocked 1b868b6e2f Resolve only_full_group_by error in filterEventIndex
Event.id required in group by, to resolve 

>Error: [PDOException] SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'Event.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

in Request URL: /events/filterEventIndex
2016-05-18 19:23:09 -07:00
iglocska 73375042e6 Merge branch '2.4' of https://github.com/MISP/MISP into 2.4 2016-05-13 20:47:10 +02:00
iglocska 9434a2364f fix: Fixes to issues with MYSQL >= 5.7 2016-05-13 20:44:16 +02:00
Iglocska fe2a32507f fix: Fixed an issue with the download as MISP XML/JSON failing for regular users due to a permission issue 2016-05-12 18:37:34 +02:00
Iglocska bff7e7f0a3 Merge branch '2.4' of https://github.com/MISP/MISP into 2.4 2016-05-11 14:16:38 +02:00
Iglocska 4020628df4 chg: Further work on the soft deletes 2016-05-10 10:31:56 +02:00
Iglocska d8881f3b71 fix: Attribute search - download as CSV returns empty result set, fixes #1122 2016-05-09 16:21:18 +02:00