Commit Graph

177 Commits

Author SHA1 Message Date
Frédéric Péters cd476b852f notifications: only include unread count in badge (#16963) 2017-06-18 13:58:12 +02:00
Josue Kouka 56b47f5a50 general: add booking calendar cell (#16393) 2017-06-18 13:06:03 +02:00
Benjamin Dauvergne 0665cb8bbd lingo: notify remote_item of payments asynchronously (#14627)
In case the remote_item cannot be notified synchronously of a payment, we keep
around a list of items to notify in the Transaction.to_be_paid_remote_items
field. They will be notified by the update_transactions command launched by
cron.
2017-06-18 11:00:46 +02:00
Frédéric Péters a5b4dd37f1 lingo: refactor payment view to make sure extra fees are computed (#16885) 2017-06-18 10:57:53 +02:00
Frédéric Péters 0c2fc1db03 misc: create full URL in link cell used in skeletons (#16874) 2017-06-15 13:53:27 +02:00
Frédéric Péters 6e616c19fb lingo: fix amount calculation when no regie is specified (#16824) 2017-06-11 16:55:02 +02:00
Frédéric Péters 730f73a9a3 misc: make individual page export importable (#16705) 2017-06-06 13:41:45 +02:00
Frédéric Péters 4f813b59e2 general: change export format to use a dictionary (#15870) 2017-06-06 13:41:45 +02:00
Frédéric Péters 707f96b71c dashboard: add view to dynamically create a tile from json (#16688) 2017-06-06 11:02:00 +02:00
Frédéric Péters c77ebe0010 maps: include layer attributes in a sub property (#16683) 2017-06-06 10:20:30 +02:00
Frédéric Péters c8ce46abd0 maps: add cache/user id configuration knobs to layers (#16678) 2017-06-06 10:14:53 +02:00
Frédéric Péters bc28c554a3 misc: push json cell parameters into context early on (#16685) 2017-06-05 21:44:27 +02:00
Serghei Mihai 85ddc786e7 maps: add map cell (#8454) 2017-06-03 11:32:32 +02:00
Serghei Mihai 11da88d42c maps: add UI to manage map layers (#8454) 2017-06-03 11:32:32 +02:00
Frédéric Péters 1db0dd310e lingo: post data to extra fees calculator (#16635) 2017-05-31 10:22:34 +02:00
Frédéric Péters 23b7b294eb lingo: add possibility to compute extra fees (#16065) 2017-05-30 16:38:42 +02:00
Frédéric Péters a013add9ec lingo: remove support for partial payment (#10177) 2017-05-30 16:38:42 +02:00
Frédéric Péters 7c7e686c32 misc: correctly transform acquired placeholders in skeletons (#16537) 2017-05-29 13:23:04 +02:00
Thomas NOËL bac05b0cd7 json cell: always reset json context variable (#16463) 2017-05-23 15:48:37 +02:00
Frédéric Péters cc84f3c5be general: add initial support for custom user dashboards (#15043) 2017-05-23 14:38:15 +02:00
Thomas NOËL bd2df6fb70 search: use context_processors for results template (#16452) 2017-05-23 13:37:44 +02:00
Frédéric Péters 9dea315a53 general: add possibility to attach a picture to pages (#16337) 2017-05-19 16:11:11 +02:00
Frédéric Péters 96ab51d1d0 misc: add force_async option, to force asynchronous rendering of json (#16300)
The new default behaviour is to render directly in page if the json data
is already in cache.
2017-05-15 09:26:10 +02:00
Frédéric Péters 8bc7085ac0 utils: fix get_templated_url to work with packed contexts (#16308) 2017-05-15 09:23:03 +02:00
Thomas NOËL 124e2e2fc2 allow substitution variables in search URLs (#16196) 2017-05-12 18:09:50 +02:00
Thomas NOËL b88c28bdb0 templatetags: add parse_datetime, from django.utils.dateparse (#16178) 2017-05-10 14:14:13 +02:00
Frédéric Péters 14497be115 misc: apply some typographic rules on ckeditor fields (#16107)
This follows https://fr.wikipedia.org/wiki/Ponctuation.
2017-05-06 13:46:57 +02:00
Frédéric Péters b6894ae792 misc: add COMBO_SEARCH_SERVICES to default settings (#15929) 2017-05-02 15:52:05 +02:00
Frédéric Péters 693e6155cc lingo: change "remove basket item" API to notify on "notify=true" arg (#15798) 2017-04-14 14:36:28 +02:00
Frédéric Péters 1b29b385a0 general: add possibility to redirect unloggued users (#15814) 2017-04-12 15:07:58 +02:00
Frédéric Péters ea08a76477 general: add possibility to redirect to an "initial login" page (#6705) 2017-04-12 15:07:58 +02:00
Thomas NOËL 8e1ff3597c add has_role template filter (#15847) 2017-04-12 11:29:12 +02:00
Frédéric Péters 48065634d2 general: enhance import/export cmdline commands (#15665)
This unifies behaviour with other publik components, it adds support for
stdin/stdout using '-' as filename, and adds if-empty and clean flags to
the import command.
2017-04-06 22:58:36 +02:00
Thomas NOËL 76007e9fd5 allow query-string values in json cell context (#15757) 2017-04-06 17:19:03 +02:00
Frédéric Péters ebc4aa0389 json cell: add support for cache duration to cell settings (#15758) 2017-04-06 17:00:21 +02:00
Frédéric Péters 3abb0b60ea json cell: make sure source URL is only retrieved once (#15766) 2017-04-05 14:02:06 +02:00
Frédéric Péters b7d62e0021 general: add pre-configured json cells (#15723) 2017-04-04 14:22:32 +02:00
Frédéric Péters 118f69bb22 search: only index sites with a "site contents" cell (#15460) 2017-03-17 11:20:21 +01:00
Serghei Mihai e202e28792 tipi form: fix control protocol default id (#14519)
Tests fixed.
2017-03-14 17:24:28 +01:00
Serghei Mihai 970fadf03b tipi payment form cell (#14519) 2017-03-14 16:37:12 +01:00
Frédéric Péters bc655df423 tests: adapt search test to minor markup change 2017-03-13 09:50:42 +01:00
Frédéric Péters 6491f69cd1 add internal page contents search service (#6793) 2017-03-13 09:29:36 +01:00
Frédéric Péters 63f6794e8b add indexing of pages (#6793) 2017-03-13 09:29:36 +01:00
Thomas NOËL 1709b97f09 searchcell: encode and quote q value in search url (#15352) 2017-03-12 14:14:05 +01:00
Frédéric Péters ffeb370d0f tests: adapt to django-webtest 1.9.1 change of its get() signature 2017-03-11 16:17:16 +01:00
Frédéric Péters 14c247b4d7 tests: adapt to django-webtest 1.9.1 change of server name 2017-03-11 16:17:16 +01:00
Thomas NOËL 4c3cf5e198 add generic search cell (#15085) 2017-03-03 11:09:24 +01:00
Thomas NOËL 9606dc85fc handle context vars in jsoncell url (#15152) 2017-02-27 16:04:31 +01:00
Thomas NOËL 571cc6d191 allow context vars, user_email and user_nameid in get_templated_url (#15154) 2017-02-27 10:54:58 +01:00
Thomas NOËL 3926fa9ba8 use utils.requests in JsonCell (#15142) 2017-02-27 10:13:02 +01:00