Commit Graph

346 Commits

Author SHA1 Message Date
Frédéric Péters ae6c192579 add support for counter channel (#9012) 2015-11-26 14:46:50 +01:00
Frédéric Péters 300e991ae3 misc: use publik menu to advertise different channels 2015-11-26 14:05:27 +01:00
Frédéric Péters bd7a4aff27 limit channel pages to authorised roles 2015-11-23 17:01:15 +01:00
Frédéric Péters 86e808d1f2 switch role checking to local hobo table instead of querying wcs 2015-11-23 16:37:57 +01:00
Frédéric Péters b5b28efd08 trivial: remove unused variables and import statements 2015-11-18 14:47:00 +01:00
Frédéric Péters 537b4cddf6 add missing gettext import 2015-11-18 14:43:49 +01:00
Frédéric Péters fac2fda8b9 misc: require post date to be set (#9016) 2015-11-18 14:40:03 +01:00
Frédéric Péters 39a6382bba misc: give more time for the user to arrive in wcs 2015-11-17 15:30:48 +01:00
Frédéric Péters eecbc602f9 misc: bring welco/wcs errors to the UI as alerts 2015-11-17 14:41:45 +01:00
Frédéric Péters 7069da02dd translation update 2015-11-17 13:56:56 +01:00
Frédéric Péters 6d78052463 misc: include first filter item as "Tout" instead of an empty string 2015-11-17 09:47:36 +01:00
Frédéric Péters 62429906e6 contacts: add to authentic then get id from wcs (#8190)
This currently relies on HTTP Basic authentication, username/passwords should
be set in the settings, as AUTHENTIC_AUTH_TUPLE.
2015-11-16 14:33:17 +01:00
Frédéric Péters 4d7d626cf9 contacts: basic UI to add contacts 2015-11-16 10:19:44 +01:00
Frédéric Péters 0f3abdf5db misc: sign api/formdefs/ requests to wcs 2015-11-12 18:05:34 +01:00
Frédéric Péters 820cc8eedf translation update 2015-11-10 17:45:28 +01:00
Frédéric Péters b840f18099 misc: add links to phone/mail parts in header 2015-11-10 12:21:48 +01:00
Frédéric Péters e4eaacc1f9 contacts: include links to formdata 2015-11-10 12:04:01 +01:00
Frédéric Péters c9ce33de4f mail: include selected contact name in mail list (#8713) 2015-11-09 18:08:23 +01:00
Frédéric Péters 347cf96417 phone: use checkmark as ok button for "take line" form 2015-11-09 16:45:10 +01:00
Frédéric Péters 331c7c7bae translation update 2015-11-09 16:43:19 +01:00
Frédéric Péters 4f900879e6 phone: display previous phone calls 2015-11-09 16:42:33 +01:00
Frédéric Péters 97bfd57641 phone: handle call stop 2015-11-09 16:23:55 +01:00
Frédéric Péters 5e455ba44f phone: use a qualification screen that doesn't require validations 2015-11-09 14:37:22 +01:00
Frédéric Péters 380c892456 misc: move datepicker code to global welco.js 2015-11-09 13:42:16 +01:00
Frédéric Péters f11ea614b6 alfortville: make sure not to display unsorted mails as waiting for validation 2015-11-03 20:40:26 +01:00
Frédéric Péters 787248d410 translation update 2015-11-03 20:27:20 +01:00
Frédéric Péters 18d7e78807 phone: display an informational message when no phoneline are set 2015-11-03 17:33:07 +01:00
Frédéric Péters e78ec2f38e phone: look for phone number in contacts (#8788) 2015-11-03 17:28:05 +01:00
Frédéric Péters b16e6de751 js: remove debugging statements 2015-11-03 13:15:41 +01:00
Frédéric Péters 94c4e39fff misc: fix display of qualif panel for mails 2015-11-03 12:12:24 +01:00
Frédéric Péters bed4ded73e qualif: limit 'copies' support to mails 2015-11-03 12:08:35 +01:00
Frédéric Péters d6b0e5e9d0 phone: add missing fields in phonecall model 2015-11-03 12:03:41 +01:00
Frédéric Péters 7250357cbb phone: display current call (#8788) 2015-11-03 12:01:04 +01:00
Frédéric Péters f0512a1b4c phone: share context between home and zone 2015-11-03 11:35:45 +01:00
Frédéric Péters ae975de117 misc: protect qualification panel against missing source 2015-11-03 11:31:24 +01:00
Frédéric Péters ba3baa6265 phone: add UI for taking & releasing lines (#8788) 2015-11-03 10:02:13 +01:00
Benjamin Dauvergne 5cedd08743 implement telephony models and web services (#8789)
- 2 new models: PhoneCall, PhoneLine
- 4 web-services:
 - call_event
 - current_calls
 - take_line
 - release_line
2015-11-02 22:54:39 +01:00
Frédéric Péters acb9173a94 misc: try to follow window resizes to alter pdfjs iframe height 2015-11-02 18:35:17 +01:00
Frédéric Péters a7c65b8224 misc: add menu.json URL for publik menu 2015-11-02 17:38:26 +01:00
Frédéric Péters a5effadef3 kb: add keywords migration 2015-11-02 08:45:13 +01:00
Frédéric Péters 1d318732a2 kb: add keywords, to boost searches (#8472) 2015-11-01 22:56:21 +01:00
Frédéric Péters 8992e65d93 kb: add initial migration 2015-11-01 22:51:02 +01:00
Frédéric Péters 35bbbfcc17 general: add counter endpoints, to be used by agent portal (#8689) 2015-11-01 20:42:58 +01:00
Frédéric Péters 8eddbf88ab alfortville: don't display "reject" on DGA screen 2015-10-31 18:48:48 +01:00
Frédéric Péters cdd0c22f12 misc: translation update 2015-10-29 16:53:38 +01:00
Frédéric Péters bae95f628e kb: remove slug from UI (#8471) 2015-10-29 10:25:19 +01:00
Frédéric Péters 789de4a459 kb: fix breadcrumb of "new page" 2015-10-29 10:24:12 +01:00
Frédéric Péters 5376f1553f kb: fix breadcrumb elements in page view/edit/history (#8470) 2015-10-29 10:12:50 +01:00
Frédéric Péters 1a64b967a7 kb: extend "new" link label to "add new page" (#8469) 2015-10-29 10:06:33 +01:00
Frédéric Péters 3b2b08a73f alfortville: add a new table listing mails waiting for validation (#8716) 2015-10-28 17:58:01 +01:00
Frédéric Péters 4c8a13d534 contacts: improve contact selection UI (#8784) 2015-10-28 17:04:23 +01:00
Frédéric Péters 04bfcee98c mail: fix mail removal confirmation dialog 2015-10-28 17:03:05 +01:00
Frédéric Péters 624adf7478 mail: add a .important class to missing required avis (#8717) 2015-10-28 16:39:35 +01:00
Frédéric Péters d7999bf7b2 alfortville: add a message when there are no mails in tables 2015-10-28 16:37:45 +01:00
Frédéric Péters f32967d84d mail: make it possible to reject an unreadable mail (#8714) 2015-10-28 16:04:48 +01:00
Frédéric Péters 5ad7168dcc mail: add a field to enter a mail number (#8714) 2015-10-28 15:27:55 +01:00
Frédéric Péters d507cef322 alfortville: mark comments as nullable (#8672) 2015-10-16 15:27:42 +02:00
Frédéric Péters ce070e3b51 alfortville: add missing migration for new subtype 2015-10-16 15:24:17 +02:00
Frédéric Péters f7f3112360 viewer: remove secondary menu from toolbar 2015-10-12 15:30:55 +02:00
Frédéric Péters 6913ed9e5a translation update 2015-10-11 19:35:30 +02:00
Frédéric Péters e1830c319c mail: don't display form and note when displayed in reduced size 2015-10-11 19:33:05 +02:00
Frédéric Péters 4947567e8f misc: reduce size of mail input forms 2015-10-11 19:33:05 +02:00
Frédéric Péters 4bbc9ed8a5 mail: add a select box to filter on formdef 2015-10-11 19:18:08 +02:00
Frédéric Péters 05a6e4d069 mail: display current associations after timestamp in sidebar 2015-10-11 18:34:38 +02:00
Frédéric Péters d22ed473a4 summary: include avis 2015-10-11 18:34:38 +02:00
Frédéric Péters d71e590d63 summary: include list of formdatas if there are multiple ones (#8517) 2015-10-11 18:34:38 +02:00
Frédéric Péters f3971403a3 summary: make thumbnail a link to the PDF file 2015-10-11 18:34:38 +02:00
Frédéric Péters 579179e0be alfortville: limit DGA validation screens to formdefs related to the DGA 2015-10-11 18:34:38 +02:00
Frédéric Péters 8f15a7e4e0 general: make it possible to add a note to mails 2015-10-11 18:34:38 +02:00
Frédéric Péters 2b5f88bce5 alfortville: display empty "copies" lists as a dash 2015-10-11 13:43:20 +02:00
Frédéric Péters c125733041 general: make it possible to remove an association 2015-10-11 13:39:49 +02:00
Frédéric Péters 89b3ea5393 mails: add registered mail number field (#8516) 2015-10-10 18:24:22 +02:00
Frédéric Péters ba6f7d945f alfortville: add support for mandatory avis 2015-10-10 18:24:22 +02:00
Frédéric Péters e97facafb5 general: push a summary url to wcs 2015-10-10 18:24:22 +02:00
Frédéric Péters ae42e903db alfortville: check DGS and DGA roles 2015-10-10 18:24:22 +02:00
Frédéric Péters 03b09a3264 alfortville: make it possible to write down comments in "avis" table (#8473) 2015-10-10 18:24:21 +02:00
Frédéric Péters f1ed21b3a7 alfortville: adapt table views to model changes 2015-10-10 18:24:21 +02:00
Frédéric Péters e34cee185d general: display info/avis in qualification box
(this is currently specific to Alfortville, this shouldn't appear in the
general template)
2015-10-10 18:24:21 +02:00
Frédéric Péters 80909756fa general: redo submission, support for dgs & dga screen for alfortville 2015-10-10 18:24:21 +02:00
Frédéric Péters 30e1c9cc43 general: reorganize models in a simpler way
A source object (e.g. Mail) may now be attached to several Association objects,
each one has a formdef_reference attribute (at first), and a formdata_id
attribute (once submitted to wcs).
2015-10-10 18:24:21 +02:00
Frédéric Péters d9100fabac misc: don't jump back to contact 2015-10-01 22:06:40 +02:00
Frédéric Péters 79e18fe113 alfortville: consider subtype in mail tables 2015-10-01 22:06:40 +02:00
Frédéric Péters 61c5c20740 misc: use site_title (set from hobo) in header 2015-10-01 22:06:40 +02:00
Frédéric Péters 7bf376256d misc: use dd/mm/yyyy format for dates 2015-10-01 22:06:39 +02:00
Frédéric Péters 414162b52f general: make it possible to qualify with an user (#8173) 2015-10-01 22:06:32 +02:00
Frédéric Péters bdce2a3e99 add minimalistic login requirements around a few URLs
Permission management will have to be discussed.
2015-09-30 10:46:55 +02:00
Frédéric Péters aa4d203702 translation update 2015-09-30 10:46:55 +02:00
Frédéric Péters e03b92f99c alfortville: add listings for avis/info mails 2015-09-30 10:46:55 +02:00
Frédéric Péters 30b36c9cc9 alfortville: make it possible to set infos/avis 2015-09-30 10:46:55 +02:00
Frédéric Péters f872758ef4 keep track of currently displayed pdf, avoid reloading the same one 2015-09-30 10:46:55 +02:00
Frédéric Péters e92e157664 translation update 2015-09-30 10:46:55 +02:00
Frédéric Péters f3a0009ef8 contacts: add user details to search and info page 2015-09-30 10:46:55 +02:00
Frédéric Péters ee70113a47 add start of a phone call view 2015-09-30 10:46:55 +02:00
Frédéric Péters bda5855d0e contacts: search and details (#8190) 2015-09-30 10:46:55 +02:00
Frédéric Péters 52a09b6d1a misc: push details about submission context to wcs (#7951) 2015-09-30 10:46:55 +02:00
Frédéric Péters 54818b94a2 mail: force 200px width for thumbnails 2015-09-30 10:46:55 +02:00
Frédéric Péters 12ac105d1a alfortville: add field to put comments 2015-09-30 10:46:54 +02:00
Frédéric Péters 6f50851eb3 general: add comments field to qualification 2015-09-30 10:46:54 +02:00
Frédéric Péters 6733f396cb general: push requests to wcs (#8175) 2015-09-30 10:46:54 +02:00
Frédéric Péters 699cfcd7ce alfortville: fill dgs page with real data (#7885) 2015-09-30 10:46:54 +02:00
Frédéric Péters 05a921b132 mail: add a "feeder" page 2015-09-30 10:46:54 +02:00
Frédéric Péters afa6f3fcdf add short timeout to wcs calls 2015-09-30 10:46:54 +02:00
Frédéric Péters f49d95359c mail: create thumbnails of imported PDF files 2015-09-30 10:46:54 +02:00
Frédéric Péters 7ea2103801 misc: always display source qualification form 2015-09-30 10:46:54 +02:00
Frédéric Péters 1c8607e7c4 misc: highlight qualification data after successful save 2015-09-30 10:46:54 +02:00
Frédéric Péters b2a58843ac mail: add fields to qualify mail (post date / registered mail) 2015-09-30 10:46:54 +02:00
Frédéric Péters 3f52dc76e4 mail: add post_date/registered_mail attributes 2015-09-29 18:12:41 +02:00
Frédéric Péters fefc0aa1f4 kb: add history system (#7915) 2015-09-29 18:12:41 +02:00
Frédéric Péters fbfd9c2894 kb: realtime update of page index 2015-09-29 18:12:41 +02:00
Frédéric Péters 363db32c5a kb: add history system (#7915) 2015-09-29 18:12:41 +02:00
Frédéric Péters 7b33698eea misc: add contrib.alfortville with a mockup of a dgs view 2015-09-29 18:12:41 +02:00
Frédéric Péters 699e4ac86e general: add contacts app 2015-09-29 18:12:41 +02:00
Frédéric Péters 0e93097856 home: display first mail on page load 2015-09-29 18:12:40 +02:00
Frédéric Péters dc2dededec mail: display only untriaged mails 2015-09-29 18:12:40 +02:00
Frédéric Péters caa9ceafae qualif: mark triaged sources 2015-09-29 18:12:40 +02:00
Frédéric Péters 20ea668258 qualif: hide select2 after first qualification 2015-09-29 18:12:40 +02:00
Frédéric Péters 01d97f7a8f qualif: display formdef name, not reference 2015-09-29 18:12:40 +02:00
Frédéric Péters cd43b27423 kb: minor style changes 2015-09-29 18:12:40 +02:00
Frédéric Péters e8d566c296 home: insert knowledge base zone from the start 2015-09-29 18:12:40 +02:00
Frédéric Péters af1c18d965 kb: add navigation to knowledge pages 2015-09-29 18:12:40 +02:00
Frédéric Péters 191c544d6b kb: search as you type 2015-09-29 18:12:40 +02:00
Frédéric Péters cf197f50c9 kb: add search form to home zone 2015-09-29 18:12:40 +02:00
Frédéric Péters b1d9f2b951 kb: add indexing/searching 2015-09-29 18:12:40 +02:00
Frédéric Péters f6c514864a kb: add basic elements of a knowledge base 2015-09-29 18:12:40 +02:00
Frédéric Péters f93dcc82d5 qualif: use select2 to select formdef 2015-09-29 18:12:40 +02:00
Frédéric Péters db070fad8f mail: handle scrollbar in list of mails 2015-09-29 18:12:40 +02:00
Frédéric Péters 7286ad2023 qualification: display 'done' button once there's an association 2015-09-29 18:12:40 +02:00
Frédéric Péters 737ffffd7f general: make it possible to associate formdefs to a mail 2015-09-29 18:12:40 +02:00
Frédéric Péters 9e42a5d069 home: load qualification pane asynchronously 2015-09-29 18:12:40 +02:00
Frédéric Péters a8244d6c78 misc: fill qualification select with formdefs from wcs 2015-09-29 18:12:40 +02:00
Frédéric Péters 7fc561b01a misc: enable django admin 2015-09-29 18:12:40 +02:00
Frédéric Péters 6533489289 misc: add django-mellon support for SSO 2015-09-29 18:12:40 +02:00
Frédéric Péters f89a59fbce mail: hive irrelevant viewer toolbar buttons 2015-09-29 18:12:40 +02:00
Frédéric Péters 0cd7d1e39a mail: mark currently loaded mail 2015-09-29 18:12:39 +02:00
Frédéric Péters 1521ee6372 mail: make clicking on a row open the associated pdf 2015-09-29 18:12:39 +02:00
Frédéric Péters 7835f218ad add French locale 2015-09-29 18:12:39 +02:00
Frédéric Péters df1ca5b574 mail: integrate mozilla pdf.js viewer
The pdf.js code itself must be linked from /static/pdf to its system location
(libjs-pdf in Debian puts it under /usr/share/javascript/pdf).
2015-09-29 18:12:39 +02:00
Frédéric Péters 5de7db7494 mail: generate mail pane from mail application 2015-09-29 18:12:39 +02:00
Frédéric Péters 9acfff2d31 mail: add model and management command to store data 2015-09-29 18:12:39 +02:00
Frédéric Péters 428ea02d75 general: add sources.mail apps 2015-09-29 18:12:39 +02:00
Frédéric Péters b2e2671294 general: support apps registering URLs 2015-09-29 18:12:39 +02:00
Frédéric Péters a025f8c93d misc: serve media and static files 2015-09-29 18:12:39 +02:00
Frédéric Péters 6ef61bb2a5 add fake content to home zones 2015-09-29 18:12:39 +02:00
Frédéric Péters acf7018fe9 add home layout 2015-09-29 18:12:39 +02:00
Frédéric Péters f9d9a6e54f settings: load local_settings.py from environment 2015-07-02 20:17:20 +02:00
Frédéric Péters 26feb97617 django-admin.py startproject welco 2015-07-02 10:46:33 +02:00