mokaddem
1aaa590e30
chg: [event:view] Added notice and improved inconsistency text message
2019-11-04 13:41:53 +01:00
mokaddem
213e8b5049
new: [tags] Preminilary support of exclusive tags based on taxonomy data
2019-11-04 11:54:22 +01:00
mokaddem
d63f81076b
Merge branch '2.4' of github.com:MISP/MISP into revisedUpdateProcess
2019-10-30 13:58:43 +01:00
mokaddem
0087a49fcc
chg: Usage of camelCase instead of snake_case
2019-10-29 09:57:25 +01:00
Jakub Onderka
6ed7126843
fix: [internal] Remove dead code from AttributesController
2019-10-20 20:32:00 +02:00
mokaddem
b87ee19146
chg: [update] Actually reset `UpdateFailNumber` when manually unlocking
2019-10-15 11:44:34 +02:00
chrisr3d
7a51733e40
fix: [stix export] Making stix json download return json instead of xml
2019-10-15 10:07:32 +02:00
mokaddem
582112014a
chg: [ACL] Added missing route to ACLComponent
2019-10-15 09:45:07 +02:00
mokaddem
959ef2a1e7
chg: [updateProgress] Do no show negative remaining update anymore in
...
the UI
2019-10-14 10:59:26 +02:00
mokaddem
5d4142f62a
chg: [update] Parametrized ignore_disabled in ondemand_action and
...
support of string update in update_progress
2019-10-14 10:49:41 +02:00
Jakub Onderka
9314e9c968
fix: [internal] Load MISP version just once in AppController
2019-10-13 11:29:43 +02:00
Raphaël Vinot
e05c3b9092
chg: Bump recommended PYMISP version
2019-10-10 23:59:11 +02:00
Andras Iklody
13573efbd7
Merge pull request #5290 from JakubOnderka/patch-59
...
chg: [internal] Remove unused code from AttributesController::index
2019-10-10 23:48:34 +02:00
iglocska
b44063e7d1
fix: [internal] missing org object for users/view
2019-10-10 15:13:34 +02:00
mokaddem
0e2205c061
chg: [update] Added endpoint to release lock and integration with UI
2019-10-10 12:02:23 +02:00
iglocska
e5ed126cc5
Merge branch '2.4' of github.com:MISP/MISP into 2.4
2019-10-10 11:59:28 +02:00
iglocska
15b10bbcf7
new: [user settings] Added restrictions for certain settings
...
- based on role permissions
- enforce the checks on set/delete
- add it to the UI elements
- /users/view /admin/users/view now include the user settings in a simplified format
2019-10-10 11:58:26 +02:00
iglocska
be509b3833
fix: [API] rate limit should only run on the API
2019-10-10 11:55:33 +02:00
mokaddem
80b1061639
Merge branch '2.4' of github.com:MISP/MISP into revisedUpdateProcess
2019-10-10 09:54:51 +02:00
mokaddem
8476f667c2
chg: Bumped queryversion
2019-10-10 09:44:19 +02:00
Jakub Onderka
0ab8c5b48e
chg: [internal] Remove unused code from AttributesController::index
2019-10-10 07:36:38 +02:00
Pierre-Jean Grenier
1c1bb2bc75
fix: check if variables are defined
2019-10-09 09:35:09 +02:00
mokaddem
d86264b2ba
fix: [live:notice UI] Fixed baseurl variable
2019-10-08 14:25:30 +02:00
mokaddem
901a57c2bd
fix: [live:notice UI] Fixed baseurl variable
2019-10-08 14:20:01 +02:00
mokaddem
8760c98c7e
Merge branch '2.4' of github.com:MISP/MISP into revisedUpdateProcess
2019-10-08 12:02:09 +02:00
iglocska
fe84f2f796
fix: [missing] component added
2019-10-08 11:47:08 +02:00
iglocska
a8c57a8316
new: [API] Added rate limiting option to the API
...
- / role setting
- can be enabled/disabled and if enabled a limit can be set
- limit counter / 15 minutes starting from the first query
- x-headers inform the user about their limit/remaining queries/reset in seconds
2019-10-08 11:43:56 +02:00
mokaddem
8c4799fb99
chg: [user:me] Added `Role` object in the return value for the rest context
2019-10-07 16:35:22 +02:00
mokaddem
ce67cc242a
chg: [updateProgress] Added number of remaining db updates
2019-10-07 15:45:55 +02:00
Pierre-Jean Grenier
79453652d6
fix: [AttributesController] Fix issues related to undefined variables
2019-10-04 15:34:18 +02:00
chrisr3d
11708702f7
Merge branch '2.4' of https://github.com/MISP/MISP into 2.4
2019-10-04 14:44:31 +02:00
chrisr3d
461763e5e7
fix: [hover enrichment] Fixed variable name that caused issues with hover enrichment for more than 1 module called on 1 single attribute
2019-10-04 14:42:46 +02:00
garanews
85c28ce36e
Fix some typo
...
Fix some typo
2019-10-04 13:02:59 +02:00
Pierre-Jean Grenier
eada0440a7
fix: [sightings] Fix undefined variable with REST search
2019-10-04 10:16:02 +02:00
mokaddem
c936d4ab51
chg: [updateProgress] Started taking into account stack of updates - WiP
2019-10-03 13:50:55 +02:00
Andras Iklody
6bcd8b200c
Merge branch '2.4' into fix/import_empty_feed
2019-10-02 22:55:14 +02:00
Pierre-Jean Grenier
8415cea5db
fix: [feed] fix REST problems
2019-10-02 16:53:44 +02:00
Pierre-Jean Grenier
f4ad4578dd
fix: undefined variable when no feed was enable
2019-10-02 15:29:06 +02:00
mokaddem
f4d06e7fc1
chg: [diagnostic] Exposed mysql and redis diagnostic on the API
2019-10-01 16:55:01 +02:00
mokaddem
a95aa1f5a2
Merge branch '2.4' of github.com:MISP/MISP into revisedUpdateProcess
2019-10-01 15:51:18 +02:00
mokaddem
39644802ff
fix: [update] Apply restriction of only 1 running process for only the `update` workers
2019-10-01 13:38:27 +02:00
mokaddem
6fd52393b7
chg: [update] Added new worker type `update` to perform updates
2019-10-01 13:36:37 +02:00
Antoine Cailliau
297be2ab31
Fixes #5244 .
...
AttributeController->addTag was searching for attribute id
without flattening.
2019-10-01 09:43:29 +00:00
Antoine Cailliau
35ea369fe7
Fixes #5242
2019-09-30 21:24:46 +02:00
mokaddem
900317d5fe
Merge remote-tracking branch 'origin/2.4' into revisedUpdateProcess
2019-09-30 10:40:01 +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
8f5f3ed08a
fix: [debug] Removed internal breakpoint that was left in
2019-09-29 21:17:08 +02:00
iglocska
480e3b2969
Merge branch 'dev_session' into 2.4
2019-09-29 20:23:00 +02:00
iglocska
c7488f93c1
fix: [user setting] Left off missing changes to the controller
2019-09-29 20:21:35 +02:00
chrisr3d
3b11f6f2a2
Merge branch '2.4' of https://github.com/MISP/MISP into 2.4
2019-09-28 02:36:54 +02:00
chrisr3d
1784b5d76f
fix: [stix 1/2 import] Making the publish checkbox work as expected
...
- Publishing as exxpected when the option is
checked AND the user has the right to publish
2019-09-28 02:35:22 +02:00
Andras Iklody
7a71d76d82
Merge pull request #5198 from JakubOnderka/redis-info
...
new: [internal] Redis diagnostic
2019-09-27 22:19:05 +02:00
Andras Iklody
a7a5226373
Merge pull request #5202 from JakubOnderka/patch-30
...
fix: [UI] GnuPG diagnostic message
2019-09-27 22:18:33 +02:00
mokaddem
f58f756dd8
Merge branch '2.4' of github.com:MISP/MISP into revisedUpdateProcess
2019-09-26 16:26:06 +02:00
mokaddem
84290eaae6
chg: [dbSchemaDiagnostic] Added support of db_version
2019-09-26 15:20:32 +02:00
mokaddem
80b345c24e
chg: [dbSchemaDiagnostic] Improved parsing and UI - WiP
2019-09-26 14:34:05 +02:00
Andras Iklody
90e1b8807e
Merge pull request #5215 from ancailliau/add_localtag_api
...
Add support to add local tags to an event using the API.
2019-09-26 12:59:14 +02:00
mokaddem
c72f04dd90
Merge branch '2.4' into revisedUpdateProcess
2019-09-26 12:13:49 +02:00
iglocska
dc25176384
fix: [internal] paranoid log body didn't contain full body for API calls
2019-09-26 10:28:53 +02:00
iglocska
213cd99ebf
fix: [logging] paranoid log entry not logging request body via the API
2019-09-26 10:26:32 +02:00
iglocska
946602a696
new: [User settings] Added user settings system
...
- set settings / user
- settings can be set by user themselves or their org admin / site admin
- added first setting: publish_alert_filter
- accepts boolean branched filter options
- supports deep logical trees
- OR/NOT/AND
- currently supports filtering on tags and the creator organisation
2019-09-25 11:50:54 +02:00
Antoine Cailliau
453a54ca0d
Add support to add local tags to an event using the API.
2019-09-25 09:19:30 +00:00
Jakub Onderka
2b28d0c39e
fix: [UI] GnuPG diagnostic message
2019-09-23 09:38:15 +02:00
Jakub Onderka
84d100e982
new: [internal] Redis diagnostic
2019-09-21 07:43:35 +02:00
iglocska
13ce0e099a
fix: [UI] Loading of local tags fixed via the UI, fixes #5197
...
- over-zealous ACL removed local tags for non sync users
- UI only functionality, no need for the restriction at al
2019-09-20 15:59:20 +02:00
iglocska
4cca9e01f0
Merge branch '2.4' of github.com:MISP/MISP into 2.4
2019-09-20 11:54:46 +02:00
iglocska
c6a1941454
fix: [API] Added DELETE http method to the rest client and fixed the JSON response of the API info
2019-09-20 11:53:28 +02:00
iglocska
0b799a43db
fix: [API] remove weird line breaks from the API descriptions
2019-09-20 11:53:03 +02:00
chrisr3d
c4538e0a45
Merge branch '2.4' of https://github.com/MISP/MISP into 2.4
2019-09-20 09:46:13 +02:00
iglocska
9b2916a4c0
fix: [community access requests] fixed serveral issues, fixes #5194
...
- added missing view to preview the request
- don't throw errors when possible, instead show what should have been sent
2019-09-19 15:14:51 +02:00
Andras Iklody
f5e4c4f1bf
Merge pull request #5187 from challs/refactor-appController
...
Refactor app controller
2019-09-19 11:37:56 +02:00
Andreas Rammhold
624476a1f9
chg: [AppController] move debugMode setup code to a function so it can be reused
...
There were already two places in AppComponent that implemented the same
functionality. It makes sense to move this to a common function so it
can also be used from Controllers that do not inherit the full
beforeFilter functionality.
Since `__preAuthException` is private and only called from the
beforeFilter method after the variable has been setup we can remove
the explicit init from there.
2019-09-18 15:57:28 +02:00
Andreas Rammhold
96311ef480
chg: [AppController] move the database connection setup to a dedicated function on the AppComponent
...
This removes a bit of clutter from the already large beforeFilter
method and allows other views to resuse the logic without having to
duplicate it.
2019-09-18 15:57:28 +02:00
Andreas Rammhold
013b3ac619
chg: [AppController] move the `baseurl` configuration into a helper method
...
This makes the beforeFilter function a bit smaller while keeping all the
functionality. It will also help with reusing the setup logic in views
that can not execute all of AppComponent::beforeFilter, like the
LinOTPAuth plugin.
2019-09-18 15:57:28 +02:00
Andreas Rammhold
3cbc36af4e
chg: [AppController] move loading and initialisation of Auth plugins to reuseable method
...
For some authentication workflows it might be desireable to execute the
exact same code without having to call the entire beforeFilter method
from the base class. That way you do not have to work around all the
edge cases without having to reinvent the same code in multiple
locations.
2019-09-18 15:57:28 +02:00
Andreas Rammhold
9edffd01ba
chg: [AppController] move login redirects to dedicated functions
...
This makes it easier to modify the login redirect behaviour in a unified
way. For now this just uses the default Auth loginAction while setting
the `admin` attribute to `false`. Thus application behaviour should be
unchanged.
2019-09-18 15:57:28 +02:00
iglocska
71d8436cbc
fix: [UI] If a server add with a newly created external organisation fails, set the external organisation as the currently selected option after the validation fail redirect, fixes #5182
2019-09-18 14:37:42 +02:00
chrisr3d
b3ded21b39
fix: [import modules] Avoiding issues with empty module parameter
2019-09-17 16:02:41 +02:00
iglocska
71a0fd350b
fix: [UI] Annoying race condition fixed causing redirects to the login, fixes #5172
2019-09-17 12:40:22 +02:00
iglocska
518c83362c
chg: [version] bump
2019-09-16 13:55:16 +02:00
iglocska
b6ba80e26e
fix: [prio] changePriority function responses fixed
2019-09-13 15:50:06 +02:00
iglocska
5002e536ff
chg: [API] /events/view now accepts the deleted parameter via posted parameters too
2019-09-13 15:34:12 +02:00
iglocska
4d0d538ba0
fix: [API] hard delete passable via different methods to /attributes/delete than just ordered URL parameters
2019-09-13 15:18:39 +02:00
iglocska
0f4613ebd3
fix: [internal] Fix post check for attribute delete function via the API
2019-09-13 15:13:09 +02:00
iglocska
0a1165dead
fix: [ACL] priority change for servers tied into the ACL
2019-09-13 13:22:23 +02:00
iglocska
850159627a
Merge branch '2.4' of github.com:MISP/MISP into 2.4
2019-09-13 11:51:05 +02:00
iglocska
ffc9147018
new: [sync] Added sync priority system to prioritise the order of instances to push to
2019-09-13 11:49:12 +02:00
mokaddem
e2a0d55348
fix: [decaying] `.json` view in `decaying/view`
2019-09-13 08:17:44 +02:00
mokaddem
813d222bf4
chg: [decaying] Added log entry if formula cannot be loaded
2019-09-12 14:10:17 +02:00
mokaddem
cfafc2e51f
Merge branch '2.4' of github.com:MISP/MISP into decaying
2019-09-12 13:35:35 +02:00
mokaddem
377e748771
fix: [event] typo 2
2019-09-12 11:40:23 +02:00
mokaddem
f6f1310a50
chg: [decaying:model] Third batch of fix from the PR review - WiP (not tested)
2019-09-12 11:17:33 +02:00
mokaddem
1b59a8e192
chg: [decaying:model] Second batch of fix from the PR review - WiP (not tested)
2019-09-12 11:02:39 +02:00
mokaddem
a990727db2
chg: [decaying:model] First batch of fix from the PR review - WiP (not tested)
2019-09-12 10:42:53 +02:00
mokaddem
48c89ea333
chg: [event] applying few PSR2 rules
2019-09-12 10:18:52 +02:00
mokaddem
70f77f7c0e
chg: [decaying:simulation] restSearch comments added to be fixed in next
...
decaying version
2019-09-12 10:16:07 +02:00
mokaddem
5a291d87a5
chg: [decaying] First batch of fix from the PR review - WiP (not tested)
2019-09-12 09:38:15 +02:00
Andras Iklody
bf55db64e4
fix: [regression] removed readded invalid acl entry
2019-09-12 06:45:58 +02:00
iglocska
fdf1379f3f
fix: [ACL] removed two unused functions
2019-09-11 17:25:49 +02:00
iglocska
ed0450faf4
new: [API] verbose output for /servers/update
2019-09-11 16:52:14 +02:00