Commit Graph

469 Commits (28b8fafc7444434fab16fe80a49938a8135a8b5e)

Author SHA1 Message Date
www-data f9183dee3b Merge branch '2.4' into py-virtualenv 2018-10-15 17:09:18 +09:00
iglocska 6f86836bdb fix: [workers] manage workers by default defaulted to false (should be true) 2018-10-11 18:01:09 +02:00
Anthony Vaccaro 61e9851397 Add "manage workers" option.
This is enabled by default, which replicates the current behaviour of having controls to start, stop and restart workers in the server settings page.
When set to disabled, these controls are hidden, which allows server administrators to manage the worker processes externally, e.g. via systemd.

A sample systemd unit file has also been included into the INSTALL directory.
2018-10-08 12:28:22 +10:00
Steve Clement 05e0c412ef chg: [fix] Some fixed to the python virtualenv tweaks 2018-09-28 14:58:55 +02:00
www-data 80fcca5f4c chg: [python] Added initial python virtualenv support, STIX Tests only. 2018-09-25 21:29:34 +02:00
iglocska d8efe959e9 fix: [sync] Invalid model call in the server pull using the update technique 2018-09-12 15:48:43 +02:00
chrisr3d c29b5ac885
fix: [diagnostic] Updated cybox reauired default version
- Since the very latest version is now installed
  on every new machine generated, we can consider
  it as default version
2018-09-11 16:47:52 +02:00
iglocska 0123f23739 fix: [sync] Fixed some issues throwing notices when pulling 2018-09-09 15:55:42 +02:00
0xiso 7166b227eb fix: [sync] Fix pull not working caused by the refactor 2018-09-07 05:10:38 +09:00
0xiso 413728919f fix: [sync] Fix pull not working 2018-09-06 23:01:51 +09:00
iglocska fbb9e21fe5 fix: [description] Typo in serverSetting fixed, fixes #3612 2018-09-05 16:09:59 +02:00
iglocska 2a10276d07 Merge branch '2.4' into feature/api_rework 2018-08-22 17:39:56 +02:00
iglocska 113fa25471 new: [API] exposed the server related functionalities to the API
- server index
- server push
- server pull

- improved logging / error reporting of the sync functionalities
2018-08-22 17:00:13 +02:00
Steve Clement 1bac3749c5 fix: [i18n] Variables are in no need to be translated, it will break stuff, horribly.
upd: [i18n] Update default.pot again
2018-08-21 14:48:23 +03:00
iglocska b407aba746 fix: [CS] Updated recent changes 2018-08-20 10:50:09 +02:00
iglocska 830b5d974e Merge branch '2.4' into feature/api_rework 2018-08-19 23:53:24 +02:00
Andras Iklody 3725edf0d5
new: [performance] disable the checking of expired sessions for automatic logouts 2018-08-18 09:09:28 +02:00
iglocska f675fb8b29 Merge branch '2.4' into feature/api_rework 2018-08-17 14:49:09 +02:00
Hannah Ward c883a7b6d6
new: Add upload/download for attachments 2018-08-15 14:07:44 +01:00
iglocska 4d26f404eb Merge branch '2.4' of github.com:MISP/MISP into feature/refactortime 2018-08-05 19:12:19 +02:00
iglocska cb900d7a1f fix: [bug] Fixed several server settings related issues caused by the refactor 2018-08-05 18:10:29 +02:00
iglocska 2bbc1f3b32 chg: [internal] Cleanup of the pull function
- split into functions based on the concerns it handles
- separated event download and proposal download into separate functions
2018-08-03 20:04:09 +02:00
iglocska 45542b1c74 chg: [internal] Refactor of the pull function
- the various event ID list collection methods are now decided in an external function
2018-08-03 19:28:07 +02:00
iglocska 8b3f59f72b chg: [cleanup] Removed the 2.3 -> 2.4 upgrade
- in case you are reading this and wondering why it's gone:
  - 2.4 came out in 2014
  - If you are still running that version, just upgrade to any prior 2.4 and then upgrade from that version on
  - Also hope that no one will ever find this message relevant, 3+ year old software is just bad.
