Commit Graph

3688 Commits

Author SHA1 Message Date
Frédéric Péters befd0e0461 formdefs: add a form_objects substitution variable with more info (#6964) 2015-04-16 17:18:42 +02:00
Benjamin Dauvergne afb9068f2c workflows: add svg pan/zoom functionnality (#6947)
This is using svg-pan-zoom.js from https://github.com/ariutta/svg-pan-zoom,
published with a BSD 2-clause license.
2015-04-15 14:00:09 +02:00
Frédéric Péters 01bb7ef83c tests: add check of password with 8bits characters 2015-04-15 14:00:09 +02:00
Frédéric Péters 2a792d23d7 sql: handle unicode elements in ranked-items and password fields (#6921) 2015-04-15 14:00:09 +02:00
Serghei Mihai 2d2e422e30 categories and homepage: add /auth and /tryauth paths (#6177) 2015-04-14 16:16:05 +02:00
Thomas NOËL 4f790b48a0 map: export json in a lat/lon dict (#6933) 2015-04-12 21:02:50 +02:00
Thomas NOËL b88e56824b trivial: add forgotten import in c0a8588024 (#6812) 2015-04-12 16:44:56 +02:00
Frédéric Péters 6533872ce7 api: remove trailing slashes of formdata draft URLs (#6931) 2015-04-12 14:10:42 +02:00
Thomas NOËL 8d61f8a015 misc: rewrite qommon.misc.simplify() to use unicodedata module (#6846) 2015-04-12 11:27:59 +02:00
Thomas NOËL 4230ff7d9d tests: add tests for qommon.misc.simplify (#6846) 2015-04-12 11:27:59 +02:00
Frédéric Péters b22b3b126f tests: add a workaround for backoffice/api circular dependency 2015-04-12 11:04:16 +02:00
Frédéric Péters a81be6e3b5 tests: run formdata and register tests with both pickle and sql 2015-04-11 14:55:10 +02:00
Frédéric Péters 08709d91dc tests: add simple test of formdata password field 2015-04-11 14:55:10 +02:00
Frédéric Péters 88e9660ea2 tests: add a test for SMS workflow action 2015-04-11 14:21:46 +02:00
Frédéric Péters 2fc4aadda0 workflows: zap empty sms recipients (#6930) 2015-04-11 14:17:39 +02:00
Frédéric Péters a4f43de039 trivial: strip http headers as webtest doesn't send them properly 2015-04-03 17:28:51 +02:00
Thomas NOËL cdf20cf8be debian: remove cron, clean_sessions is obsolete 2015-04-03 11:24:13 +02:00
Frédéric Péters 0581f21a3e debian: add python-feedparser dependency, a copy is no longer shipped 2015-04-03 11:24:12 +02:00
Frédéric Péters 68f7e5c3af debian: add recommends on python-qrcode 2015-04-03 11:24:12 +02:00
Thomas NOËL edfcd360cd debian/cron.daily: run only if wcsctl is present 2015-04-03 11:24:12 +02:00
Frédéric Péters 7aaaaf4c82 debian: add dependency on graphviz 2015-04-03 11:24:12 +02:00
Frédéric Péters 567125b2e1 debian: only build for Python 2.7 2015-04-03 11:24:12 +02:00
Jérôme Schneider 07d85d6240 debian: adapt packaging for Wheezy 2015-04-03 11:24:12 +02:00
Frédéric Péters b7709b0db0 myspace: don't preemptively block access to myspace (#6385) 2015-04-02 10:44:11 +02:00
Frédéric Péters de6b1f9a76 trivial: fix semi colon that was out of attribute quotes 2015-04-02 10:44:11 +02:00
Frédéric Péters d7d9713272 geolocation: make it possible to fill <select> fields (#6861) 2015-04-01 23:28:18 +02:00
Frédéric Péters 2c9042feed ctl: fix initialization in control scripts (#6887) 2015-04-01 23:28:18 +02:00
Thomas NOËL 0ab4ac7b69 api.py: fix TraversalError import 2015-04-01 17:03:18 +02:00
Thomas NOËL a0b933b363 release 1.12.13 2015-04-01 14:59:48 +02:00
Thomas NOËL 588a5cb1a1 add json listings in /api/forms/ (#6642) 2015-04-01 14:55:42 +02:00
Frédéric Péters 87a7b1cead misc: only load effective TLDs list once per class (#6875) 2015-04-01 14:54:50 +02:00
Jérôme Schneider 725cbb6845 hobo_deploy: fix support of --extra passed on command line (#6654) 2015-03-30 18:25:16 +02:00
Thomas NOËL 7883432795 api: reverse-geocoding needs lat and lon (#6849) 2015-03-29 15:29:59 +02:00
Frédéric Péters 0096bd61c6 publisher: reset substitution sources early on (#6833)
In case of access to an unknown host try_publish() would bail out early with a
TraversalError() (404), which would access the publisher known substitution
variables to render the error page.  That list was not reset yet from the
previous call and could thus result in inappropriate variables being created.
2015-03-26 13:29:22 +01:00
Thomas NOËL 96aa0d897c backoffice/listings: add minimal JSON export (#6642)
also move JSONEncoder to qommon.misc
2015-03-26 11:39:26 +01:00
Frédéric Péters dcfc3d1c98 tests: add test for formdata api 2015-03-24 22:11:28 +01:00
Frédéric Péters c0a8588024 api: consider user from query string in formdata api (#6812) 2015-03-24 22:09:46 +01:00
Frédéric Péters df40721a2f help: fix formdata api example to include trailing slash 2015-03-24 22:09:08 +01:00
Frédéric Péters bd26a933a7 tests: test formdata.last_update_time 2015-03-24 15:59:38 +01:00
Thomas NOËL 76c62bd425 api: export last_update_time in formdata json (#6640) 2015-03-24 15:31:15 +01:00
Frédéric Péters b6ccb50c2a form: don't break on emails with empty parts in domain (#6796) 2015-03-23 22:14:49 +01:00
Frédéric Péters 4962adb525 fields: move composite widgets out of advanced when apply is clicked (#6727) 2015-03-23 08:35:34 +01:00
Frédéric Péters 45d666464c general: run sql "migrations" when starting wcs (#6617)
This is required when new global tables (such as tracking_codes) have to be
created.
2015-03-23 08:35:34 +01:00
Frédéric Péters f19d6b9375 misc: factor check for postgresql usage 2015-03-23 08:35:34 +01:00
Jérôme Schneider 38d45fad3d check_hobos: set publisher configuration even for a new instance (#6788) 2015-03-23 08:35:34 +01:00
Jérôme Schneider 23ea72da85 publisher: skip directories when importing from a zipfile (#6787) 2015-03-23 08:35:34 +01:00
Benjamin Dauvergne 82627cdc8c misc: add support for specifying extra modules in configuration files (#6654)
[extra]
auquotidien = ../auquotidien/extra/
2015-03-23 08:31:30 +01:00
Frédéric Péters 4ec7e130be tests: do not fail with multipart emails 2015-03-20 16:47:53 +01:00
Frédéric Péters 6dde68fbfa misc: skip after jobs that have already been completed 2015-03-20 16:32:05 +01:00
Frédéric Péters 86691534a6 tests: revamp email mocking to have more of wcs code exposed 2015-03-20 16:32:05 +01:00