Commit Graph

19 Commits (8a1e7c0164b4a5b4a5426eaeadc936015386d1ec)

Author SHA1 Message Date
Jakub Onderka 809a1b07b0 fix: [UI] Put back jQuery UI 2022-04-30 18:02:49 +02:00
Jakub Onderka a007089486 chg: [internal] Do not use ajax layout 2022-04-28 14:51:21 +02:00
Jakub Onderka b100377a73 chg: [internal] Do not modify session when not necessary 2021-11-25 11:58:32 +01:00
mokaddem 626ca544ff
fix: [security] XSS in the template element index view
- As reported by Rubin Azad
2020-11-18 06:29:55 +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 010260fbce fix: Fixes to several issues with the template editor, fixes #2387, fixes #2388 2017-08-10 10:39:19 +02:00
iglocska 952fff6252 fix: Fixes to several cases of reflected XSS, fixes #2381
- as reported by @import-au

- Additionally enforce content-type on all async APIs called by the UI using CakeResponse
2017-08-08 21:37:03 +02:00
iglocska ea763bf377 fix: Fixed capitalisation of "throw" in templateElementsController 2017-08-06 12:32:26 +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 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
Iglocska f441d212f9 Removing template elements fixed, fixes #899 2016-02-03 09:59:35 +01:00
Iglocska 714ed198e5 Various fixes throughout the application
- org field still used in some places other than the legitimate use-cases
2015-11-28 23:49:52 +01:00
iglocska 709a6cae3d New category lookup added to templates 2015-11-20 04:22:10 +01:00
iglocska 3da49c964b Fixed broken AJAX queries in MISP as a result to changes in cakephp 2.4.8+
A change in cakephp version 2.4.8+ has resulted in ajax form submitions breaking. Reason for this was a change in the SecurityComponent taking the url specified in the form into account when generating the CSRF tokens.

This is now fixed by embedding the correct url in the ajax forms.
2014-08-06 10:02:52 +02:00
iglocska a4a987e027 More work on the templates
- Templates can now be created and populated
- Users can populate an event using a template (still needs work)
- File type elements are not yet implemented
2014-06-19 08:44:35 +02:00
iglocska 7b3f578025 Further work on the templating system 2014-06-12 13:59:54 +02:00
iglocska f4e5c22865 Work on the templating system
- create a basic template
- add text elements to the template
- rearrange elements
2014-06-10 15:18:49 +02:00