Commit Graph

201 Commits

Author SHA1 Message Date
Frédéric Péters 78a40f5d98 maps: fix export/import of map layers defined in cells (#17936) 2017-08-08 18:16:05 +02:00
Thomas NOËL c6cf29c988 json cell: add log_errors parameter (#17826) 2017-07-28 10:46:15 +02:00
Thomas NOËL 5cf7d09d3f lingo: do not cache requests.get results (#17828) 2017-07-28 10:02:15 +02:00
Thomas NOËL 109cccf656 json cell: add url, status and error in context (#17688) 2017-07-20 16:19:07 +02:00
Frédéric Péters f9204229f2 tests: adapt to change in default colour of map icons 2017-07-20 13:43:06 +02:00
Frédéric Péters 23735bfa3c tests: add missing test template file 2017-07-20 13:39:08 +02:00
Frédéric Péters 88052430dd json cell: add possibility to retrieve data from multiple URLs (#17185)
ex:
  "metro": {
    "url": "https://.../stops?identifier=[identifier]",
    "additional-data": [
       {"key": "schedule",
        "url": "https://.../schedule?stop_identifier=[identifier]"
       }
    ]
  }
2017-07-20 10:53:36 +02:00
Thomas NOËL bc3d98a83b general: consider typeless parameters in json cells as strings (#17550) 2017-07-11 22:00:02 +02:00
Frédéric Péters 0b401e42f3 general: use "bool" as type name for booleans, to match wcs (#17433) 2017-07-07 14:11:15 +02:00
Frédéric Péters 819066421e general: add support for boolean json cell parameters (#17433)
"foobar": {
      "url": "https://...",
      "cache_duration": 86400,
      "name": "Test",
      "form": [
        {
          "varname": "identifier",
          "type": "string",
          "label": "Identifier"
        },
        {
          "varname": "details",
          "type": "bool",
          "label": "Include details",
          "required": false
        }
      ]
    },
2017-07-07 13:18:58 +02:00
Frédéric Péters e2dbaa52fc dashboard: return json for ajax calls to add/remove tile URLs (#17308) 2017-07-07 09:05:14 +02:00
Frédéric Péters 271c46fd13 dataviz: allow variables in gauge URLs (#17361) 2017-07-06 16:10:00 +02:00
Frédéric Péters 67a8779d2c tests: adapt dashboard tile remove test after #17258 2017-06-30 17:30:19 +02:00
Frédéric Péters 79a94b0aeb dashboard: add view to reorder tiles (#17258) 2017-06-30 17:16:32 +02:00
Thomas NOËL 06f3a8690e add group templatetag (for regroup objects) (#17285) 2017-06-30 17:03:56 +02:00
Thomas NOËL df88df87a4 add get templatetag (#17284) 2017-06-30 16:43:15 +02:00
Frédéric Péters 4118b6a0ca manager: fix HTTP status code of reorder call (#17261) 2017-06-30 11:51:16 +02:00
Frédéric Péters a353802d12 utils: make sure user_nameid/user_email cannot be forged (#17173) 2017-06-29 08:50:38 +02:00
Frédéric Péters 572e064a3b post: allow using submitted data in url substitution (#17172) 2017-06-24 22:04:07 +02:00
Frédéric Péters 0e5d85fe49 general: add POST support on json cells (#16901) 2017-06-23 16:44:37 +02:00
Frédéric Péters 3eb6d93882 general: add import/export of map layers (#16706) 2017-06-23 16:29:03 +02:00
Frédéric Péters e558f02b6f maps: add possibility to filter geojson data (#16977) 2017-06-23 15:33:08 +02:00
Frédéric Péters 27f9a5e7dd notifications: add an origin attribute to notifications (#17106) 2017-06-23 13:08:15 +02:00
Frédéric Péters 934f310fb2 utils: add invalidate_cache to force a new request to be made (#17056) 2017-06-23 13:08:15 +02:00
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