Commit Graph

9258 Commits

Author SHA1 Message Date
Frédéric Péters 0229857f15 sql: account for old buggy traces when migrating (#72886)
gitea-wip/wcs/pipeline/pr-main This commit looks good Details
2023-01-02 19:16:46 +01:00
Frédéric Péters d0558eaa9b translation update 2023-01-02 17:18:37 +01:00
Frédéric Péters 899fbadb09 general: use a dedicated table to record workflow actions/events (#72802) 2023-01-02 17:18:37 +01:00
Frédéric Péters 009ba46fa6 misc: raise 400 on missing edited data (#70508) 2023-01-02 17:14:47 +01:00
Frédéric Péters 96ff5b3f77 misc: redirect /myspace/ to idp account page (#72819) 2023-01-02 17:14:47 +01:00
Frédéric Péters ac8905c1a5 backoffice: do not crash on empty "import fields" form (#72871)
gitea-wip/wcs/pipeline/pr-main This commit looks good Details
2023-01-02 16:21:03 +01:00
Frédéric Péters 347476e493 data sources: always skip geojson features missing an id (#72860) 2023-01-02 16:09:04 +01:00
Frédéric Péters f1fadffa58 misc: cleanup publisher when starting a command (#72857) 2023-01-02 14:02:41 +01:00
Frédéric Péters 57b2b4ae3e misc: raise a 404 if i18n page is accessed with i18n being disabled (#71789) 2023-01-02 10:29:17 +01:00
Frédéric Péters 2d94f4f865 i18n: do not create translate digests when no template is defined (#72862) 2023-01-02 10:29:17 +01:00
Frédéric Péters 6e27369645 misc: use option label when getting address part from <select> (#72847) 2023-01-02 09:56:08 +01:00
Frédéric Péters 8b7061adff sql: run migration to get new index on evolution tables (#72859) 2023-01-02 09:56:08 +01:00
Frédéric Péters bf8f4bfba9 tests: add an explicit test for grepping into backoffice fields (#72682) 2023-01-01 14:49:47 +01:00
Frédéric Péters b1deb85bfc tests: fix token expiration test to work on Decembre 31st 2022-12-31 10:43:32 +01:00
Frédéric Péters 645ab45827 misc: always give a tz to anonymisation time (#72851) 2022-12-31 10:23:53 +01:00
Frédéric Péters f735ca3b19 workflows: add possibility to base global timeout on anonymisation time (#71020) 2022-12-31 10:23:53 +01:00
Frédéric Péters 51f3631598 tests: do not rely on order of files on filesystem 2022-12-30 13:11:20 +01:00
Frédéric Péters 59595e3ed5 translation update 2022-12-30 12:42:16 +01:00
Frédéric Péters de2daf6786 i18n: store item fields display value in original language (#71590) 2022-12-30 12:02:46 +01:00
Frédéric Péters 9e02a63fbb i18n: display item value in user language (#71590) 2022-12-30 12:02:46 +01:00
Frédéric Péters b2c574e672 i18n: update digests after catalog changes (#71590) 2022-12-30 12:02:46 +01:00
Frédéric Péters 87865cf8b9 cards: create/use translated digests (#71590) 2022-12-30 12:02:46 +01:00
Frédéric Péters 82ba22b005 misc: make digests update after job work with multiple formdefs (#71590) 2022-12-30 12:02:46 +01:00
Frédéric Péters 6e47ebc9b1 i18n: add |translate template filter (#71590) 2022-12-30 12:02:46 +01:00
Frédéric Péters 629ded0f62 backoffice: also allow importing fields from cards (#61416) 2022-12-30 12:02:26 +01:00
Frédéric Péters 2cbf1e4f23 backoffice: add dedicated fields directory for cards (#61416) 2022-12-30 12:02:25 +01:00
Frédéric Péters 64dfe3468f categories: avoid creating forbidden slugs (#38269) 2022-12-30 12:02:25 +01:00
Frédéric Péters f93f197dad misc: fix stubbed data source json value (#72809)
gitea-wip/wcs/pipeline/head Build started... Details
gitea/wcs/pipeline/head Something is wrong with the build of this commit Details
2022-12-28 11:09:36 +01:00
Frédéric Péters c41f4a1303 misc: use database to store form tokens (#71455) 2022-12-28 09:31:49 +01:00
Frédéric Péters ca8e3243b9 workflows: do not snapshot content if there are no changes (#72803) 2022-12-28 09:30:31 +01:00
Frédéric Péters e2d96fcf27 style: add margin to prefill/validation secondary widgets (#72759) 2022-12-27 17:49:02 +01:00
Frédéric Péters 9d2494d949 misc: mention that Python usage is deprecated next to Python options (#72083) 2022-12-27 17:49:02 +01:00
Frédéric Péters 541728dbf3 misc: add handling of some python datasource migration errors (#72801) 2022-12-27 16:14:17 +01:00
Frédéric Péters 8879080bcc translation update 2022-12-27 11:00:45 +01:00
Valentin Deniaud a84b16f426 testdef: test field conditions (#71296) 2022-12-27 10:31:43 +01:00
Valentin Deniaud 3916f88586 testdef: add views to run tests (#71296) 2022-12-27 10:31:43 +01:00
Valentin Deniaud a9f63c57f5 testdef: add new table to hold form tests (#71296) 2022-12-27 10:31:43 +01:00
Benjamin Dauvergne dddddc92c8 misc: push cache of JSON content in get_json_from_url (#39723)
gitea-wip/wcs/pipeline/head Build started... Details
It allows request_json_items, request_geojson_items and get_geojson_data
to use the cache from get_json_from_url, and cache is then also used in
AutocompleteDirectory.
2022-12-27 10:06:35 +01:00
Benjamin Dauvergne a21bd6f423 api: apply named ds parameters on autocomplete results (#39723) 2022-12-27 10:01:14 +01:00
Pierre Ducroquet 25452fe91f sql: don't add the same string multiple time in FTS (#72784) 2022-12-27 09:59:32 +01:00
Benjamin Dauvergne 8880ab0d6a test: modify test to test on a real form (#67090) 2022-12-27 09:43:32 +01:00
Benjamin Dauvergne bc4d9e17f1 tests: use cookie name in get_session(app) (#67090) 2022-12-27 09:43:32 +01:00
Benjamin Dauvergne 6a4cea8b30 misc: improve passive sso on state change (#67090)
- automatic_sso is renamed try_passive_sso to be clearer on the goal of
  the method,
- test for possible passive sso is now done before rendering the current
  page,
- on a succesfull SSO if <idp_session_cookie_name> cookie is present,
  its value is saved in the Quixote session,
- behaviour of try_passive_sso is changed:
  - if user is logged in or <idp_session_cookie_name> cookie value
    differs from the value in '*-passive-auth-tried' cookie, the
    '*-passive-auth-tried' cookie is expired,
  - if user is logged and <idp_session_cookie_name> cookie cookie value
    differs from the one saved in the Quixote session, user is logged
    out, if not treatment stop here.
  - if the <idp_session_cookie_name> cookie cookie is not valued or if
    its value is equal to '*-passive-auth-tried' cookie, treatment stops
here,
  - if the <idp_session_cookie_name> cookie is valued and its value
    differs from the '*-passive-auth-tried' cookie cookie value, then
    '*-passive-auth-tried' cookie is set to the value of
    <idp_session_cookie_name> cookie and a passive SSO is tried.
2022-12-27 09:43:32 +01:00
Benjamin Dauvergne 2fcdde657a misc: let django generate set-cookies headers (#72613)
Django's HttpResponse cannot hold more than one value for an HTTP
headers, so if multiple Set-Cookie are produced by a Quixote
HttpResponse the first set-cookie headers will be overwritten by the
last one.
2022-12-27 09:43:32 +01:00
Frédéric Péters 49c1d439b5 translation update 2022-12-26 18:02:04 +01:00
Frédéric Péters c19aa536a5 tests: check it's possible to add a related card file field column (#69237)
gitea-wip/wcs/pipeline/head Build started... Details
2022-12-26 17:10:27 +01:00
Frédéric Péters 951bae4ad1 tests: check geojson API with full=on and related card file field (#72312) 2022-12-26 17:10:27 +01:00
Frédéric Péters 45fc5b7cb2 backoffice: do not include link for files from related card in tables (#72312) 2022-12-26 17:10:27 +01:00
Frédéric Péters c08c250a1d sql: get display/structured columns for related fields (#72312) 2022-12-26 17:10:27 +01:00
Frédéric Péters 54c245cf4a sql: factorize getting single field value from row (#72312) 2022-12-26 16:50:51 +01:00