2018-08-03 18:48:48 +02:00
iglocska 18d730d79a chg: [cleanup] Cleanup of the server settings reader
- split into more readable functions
2018-08-03 18:46:27 +02:00
iglocska c962e4f863 fix: [internal] tightened authkey validation 2018-08-03 18:40:46 +02:00
iglocska fe3fc13fbd new: [internal] Simplication of the push functionality 2018-08-03 13:22:17 +02:00
iglocska 7681cc4759 fix: [internal] streamlining the worker removal logging 2018-08-03 12:14:40 +02:00
iglocska c4c7e11120 fix: [cleanup] Removed duplicate code 2018-08-03 11:58:25 +02:00
iglocska 740d1e0892 chg: [cleanup] removed duplicate branching code to set module setting defaults 2018-08-03 11:52:59 +02:00
iglocska cce066ecd7 fix: [cleanup] cleaned up the setup of httpsockets in the Server.php file 2018-08-03 11:23:07 +02:00
iglocska 6a8e40cba9 fix: [bug] Fixed cryptic ##COMMA## in error message 2018-07-31 23:41:36 +02:00
iglocska db9b5179d3 chg: [documenation] Added CLI documentation for the getAuthkey tool 2018-07-31 23:34:56 +02: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
Steve Clement e0b9dcafcb chg: [i18n] wrap stuff into __construct( 2018-07-13 12:26:51 +02:00
Steve Clement fa8a782e2a chg: [i18n] Added more __()'s 2018-07-12 21:32:50 +02:00
iglocska ce77ec7f65 Merge branch '2.4' of github.com:MISP/MISP into 2.4 2018-07-12 14:07:53 +02:00
iglocska 64f65427be fix: [update] checkout the last checked in version of composer.json before attempting a pull 2018-07-12 14:06:51 +02:00
Andras Iklody f0964c11f6
Merge pull request #3479 from FloatingGhost/feature-send-logs-to-elasticsearch
Feature: send logs to elasticsearch
2018-07-12 12:09:53 +02:00
Steve Clement c3a5b95eb0 chg: [deps] There is no major difference between 2.1.0.17 and the dev version. 2018-07-12 09:24:19 +02:00
iglocska b43773fb2b fix: [settings] Make travis happy 2018-07-11 14:33:41 +02:00
iglocska 8f2377239d fix: [settings] Attempted fix to appease Travis 2018-07-11 10:47:44 +02:00
iglocska 089ce29d2f fix: [settings] Default setting for the attachments directory fixed 2018-07-11 10:21:24 +02:00
Hannah Ward a70f8e45d8
new: Add ability to log to elasticsearch 2018-07-10 17:01:57 +01:00
Hannah Ward bb31ee1f03
new: Add elasticsearch settings 2018-07-10 14:53:21 +01:00
iglocska 8259e1c22c new: [sync] Improvements to the pull mechanism
- moved the blacklist event skipping to the negotiation phase
- no longer need to pull and then discard events that have been blacklisted
- solves issues with slow syncs when a lot of deletions were involved

- also, moved the sync negotiation + event retrieval to UUID based lookups instead of ID
2018-07-06 08:31:00 +02:00
iglocska 4a08403e15 fix: [cleanup] Reverted lax baseurl validation 2018-07-06 08:14:47 +02:00
iglocska b00a54c7cc fix: [sync] pull giving some weird messages when an event is blocked by blacklists
- don't warn about failed pulls when the reason is a local blocking of the event.

- future improvements: remove the blocked events during the negotiation phase
2018-07-06 08:12:44 +02:00
Alexandre Dulaunoy e8d8d80aba
chg: [PyMISP] released as 2.4.93 2018-07-01 18:26:06 +02:00
iglocska 8559af8c6a fix: [Session handling] Make sure that the autoregenerate setting changes are actually saved 2018-06-30 19:42:57 +02:00