Commit Graph

138 Commits (3e706867e93973fae3e84e74080268ced30ddc58)

Author SHA1 Message Date
Jakub Onderka a3c43d2c17 fix: [UI] Fix authkey field type 2021-12-28 19:34:33 +01:00
Christophe Vandeplas 1f79573fd7 chg: [feeds] Support for sharing groups with feeds, fixes #5758 2021-11-30 12:55:08 +01:00
Luciano Righetti 4df55d99c8 fix: sharing groups dropdown not showing when adding a feed with distribution set to sharing group. 2021-10-08 10:33:23 +02:00
Luciano Righetti cf73e33894 fix: fix pr comments: add warning notice for local feeds disabled on feeds/add, fix various ui elements. 2021-07-13 12:25:57 +02:00
Luciano Righetti fbf3a45b16 fix: fix issue when adding attribute, add optionalField class to inputs. 2021-07-08 15:20:30 +02:00
Luciano Righetti 7c807dfec8 fix: fix pr comments: replace whitelist->allowlist, checkbox label inline, add missing feed fields for csv and freetext. add missing button for adding basic auth headers. 2021-07-08 11:55:42 +02:00
Luciano Righetti 1bc44f5b0d fix: add type dropdown in all generic forms. 2021-06-24 16:01:56 +02:00
Luciano Righetti c947b5556c fix: fix pull rules legend not showing on feeds/edit load. 2021-06-24 12:07:09 +02:00
Luciano Righetti c1bb5cbc1d fix: handle feed rules 2021-06-22 17:46:33 +02:00
Luciano Righetti 1c39af3385 fix: fix genericForm builder issues. 2021-06-21 17:38:13 +02:00
Luciano Righetti 2f5c521eda chg: initial port genericForm changes from cerebrate 2021-06-18 18:02:40 +02:00
Luciano Righetti 94d4ba8274 chg: migrate FeedsController to use CRUD component. 2021-06-17 17:14:22 +02:00
mokaddem 960d46ec8a
chg: [servers:edit] Added indicative text for serverRuleElements 2021-04-28 14:58:31 +02:00
mokaddem 428d3875e0
chg: [elements:serverRuleElements] Reset widgets state on modal close 2021-04-28 14:42:04 +02:00
mokaddem 6590c17578
Merge remote-tracking branch 'origin/2.4' into develop 2021-04-23 12:22:31 +02:00
mokaddem bc2c58abe9
security: [feeds] Hide headers for non-site admin users 2021-04-23 12:07:01 +02:00
mokaddem 4c84a00aaa
chg: [element:serverRuleElements] Rules are parsed and build on rules_widget container
They can later be recovered by external commands without having to rely
on fixed HTML ID properties
2021-04-22 16:25:58 +02:00
mokaddem 3529ddcacd
fix: [feeds:edit] Display additional filtering rules 2021-04-22 16:22:10 +02:00
mokaddem 876608d72d
chg: [elements:serverRuleElements] Added support of existing rules for feeds 2021-04-22 12:49:53 +02:00
mokaddem 27cc0f619c
fix: [elements:serverRuleElementsPull] Correctly setup codemirror 2021-04-20 16:05:19 +02:00
mokaddem 1946960c88
new: [servers:edit] Fetches available orgs and tags from remote server
- Componentized views and made them responsive
- Usage of picker for orgs and tags
- For server pull rule, fetches available choices from remote server
2021-04-20 10:46:43 +02:00
mokaddem 41099defb2
fix: [tags] More granularity for local and global add tag buttons 2021-03-24 10:22:44 +01:00
Jakub Onderka bea5432123
Merge pull request #7207 from JakubOnderka/freetext-feed-view
chg: [UI] Show number of items in freetext feed
2021-03-16 20:43:38 +01:00
Jakub Onderka 284dc80f72 chg: [UI] Show number of items in freetext feed 2021-03-15 18:12:58 +01:00
Jakub Onderka 42f78580df chg: [UI] Make feed event preview nicer 2021-03-10 14:09:06 +01:00
iglocska 1c886c7d28
fix: [UI] notice resolved on the feed index 2021-02-08 16:49:27 +01:00
Jakub Onderka 970a99fb87 fix: [UI] Allow to sort feeds by name 2021-01-27 19:16:20 +01:00
Jakub Onderka e3cbd08255 fix: [UI] Remove nonsense paginator options 2021-01-10 16:51:09 +01:00
Jakub Onderka f4ff425c90 fix: [UI] Show feed cache buttons just to site admins 2020-12-11 17:19:22 +01:00
Jakub Onderka c80818eefb fix: [internal] Warning when viewing feed info 2020-10-29 17:46:41 +01:00
Jakub Onderka 700536086a fix: [UI] Remove duplicate request for quick filter 2020-10-06 14:15:17 +02:00
Vito Piserchia b8c7485712 resolve merge 2020-08-16 13:31:31 +02:00
Jakub Onderka 1d5b1aabf1
fix: [UI] Show feed caching just for site admins
Without this patch, when user is not site admin, for all feeds is showed 'Not cached', that is not true. And it also generates a lot of warnings to debug log.
2020-06-01 18:37:19 +02:00
Jakub Onderka 7378d1ab19 fix: [UI] Always use UUID with capital letter 2020-05-05 12:43:10 +02:00
iglocska 2d63f68fc1
new: [feeds] index refactor and new features
- added the ability to select an orgc ID for CSV/freetext feeds
  - all events created from this feed will carry the selected orgc_id

