Commit Graph

4366 Commits

Author SHA1 Message Date
Frédéric Péters c7cc30d21f api: allow wscall output as formdata/submit input (#10661) 2016-04-29 16:27:33 +02:00
Frédéric Péters 82b0e7dd00 admin: redirect to anchored field after submit (#10759) 2016-04-28 18:42:05 +02:00
Frédéric Péters 6ca676b64e admin: display configuration and preview on data source page (#10705) 2016-04-19 12:20:13 +02:00
Frédéric Péters 35c818b16f admin: make "data sources" accessible from forms/workflows sections (#10136) 2016-04-19 12:20:13 +02:00
Frédéric Péters 32f7f5ba27 sessions: make sure session.visited_objects is as dict (#10687) 2016-04-19 11:41:11 +02:00
Frédéric Péters 6ceb3b4b27 forms: include functions in XML export (#10650) 2016-04-19 11:41:11 +02:00
Frédéric Péters 7683303c04 misc: let geolocation fill textarea (#10706) 2016-04-19 11:41:11 +02:00
Frédéric Péters 8f805b29ca pylint: don't format strings passed to logger [logging-not-lazy] 2016-04-18 23:18:20 +02:00
Frédéric Péters 8600f52208 pylint: correctly escape \ characters [anomalous-backslash-in-string] 2016-04-18 23:18:20 +02:00
Frédéric Péters 43933c9353 pylint: remove superfluous use of eval() [eval-used] 2016-04-18 23:18:20 +02:00
Frédéric Péters c92f092db0 pylint: remove unused imports [unused-import] 2016-04-18 23:18:20 +02:00
Frédéric Péters 5e09f2bf68 pylint: break cyclic import of get_user_from_api_query_string [cyclic-import] 2016-04-18 23:18:20 +02:00
Frédéric Péters 67f43374e7 pylint: change comparisons to None/True to use "is" [singleton-comparison] 2016-04-18 23:18:20 +02:00
Frédéric Péters 7bed74f3a7 pylint: fix base raise statement to use exception (misplaced-bare-raise) 2016-04-18 23:18:20 +02:00
Frédéric Péters ac8f790cd5 trivial: unconditionnaly use hashlib 2016-04-18 23:18:20 +02:00
Frédéric Péters 8b133928a2 pylint: don't reimport Role [reimported] 2016-04-18 23:18:19 +02:00
Frédéric Péters e1b3acd0a0 pylint: give every module import its own line [multiple-imports] 2016-04-18 23:18:19 +02:00
Frédéric Péters 96951c971e workflows: don't perform "export to model" if no model has been set (#10694) 2016-04-18 17:52:24 +02:00
Frédéric Péters f78aba4cf2 workflows: add MissingSecret import (#10690) 2016-04-18 17:04:39 +02:00
Frédéric Péters 4b1bc29708 backoffice: include real <a> link to form in global listing (#10680) 2016-04-18 14:21:05 +02:00
Frédéric Péters a64d572119 workflows: add possibility of confirmation dialogs (#6791) 2016-04-18 11:46:36 +02:00
Benjamin Dauvergne d1debe7205 do not depend on auquotidien to show fargo pick a file button (#10515)
It also changes the behaviour from auquotidien so that the button is hidden if
the user is not connected.

Dropbox picking link is placed inside the hint of the upload widgeet, hint of
the FileWithPreviewWidget is also moved there. qommon.fileupload.js and fargo.js
are modified to hide the link when the field is filled with a file.
2016-04-18 10:57:24 +02:00
Benjamin Dauvergne 0cbecba855 add option to push attached document to portfolio (#10506) 2016-04-18 10:57:24 +02:00
Benjamin Dauvergne 5dc0400fc3 implement URL signatures in the file validation web-service calls (#10444) 2016-04-18 10:57:24 +02:00
Benjamin Dauvergne 8fa39285df tests: generalize site-options.cfg fixtures (#10444) 2016-04-18 10:57:24 +02:00
Benjamin Dauvergne 13be7a0ec4 move API signing functions in their own module (#10444)
Having them in the api module leads to circular imports.
Also get_secret() has been rewritten as get_secret_and_orig().
2016-04-18 10:57:24 +02:00
Benjamin Dauvergne b70212a921 rewrite file validation (#10444)
- metadata fields are now directly added to the form, as part of the
  FileWithPreviewWidget sub-widgets (it's a CompositeWidget)
- existing validated metadatas are proposed for prefilling
- if prefilled no file is uploadee, and a special upload class NoUpload is used
  instead of a PicklableUpload, it only contains the metadatas.
- prefilled fields are disabled,
- on upload of a new file all prefilled fields are emptied and re-enabled.
- modify XML import/export to encode metadata sub-field as JSON in exports
- add test on import/export of FileField with metadata
- rewritten tests around file validation
2016-04-18 10:57:24 +02:00
Benjamin Dauvergne a058a0158f add support for Basic HTTP authentication to _http_request (#10444) 2016-04-18 10:57:24 +02:00
Frédéric Péters 713164807b backoffice: adjust vertical alignment of long status labels (#10679) 2016-04-18 09:42:35 +02:00
Thomas NOËL 10ab1675d9 update french translations 2016-04-15 15:06:13 +02:00
Frédéric Péters b060b70668 tests: add a more high level test of wscall/attachment (#10559) 2016-04-15 14:26:30 +02:00
Thomas NOËL e1f9c6b4dc wscall: make it possible to store response as attachment (#10559) 2016-04-15 14:26:11 +02:00
Frédéric Péters 53dbcb54ca workflows: don't break when last workflow variable is removed (#10667) 2016-04-15 10:55:04 +02:00
Frédéric Péters 58c8e5acfa backoffice: don't let offset overflow total count (#10654) 2016-04-15 10:42:39 +02:00
Thomas NOËL f5e051ce19 wscall: new UI, with explicit GET/POST choice (#10663) 2016-04-14 17:50:54 +02:00
Frédéric Péters 30dbd0f8ea trivial: remove console.log call 2016-04-14 15:44:31 +02:00
Frédéric Péters fec35c345d forms: add field css classes on validation and summary pages (#10656) 2016-04-14 15:44:31 +02:00
Thomas NOËL 0f1ed6b4c3 form: add gettext call for "Max file size" string 2016-04-14 15:42:35 +02:00
Frédéric Péters 29defe0edb tests: update after global timeouts cronjob change 2016-04-13 17:52:23 +02:00
Frédéric Péters 4e0e7e88e3 workflows: run global action timeout check from publisher (#10649) 2016-04-13 17:39:38 +02:00
Thomas NOËL 29efdb61a5 update french translations 2016-04-13 14:57:19 +02:00
Frédéric Péters 17f0bca426 backoffice: add a channel filter to global listing (#10504) 2016-04-13 14:48:29 +02:00
Frédéric Péters 73d0c692fe misc: add support for passing a key in nominatim requests (#10636) 2016-04-13 13:57:37 +02:00
Frédéric Péters e374143f49 workflows: ignore '' as anchor date when triggering timeouts (#10643) 2016-04-13 13:54:30 +02:00
Frédéric Péters 6135e79f9d api: return all categories if the request is signed without user (#10641) 2016-04-13 13:54:24 +02:00
Frédéric Péters cc9422d26c workflows: don't fail attachment lookup when the log has extra parts (#10632) 2016-04-12 19:20:56 +02:00
Frédéric Péters 0bb96a3e2a workflows: do not send traceback when anchor date is an empty string (#10603) 2016-04-12 16:48:38 +02:00
Frédéric Péters 207dc5cbca workflows: don't consider empty/invalid recipients (#10627) 2016-04-12 16:48:38 +02:00
Frédéric Péters 3e081df8e8 tests: fix checks for tenants 2016-04-12 12:43:14 +02:00
Frédéric Péters fb3943a0b9 general: always ignore .invalid domains (#10626) 2016-04-12 12:00:01 +02:00