Commit graph

159 commits

Author SHA1 Message Date
e650d20015 Restore cache 2018-06-30 15:30:09 +02:00
bcf031feee Export other editor 2018-06-24 17:33:32 +02:00
d4820e8b75 Display list confirmation in teacher list 2018-06-23 11:25:26 +02:00
0717581d14 Fix supplies message 2018-06-23 11:14:35 +02:00
95e509c4c1 Allow multiple levels for same supplies. Close #31 2018-06-18 18:26:33 +02:00
712153f425 Fix isbn restore value 2018-06-18 18:19:32 +02:00
d98ac17eae Default to no choice for previously acquired. Close #32 2018-06-18 18:16:09 +02:00
99d0f8b6c5 Fix broken confirm delete page 2018-06-17 12:30:28 +02:00
7d72e633ed Add check icon to add item button 2018-06-17 12:26:03 +02:00
e4fa3ac5a2 Add comments in export 2018-06-17 12:23:25 +02:00
9fd984d30c Use custom checkbox for add_another 2018-06-17 12:19:06 +02:00
2c74ea7a45 Fix other editor would not pop up anymore 2018-06-16 10:54:22 +02:00
979bc005d1 Fix fields were not enabled again after an error response + refactor 2018-06-16 09:58:24 +02:00
6fe21af805 Add a spinner and disable fields when searching Decitre 2018-06-16 09:50:24 +02:00
9cd41b5a3f Validate ISBN before sending the request to Decitre. #28 2018-06-16 09:26:10 +02:00
65031511d0 Use cache to improve ISBN api response time. 2018-06-16 00:15:45 +02:00
5d8c2b9c21 Use custom checkbox for no_book and see_later. Close #30 2018-06-15 23:52:48 +02:00
188f80aa83 Use auto_id for isbn field rendering 2018-06-15 23:50:24 +02:00
7187b11f15 Add valid markers to all fields modified by decitre search 2018-06-15 23:32:48 +02:00
db8e68726b Increase verbosity of error message when searching Decitre 2018-06-15 23:27:16 +02:00
dc2ae9ea81 Allow fetching data from Decitre given ISBN. #28 2018-06-15 23:24:20 +02:00
f98bc4f14d Pimp add book form 2018-06-15 20:46:58 +02:00
8040674be9 Use custom select for level too 2018-06-15 20:40:46 +02:00
8a370d52ab Remove unused console.log 2018-06-15 20:37:15 +02:00
61fe379b97 Improve button emphasis in confirm danger 2018-06-14 00:27:37 +02:00
d7a979dfeb Improve button wording in confirm danger 2018-06-14 00:22:30 +02:00
f240dd8ded Fix responsiveness in confirm danger 2018-06-14 00:19:31 +02:00
73a5a2475a Fix confirm danger text emphasis 2018-06-14 00:19:21 +02:00
cbbefd745d Fix icon in confirm list danger + add icon on button 2018-06-14 00:16:33 +02:00
3c19affff1 Moar icons 2018-06-14 00:12:01 +02:00
efcee5b07f Use custom selects when possible. #30 2018-06-14 00:07:29 +02:00
ef6a7db97a Display other_editor in admin. Fix #27 2018-06-10 22:15:58 +02:00
7b978c9389 Add help text 2018-06-10 20:15:06 +02:00
0563efb631 Display other editor if needed 2018-06-10 20:04:45 +02:00
a4a8dd12ef Allow multiple levels for same book. Generate multiple books. Close #26 2018-06-10 20:03:00 +02:00
031027be0a Redirect to home view if teacher not found. Fix #24, fix #25 2018-06-07 07:57:45 +02:00
f4881ecc77 Add "other editor" field with custom validation 2018-06-07 07:46:47 +02:00
1c01e4f7dc Use float for price field 2018-06-04 18:28:40 +02:00
651907682c Add "see_later" field in form 2018-06-04 18:24:09 +02:00
51be90baad Remove collection from table recap 2018-06-04 18:14:55 +02:00
9e862edb1b Fix form width. Close #21 2018-06-03 16:38:01 +02:00
a41c987193 Remove has_confirmed_list from subscription page. Fix #23 2018-06-03 16:35:40 +02:00
0a93b93a7e Simplify list book and supplies view 2018-06-02 18:56:56 +02:00
21b99158ee Fix settings value 2018-06-02 18:56:56 +02:00
d3d7c0b4a1 Add mail send when confirming. Closes #19 2018-06-02 18:57:02 +02:00
68de1aefea Implement teacher lists confirmation. #19 2018-06-02 18:56:56 +02:00
f548eb711b Fix typo 2018-06-02 17:26:01 +02:00
b7d50b16ea Allow item deletion. Close #18 2018-06-02 17:24:53 +02:00
975775b05f Make table responsive. 2018-06-02 16:58:29 +02:00
0d89adddcd Reduce form wideness. Close #20 2018-06-02 16:55:39 +02:00
97df728101 Fix comment field reference in admin. #11 2018-06-02 16:52:36 +02:00
ef734d7c23 Reduce textareas height. Close #16 2018-06-02 16:52:17 +02:00
21e37ad5c2 Emphasize first paragraph of supplies info. Close #17 2018-06-02 16:43:08 +02:00
dcb783095c Fix filters order. Close #15 2018-06-02 16:41:50 +02:00
dc9634fb5f Fix columns order when exporting. Close #14 2018-06-02 16:40:36 +02:00
4395ee5428 Alphabetically sort editors and teachers. Close #13 2018-06-02 16:39:10 +02:00
d28ce54bc8 Allow edit of done in admin. Close #12 2018-06-02 16:35:57 +02:00
1fe1db483d Display comment in admin. Close #11 2018-06-02 16:35:06 +02:00
e294221748 Fix inheritance in forms 2018-06-02 16:34:15 +02:00
5876525b8e Rename "enseignant" to "coordonnateur". Close #9 2018-06-02 16:31:37 +02:00
17d9798394 Add €uro sign after price 2018-06-02 16:29:16 +02:00
50c4cebc96 Fix "already acquired" pictogram. Close #8 2018-06-02 16:29:06 +02:00
70efe386ec Add admin link for logged users or authorized teacher mails 2018-06-02 11:20:02 +02:00
46a3e18512 Bootstrap 4.0 -> 4.1 2018-06-02 10:59:59 +02:00
111987bdab Fix: old values are retrieved even when not present at page load 2018-06-02 10:11:32 +02:00
601179eba5 Retrieve old values when unchecking "no book for this class". 2018-06-02 09:59:15 +02:00
78cb528fe7 Use text inputs instead of text areas for title and authors. Close #7 2018-06-02 09:58:57 +02:00
2016948119 Don't try to listen to selector events if selector doesn't exist 2018-06-02 09:52:04 +02:00
f21f8a8ac9 Improve editor selection in "no book" case. #4 2018-06-02 09:33:43 +02:00
ddd1043113 Improve info message for supplies 2018-06-01 20:27:38 +02:00
90b9f9946f Edit warning 2018-06-01 20:23:40 +02:00
4cfda7cfc2 Clarify edit action 2018-06-01 20:21:28 +02:00
796d1874da Allow books and supplies editing + refactor. Close #1 2018-05-31 19:11:09 +02:00
8c54fce37e Allow no book for a level/field. Close #4 2018-05-31 08:16:22 +02:00
b77384a8b5 Allow for empty comment 2018-05-31 08:15:20 +02:00
ced070aca9 Add comment field. Close #5 2018-05-30 18:23:19 +02:00
120d4d94ef Add message about supplies. Close #6 2018-05-30 18:14:53 +02:00
1ec152f6c7 Add done field. Close #2 2018-05-30 18:06:40 +02:00
eb88c5d4af Rename fields. Close #3 2018-05-30 18:01:49 +02:00
20ef3ce11d Allow multiple fields for supplies 2018-05-24 00:36:17 +02:00
70fa58fd46 Fix order of export fields and display in admin 2018-05-24 00:31:21 +02:00
35feb6178b Increase buttons verbosity 2018-05-24 00:22:35 +02:00
cff3aef98c Increase length limits 2018-05-24 00:22:35 +02:00
ee8f7807b4 Improve help text for ISBN 2018-05-24 00:22:35 +02:00
1dab5e1c8a Validate phone number against 10 digits 2018-05-24 00:22:35 +02:00
7330e5353f Add clickable link in mail 2018-05-24 00:22:35 +02:00
0f4d66342e Export editor name 2018-05-24 00:22:35 +02:00
a6d1abf2af Remove collection from books 2018-05-24 00:22:35 +02:00
b7d7e7098d Configure logging 2018-05-24 00:22:35 +02:00
c0a1d0cbd7 Add field for supplies 2018-05-22 18:46:49 +02:00
35d7056c17 Fix teacher send action 2018-05-22 11:12:16 +02:00
4abc66d675 Add ability to export data 2018-05-22 11:10:09 +02:00
4499ee8c6b Protect foreign keys 2018-05-22 10:52:03 +02:00
a562f7587a Add missing migration 2018-05-22 10:27:02 +02:00
2791b27729 Allow to send mail via admin interface 2018-05-22 10:24:21 +02:00
7709be0701 Add supplies management + fix "previously acquired" 2018-05-22 10:13:51 +02:00
53285953ad Add created_at and updated_at to all models + improve book admin 2018-05-22 01:50:41 +02:00
a9f050ba77 Improve admin 2018-05-22 01:43:39 +02:00
f97f54b337 Use model for editor 2018-05-22 01:35:05 +02:00
d88693b4b4 Enforce email address uniqueness 2018-05-22 00:55:14 +02:00