Commit graph

184 commits

Author SHA1 Message Date
Gabriel Augendre 2a98c4e8d4 Prevent field blocking if search decitre with empty ISBN 2019-06-08 17:16:27 +02:00
Gabriel Augendre 794759a997 Improve search on decitre button 2019-06-08 17:03:02 +02:00
Gabriel Augendre b15bee56aa
Fix CSV export for supplies 2019-06-03 14:45:42 +02:00
Gabriel Augendre c6f9fb4287 Info -> Debug 2019-06-01 21:32:15 +02:00
Gabriel Augendre bd1f5a8257 Debug -> info 2019-06-01 21:25:32 +02:00
Gabriel Augendre ffe69313b1 Add more debug logs 2019-06-01 21:20:32 +02:00
Gabriel Augendre 698747b9bc Add more debug logs 2019-06-01 21:16:17 +02:00
Gabriel Augendre e885e82acd Fix ISBN script 2019-06-01 21:10:29 +02:00
Gabriel Augendre bb7109ff7c Re-add cache 2019-06-01 21:08:17 +02:00
Gabriel Augendre 20369de568 Fix decitre extraction 2019-06-01 21:05:03 +02:00
Gabriel Augendre 28686d8893 Add a success message when sending link to teacher 2019-06-01 20:23:19 +02:00
Gabriel Augendre 5ab72c1279
Fix log message 2019-05-28 13:08:46 +02:00
Gabriel Augendre e63ced82ae
Fix price 2019-05-28 13:06:19 +02:00
Gabriel Augendre b221494834
Fix missing consumable 2019-05-28 12:54:17 +02:00
Gabriel Augendre cfbee2b0dd
Fix self.teacher was None 2019-05-28 12:53:10 +02:00
Gabriel Augendre 9807433fe8
Fix fields 2019-05-28 12:07:05 +02:00
Gabriel Augendre a7bdd5750d
Update admin.py 2019-04-15 17:39:08 +02:00
Gabriel Augendre 58da7b5f05 Easy edition of level order in admin list 2019-04-06 19:32:47 +02:00
Gabriel Augendre 52fc5450a1 Add consumable in book admin 2019-04-06 19:28:27 +02:00
Gabriel Augendre c723528c54 Use a nice checkbox for "add another supplies" 2019-04-06 19:26:50 +02:00
Gabriel Augendre e6ffcf4712 Fix typo 2019-04-06 19:26:30 +02:00
Gabriel Augendre 900bc53ab8 Allow only one discipline per supplies requirement 2019-04-06 19:26:06 +02:00
Gabriel Augendre 62269ec957 Add ordering for levels 2019-04-06 19:25:34 +02:00
Gabriel Augendre fd8af82a71 Add consumable notion for books 2019-04-06 19:25:04 +02:00
Gabriel Augendre ff2df691e7 Add migrations for verbose names 2019-04-01 20:37:31 +02:00
Gabriel Augendre e650d20015 Restore cache 2018-06-30 15:30:09 +02:00
Gabriel Augendre bcf031feee Export other editor 2018-06-24 17:33:32 +02:00
Gabriel Augendre d4820e8b75 Display list confirmation in teacher list 2018-06-23 11:25:26 +02:00
Gabriel Augendre 0717581d14 Fix supplies message 2018-06-23 11:14:35 +02:00
Gabriel Augendre 95e509c4c1 Allow multiple levels for same supplies. Close #31 2018-06-18 18:26:33 +02:00
Gabriel Augendre 712153f425 Fix isbn restore value 2018-06-18 18:19:32 +02:00
Gabriel Augendre d98ac17eae Default to no choice for previously acquired. Close #32 2018-06-18 18:16:09 +02:00
Gabriel Augendre 99d0f8b6c5 Fix broken confirm delete page 2018-06-17 12:30:28 +02:00
Gabriel Augendre 7d72e633ed Add check icon to add item button 2018-06-17 12:26:03 +02:00
Gabriel Augendre e4fa3ac5a2 Add comments in export 2018-06-17 12:23:25 +02:00
Gabriel Augendre 9fd984d30c Use custom checkbox for add_another 2018-06-17 12:19:06 +02:00
Gabriel Augendre 2c74ea7a45 Fix other editor would not pop up anymore 2018-06-16 10:54:22 +02:00
Gabriel Augendre 979bc005d1 Fix fields were not enabled again after an error response + refactor 2018-06-16 09:58:24 +02:00
Gabriel Augendre 6fe21af805 Add a spinner and disable fields when searching Decitre 2018-06-16 09:50:24 +02:00
Gabriel Augendre 9cd41b5a3f Validate ISBN before sending the request to Decitre. #28 2018-06-16 09:26:10 +02:00
Gabriel Augendre 65031511d0 Use cache to improve ISBN api response time. 2018-06-16 00:15:45 +02:00
Gabriel Augendre 5d8c2b9c21 Use custom checkbox for no_book and see_later. Close #30 2018-06-15 23:52:48 +02:00
Gabriel Augendre 188f80aa83 Use auto_id for isbn field rendering 2018-06-15 23:50:24 +02:00
Gabriel Augendre 7187b11f15 Add valid markers to all fields modified by decitre search 2018-06-15 23:32:48 +02:00
Gabriel Augendre db8e68726b Increase verbosity of error message when searching Decitre 2018-06-15 23:27:16 +02:00
Gabriel Augendre dc2ae9ea81 Allow fetching data from Decitre given ISBN. #28 2018-06-15 23:24:20 +02:00
Gabriel Augendre f98bc4f14d Pimp add book form 2018-06-15 20:46:58 +02:00
Gabriel Augendre 8040674be9 Use custom select for level too 2018-06-15 20:40:46 +02:00
Gabriel Augendre 8a370d52ab Remove unused console.log 2018-06-15 20:37:15 +02:00
Gabriel Augendre 61fe379b97 Improve button emphasis in confirm danger 2018-06-14 00:27:37 +02:00
Gabriel Augendre d7a979dfeb Improve button wording in confirm danger 2018-06-14 00:22:30 +02:00
Gabriel Augendre f240dd8ded Fix responsiveness in confirm danger 2018-06-14 00:19:31 +02:00
Gabriel Augendre 73a5a2475a Fix confirm danger text emphasis 2018-06-14 00:19:21 +02:00
Gabriel Augendre cbbefd745d Fix icon in confirm list danger + add icon on button 2018-06-14 00:16:33 +02:00
Gabriel Augendre 3c19affff1 Moar icons 2018-06-14 00:12:01 +02:00
Gabriel Augendre efcee5b07f Use custom selects when possible. #30 2018-06-14 00:07:29 +02:00
Gabriel Augendre ef6a7db97a Display other_editor in admin. Fix #27 2018-06-10 22:15:58 +02:00
Gabriel Augendre 7b978c9389 Add help text 2018-06-10 20:15:06 +02:00
Gabriel Augendre 0563efb631 Display other editor if needed 2018-06-10 20:04:45 +02:00
Gabriel Augendre a4a8dd12ef Allow multiple levels for same book. Generate multiple books. Close #26 2018-06-10 20:03:00 +02:00
Gabriel Augendre 031027be0a Redirect to home view if teacher not found. Fix #24, fix #25 2018-06-07 07:57:45 +02:00
Gabriel Augendre f4881ecc77 Add "other editor" field with custom validation 2018-06-07 07:46:47 +02:00
Gabriel Augendre 1c01e4f7dc Use float for price field 2018-06-04 18:28:40 +02:00
Gabriel Augendre 651907682c Add "see_later" field in form 2018-06-04 18:24:09 +02:00
Gabriel Augendre 51be90baad Remove collection from table recap 2018-06-04 18:14:55 +02:00
Gabriel Augendre 9e862edb1b Fix form width. Close #21 2018-06-03 16:38:01 +02:00
Gabriel Augendre a41c987193 Remove has_confirmed_list from subscription page. Fix #23 2018-06-03 16:35:40 +02:00
Gabriel Augendre 0a93b93a7e Simplify list book and supplies view 2018-06-02 18:56:56 +02:00
Gabriel Augendre 21b99158ee Fix settings value 2018-06-02 18:56:56 +02:00
Gabriel Augendre d3d7c0b4a1 Add mail send when confirming. Closes #19 2018-06-02 18:57:02 +02:00
Gabriel Augendre 68de1aefea Implement teacher lists confirmation. #19 2018-06-02 18:56:56 +02:00
Gabriel Augendre f548eb711b Fix typo 2018-06-02 17:26:01 +02:00
Gabriel Augendre b7d50b16ea Allow item deletion. Close #18 2018-06-02 17:24:53 +02:00
Gabriel Augendre 975775b05f Make table responsive. 2018-06-02 16:58:29 +02:00
Gabriel Augendre 0d89adddcd Reduce form wideness. Close #20 2018-06-02 16:55:39 +02:00
Gabriel Augendre 97df728101 Fix comment field reference in admin. #11 2018-06-02 16:52:36 +02:00
Gabriel Augendre ef734d7c23 Reduce textareas height. Close #16 2018-06-02 16:52:17 +02:00
Gabriel Augendre 21e37ad5c2 Emphasize first paragraph of supplies info. Close #17 2018-06-02 16:43:08 +02:00
Gabriel Augendre dcb783095c Fix filters order. Close #15 2018-06-02 16:41:50 +02:00
Gabriel Augendre dc9634fb5f Fix columns order when exporting. Close #14 2018-06-02 16:40:36 +02:00
Gabriel Augendre 4395ee5428 Alphabetically sort editors and teachers. Close #13 2018-06-02 16:39:10 +02:00
Gabriel Augendre d28ce54bc8 Allow edit of done in admin. Close #12 2018-06-02 16:35:57 +02:00
Gabriel Augendre 1fe1db483d Display comment in admin. Close #11 2018-06-02 16:35:06 +02:00
Gabriel Augendre e294221748 Fix inheritance in forms 2018-06-02 16:34:15 +02:00
Gabriel Augendre 5876525b8e Rename "enseignant" to "coordonnateur". Close #9 2018-06-02 16:31:37 +02:00
Gabriel Augendre 17d9798394 Add €uro sign after price 2018-06-02 16:29:16 +02:00
Gabriel Augendre 50c4cebc96 Fix "already acquired" pictogram. Close #8 2018-06-02 16:29:06 +02:00
Gabriel Augendre 70efe386ec Add admin link for logged users or authorized teacher mails 2018-06-02 11:20:02 +02:00
Gabriel Augendre 46a3e18512 Bootstrap 4.0 -> 4.1 2018-06-02 10:59:59 +02:00
Gabriel Augendre 111987bdab Fix: old values are retrieved even when not present at page load 2018-06-02 10:11:32 +02:00
Gabriel Augendre 601179eba5 Retrieve old values when unchecking "no book for this class". 2018-06-02 09:59:15 +02:00
Gabriel Augendre 78cb528fe7 Use text inputs instead of text areas for title and authors. Close #7 2018-06-02 09:58:57 +02:00
Gabriel Augendre 2016948119 Don't try to listen to selector events if selector doesn't exist 2018-06-02 09:52:04 +02:00
Gabriel Augendre f21f8a8ac9 Improve editor selection in "no book" case. #4 2018-06-02 09:33:43 +02:00
Gabriel Augendre ddd1043113 Improve info message for supplies 2018-06-01 20:27:38 +02:00
Gabriel Augendre 90b9f9946f Edit warning 2018-06-01 20:23:40 +02:00
Gabriel Augendre 4cfda7cfc2 Clarify edit action 2018-06-01 20:21:28 +02:00
Gabriel Augendre 796d1874da Allow books and supplies editing + refactor. Close #1 2018-05-31 19:11:09 +02:00
Gabriel Augendre 8c54fce37e Allow no book for a level/field. Close #4 2018-05-31 08:16:22 +02:00
Gabriel Augendre b77384a8b5 Allow for empty comment 2018-05-31 08:15:20 +02:00