- Refactored the index fully
  - using the factories
  - better warnings against the dangerous new feed each pull setting
  - event index search added
  - several settings cleaned up / made more clear

- auto reload of default feed configuration disabled, fixes #2542, fixes #5789
  - added a button / endpoint to handle that instead to allow for the deleted default feeds to stay deleted
2020-04-17 14:17:54 +02:00
iglocska 30ff4b6451
chg: [security] Added setting to restrict the encoding of local feeds
- By adding local feeds, a malicious administrator could point MISP to ingest configuration files that the apache user has access to
- This includes some more sensitive files (database.php / config.php / .gnupg data)
- Whilst this is currently not leading to an exploitable vulnerability as the current implementation wouldn't trigger on the values,
  having a setting to disable this will become much more interesting once we have a system in place for custom feed parsers
- The setting can only be enabled/disabled via the CLI

- As reported by Matthias Weckbecker
2020-03-30 14:02:14 +02:00
Jakub Onderka ed498aa804 fix: [UI] Input is not pair element 2019-10-13 19:49:59 +02:00
iglocska 15893c0a91
fix: [ui] pass static_tags_only to the feed view 2019-09-19 15:36:18 +02:00
Bechkalo Evgeny 9cf2ef3a46 fix: more issues with PostgreSQL
- fixed error during update Job date_modified field (SQLSTATE[22008]:
Datetime field overflow: 7 ERROR:  date/time field value out of range)
- fixed error during fetching events while updating from feeds (
SQLSTATE[42P01]: Undefined table: 7 ERROR: missing FROM-clause entry for
table events)
- fixed Feed edit view with wrong boolean forms (combobox instead
checkbox)
2019-08-29 18:36:47 +03:00
Jakub Onderka 4fa315558b
fix: [feed] Preview feed event don't have id 2019-08-25 20:39:21 +02:00
mokaddem c44ba8c486 chg: [relatedEvent:view] Started integration into event:view - WiP 2019-06-06 08:49:07 +02:00
mokaddem 7daccae11d chg: [previewEvent] Improved UI of related events - WiP 2019-05-03 14:02:48 +02:00
mokaddem d1a83a833f chg: [event:view] Collapse related event in preview[Feed/Event]. Fix #4561 2019-05-03 10:43:02 +02:00
Olivier BERT a0a8b34e8c New bunch of accessibility fixes.
This affects EventBlacklists, Feeds, GalaxyClusters, News (index), OrgBlacklists (index), Organisations (index), SharingGroups (index), Taxonomies (view), Event Discussions, Event attribute table, Event proposal table.
2019-04-17 14:24:56 +02:00
iglocska 9d160e34ee fix: [UI] Minor font-awesome switch related issues fixed 2019-04-17 13:29:36 +02:00
Olivier BERT aef027c4b9 Accessibility: added roles and aria labels for many icons and icon links (server list, tags, users, roles, attributes, ...)
There is still much work to be done. But we are on the road.

Ideally, and in order to avoid code dupplicates, we should have some utility functions to generate a proper and accessible yes/no icon, an accessible icon link, etc. This would prevent the code from being filled with "aria-label" tags, since the "title" and "aria-label" properties are nearly always the same.
2019-04-02 15:31:34 +02:00
iglocska 652e609929 fix: [feed] Added missing feed search view 2019-04-01 16:36:57 +02:00
iglocska a36deb94c9 fix: [UI] Colours for feed index buttons fixed 2019-04-01 16:20:11 +02:00
iglocska a90eaec445 Merge branch '2.4' of github.com:MISP/MISP into 2.4 2019-03-26 07:59:35 +01:00
iglocska a067fc769e new: [UI] Move to FA 5 2019-03-23 11:18:22 +01:00