Commit Graph

319 Commits

Author SHA1 Message Date
Frédéric Péters 70c5da0d23 assets: add dynamic asset slots to category and form cells (#24770) 2018-06-29 17:02:41 +02:00
Benjamin Dauvergne 7ff1299e2f lingo: fix untested path in notify_new_remote_invoices (#22732) 2018-06-29 17:02:41 +02:00
Benjamin Dauvergne dab07696ff notifications: allow notifications without an end_timestamp (#22732)
Those notifications will disappear only with an action of the user.
2018-06-29 17:02:41 +02:00
Benjamin Dauvergne a16ee38a99 tests: use freezegun in test_notification (#22732) 2018-06-29 17:02:41 +02:00
Benjamin Dauvergne 4bb382806b tests: create global fixtures john.doe and jane.doe (#22732) 2018-06-29 17:02:41 +02:00
Frédéric Péters 8fdd36ee31 general: give assets a stable URI (#24676) 2018-06-25 10:19:26 +02:00
Elias Showk 1dc4add1cf wcs: wrap title into a span in list of forms (#23977) 2018-06-22 08:51:02 +02:00
Frédéric Péters e0e0d7d241 tests: fix hopefully last missing import for test_asset_template_tags (#24453) 2018-06-20 14:57:02 +02:00
Frédéric Péters 509c5f6f90 tests: correctly wipe files before test_asset_template_tags (#24453) 2018-06-20 14:39:02 +02:00
Frédéric Péters 5c74aa4de3 tests: empty media fields before test_asset_template_tags (#24453) 2018-06-20 14:23:15 +02:00
Frédéric Péters d84205e181 tests: make sure all files are removed before checking assets (#24453) 2018-06-20 14:09:24 +02:00
Frédéric Péters 9798f72a11 tests: remove all assets before test_asset_slots_management (#24453) 2018-06-20 13:44:14 +02:00
Frédéric Péters 06c85910e4 general: add support for slot assets (#24453) 2018-06-20 13:27:32 +02:00
Frédéric Péters dd7c193878 pwa: add generic service worker (#24405) 2018-06-19 09:03:02 +02:00
Frédéric Péters b09080980d pwa: add possibility to use a template for manifest.json (#24400) 2018-06-13 18:29:41 +02:00
Frédéric Péters 2ffdb41f93 misc: use page with slug 404 for 404 error pages (#22764) 2018-06-13 18:29:41 +02:00
Serghei Mihai 2948c26c2f tests: improve remote invoices notification code coverage (#24191) 2018-06-08 12:45:27 +02:00
Frédéric Péters c505e6bb37 misc: totally ignore unknown config json cell (#24190) 2018-05-31 08:55:12 +02:00
Emmanuel Cazenave 594f5c0e3f call save when deserializing cells (#15673) 2018-05-30 13:35:37 +02:00
Frédéric Péters d245938ecc wcs: do not crash on POST with invalid cell identifiers (#24147) 2018-05-29 16:47:04 +02:00
Thomas NOËL 8630b9ee32 skeleton: ignore pages with bad template redirection (#23613) 2018-05-27 17:50:15 +02:00
Frédéric Péters f13b4cc5ac lingo: include decimals in basket badget (if any) (#23716) 2018-05-27 17:47:38 +02:00
Frédéric Péters 9ba3f603ed lingo: add back date parser import as it's still in use (#24079) 2018-05-25 12:08:55 +02:00
Frédéric Péters 311aaa13cb tests: do not depend on message strings (#23138) 2018-05-22 21:17:32 +02:00
Serghei Mihai be003c355c lingo: activate localization in new invoices notifications command (#23024) 2018-05-18 15:14:53 +02:00
Serghei Mihai 21c21969f2 lingo: update new invoices email's context with template vars (#23138) 2018-05-18 15:14:53 +02:00
Serghei Mihai b493ae7406 lingo: use wrapper for remote invoices notifications (#22756)
Fix creation and payment limit dates parsing.
2018-05-18 15:14:53 +02:00
Serghei Mihai 0b5e16ba41 lingo: fix notifications expiration for expired invoices (#23824) 2018-05-18 15:14:53 +02:00
Frédéric Péters 0a610fd2a2 general: add possibility to restore snapshots from history (#21602) 2018-05-16 15:46:16 +02:00
Frédéric Péters 43da526e69 general: add page versionning (#21602) 2018-05-16 15:46:16 +02:00
Serghei Mihai bbf8ae107e data: add description to page (#23262) 2018-04-24 11:49:58 +02:00
Serghei Mihai d560d5ff81 lingo: search user by SAML name_id on remote invoices notifying (#22755) 2018-04-19 18:14:39 +02:00
Frédéric Péters 265752b496 tests: adapt sidebar to native gadjo sidebar (#22440) 2018-04-16 13:37:14 +02:00
Frédéric Péters 69ac9adf88 misc: include cell key in config json cell CSS class names (#23079) 2018-04-11 10:20:51 +02:00
Serghei Mihai dbd744e3d2 lingo: add active invoices page url in invoice payment form (#22607) 2018-04-05 10:55:30 +02:00
Serghei Mihai 5c41792080 lingo: fix url signing for new remote invoice retrieval (#22750) 2018-03-22 18:21:53 +01:00
Frédéric Péters 76c2fec23e misc: do not index cells in technical placeholders (#22658) 2018-03-21 11:50:22 +01:00
Serghei Mihai 1933eb6a9f lingo: send emails when notifying new invoices (#13122) 2018-03-21 11:03:34 +01:00
Serghei Mihai 26beade166 lingo: notify new remote invoices (#13122) 2018-03-21 11:03:34 +01:00
Benjamin Dauvergne ad3a44d64c notifications: do not unack automatically on .notify() (#13122)
It's also supported by the notification web-service.
2018-03-20 15:06:00 +01:00
Benjamin Dauvergne f2719b3a68 notifications: improve internal API (#22390)
* (user, external_id) is now unique, no need to user .first() / .last()
* new filter .find(user, id), .visible(user), new queryset actions .ack() and .forget()
* new property notification.visible to know if a notification is shown
* when notify() is called on an existing notification, it's unacked
* notify's parameters url, body and origin now default to '', serializer
has been updated
2018-03-19 10:53:09 +01:00
Benjamin Dauvergne 64c767c5ca tests: set a TEST database name so that pytest --reuse-db works (#22390) 2018-03-19 10:53:09 +01:00
Frédéric Péters d8b17a57d9 manager: display an error when importing a non-json file (#21056) 2018-03-18 18:41:45 +01:00
Frédéric Péters 9a71e66a1c tests: add basic tests for recent documents cell 2018-03-17 23:12:20 +01:00
Frédéric Péters 18523bc1ff general: display an error when importing a site with missing groups (#16317) 2018-03-17 17:45:20 +01:00
Frédéric Péters ec28d1e6e2 misc: add support for PATCH action to json cells (#22255) 2018-03-09 11:22:16 +01:00
Frédéric Péters 53146ac618 utils: make sure bytes are used for URL cache key (#22203) 2018-03-09 11:20:07 +01:00
Thomas NOËL 0bbe282874 templatetags: make parse_datetime/date/time stronger (#22067) 2018-02-28 14:39:35 +01:00
Frédéric Péters a4f6f452b8 manager: add support for a new "text" json cell parameter type (#22129) 2018-02-27 10:19:25 +01:00
Frédéric Péters 77c053945c general: extend json cell actions to support submitting arrays (#22128) 2018-02-27 10:07:52 +01:00