Commit Graph

10095 Commits

Author SHA1 Message Date
Oliver
e303b5a39b Catch for null value for settings choices 2021-11-09 22:37:50 +11:00
Oliver
8d7b73e2a8 Adds support for "multiple choice" field 2021-11-09 22:25:42 +11:00
Oliver
721d10a9ec Allow empty URLs 2021-11-09 22:14:26 +11:00
Oliver
1e80e33634 typo fix 2021-11-09 21:49:14 +11:00
Oliver
11dd187df2 javascript linting 2021-11-09 21:43:47 +11:00
Oliver
6347345c23 Ignore template files in common 2021-11-09 21:40:35 +11:00
Oliver
7dce9f3f3b PEP fixes 2021-11-09 21:37:54 +11:00
Oliver
476d2545ad Remove old server-side view 2021-11-09 21:33:32 +11:00
Oliver
eb5b810be0 Update displayed setting when API returns success 2021-11-09 21:29:31 +11:00
Oliver
5df4374607 javascript for editing settings via API 2021-11-09 21:16:37 +11:00
Oliver
324335a620 Convert to "native value" in the serializer 2021-11-09 17:43:36 +11:00
Oliver
4433befbdc Add list of 'choices' (read only) to serializer
- Check that the specified value is one of the valid options (if provided)
2021-11-09 17:21:59 +11:00
Oliver
07851f0b2c Include 'setting type' in API data 2021-11-09 17:07:41 +11:00
Oliver
0374c27d7c Adds "detail" view for user setting
- Users can only view / edit their own settings
2021-11-09 16:14:10 +11:00
Oliver
f3b4f7aa28 Add "detail" view for global settings objects
- Can view and edit (but not delete)
- User must have "staff" status to access
2021-11-09 16:07:25 +11:00
Oliver
cb583eb466 Add LIST endpoint for global settngs and user settings
- Read only, cannot create new settings
- User settings filters against the user making the request
2021-11-09 15:59:09 +11:00
Oliver
6c8f04b387
Merge pull request #2274 from SchrodingersGat/po-receive-fix
Add unit test to check an "empty" (null) barcode can be supplied
2021-11-09 12:38:56 +11:00
Oliver
30684685f9 Add unit test to check an "empty" (null) barcode can be supplied 2021-11-09 12:07:57 +11:00
Oliver
1520c296dd
Merge pull request #2270 from SchrodingersGat/navbar-fix
Fixes navbar menu positioning for smaller screens
2021-11-08 17:44:21 +11:00
Oliver
8fee117870
Merge pull request #2273 from SchrodingersGat/owner-filter
Adds search capability to "owner" API
2021-11-08 17:11:20 +11:00
Oliver
f1eaeef949 PEP fixes 2021-11-08 16:53:43 +11:00
Oliver
ca0619a482 Adds API filtering for the "user" list 2021-11-08 16:53:15 +11:00
Oliver
3d553cf7de Adds search capability to "owner" API
- Currently a bit of a hack, but it works...
2021-11-08 16:49:15 +11:00
Oliver
2c889fbcff
Merge pull request #2272 from SchrodingersGat/convert-to-variant-fix
Convert to variant fix
2021-11-08 15:56:45 +11:00
Oliver
619c029d3d
Merge pull request #2271 from SchrodingersGat/stock-actions-fix
Fix missing actions for stock item
2021-11-08 15:10:46 +11:00
Oliver
cb075ed2c2 Fix logic for converting stock items to applicable variants 2021-11-08 15:10:41 +11:00
Oliver
64f5007d3a Fix missing actions for stock item
(cherry picked from commit c128438ebf)
2021-11-08 14:50:03 +11:00
Oliver
c128438ebf Fix missing actions for stock item 2021-11-08 14:47:14 +11:00
Oliver
bcc086657a
Merge pull request #2269 from SchrodingersGat/bo-form
Improvements for build order forms
2021-11-08 14:28:34 +11:00
Oliver
35cfa387d1 Fixes navbar menu positioning for smaller screens 2021-11-08 13:38:03 +11:00
Oliver
b2ae346343 Provide model-level default function option 2021-11-08 13:30:59 +11:00
Oliver
8d5c3ab18a add extra icons for build order form 2021-11-08 13:10:33 +11:00
Oliver
9c2193a4cc
Merge pull request #2265 from matmair/matmair/issue2257
Matmair/issue2257
2021-11-08 11:10:53 +11:00
Oliver
a12baadc09
Merge pull request #2266 from SchrodingersGat/login-tweaks
Login tweaks
2021-11-08 10:19:23 +11:00
Oliver
96e8c499fc
Merge pull request #2262 from matmair/ui-tweaks
Small UI tweaks
2021-11-08 10:00:20 +11:00
Oliver
ac97edd18b JS linting 2021-11-08 09:58:55 +11:00
Oliver
c9924470ad Replace dialog messages with alerts 2021-11-08 09:44:45 +11:00
Oliver
ef75838ab8 Properly display notifications when logging in 2021-11-08 09:34:57 +11:00
Oliver
079c08ef7d Tweaks to account screens css 2021-11-08 09:34:42 +11:00
Matthias Mair
87539c7aac select for languages should be wide enough 2021-11-06 20:59:02 +00:00
Matthias Mair
30aa072537 fix message 2021-11-06 20:49:09 +00:00
Matthias Mair
45b7bc0c51 always show the current language 2021-11-06 20:41:52 +00:00
Matthias Mair
dccc832779 fix logic 2021-11-06 20:41:29 +00:00
Matthias Mair
cea466973a Check if language has enough translations
Fixes #2257
2021-11-06 19:55:02 +00:00
Matthias Mair
857cdd5aea Enlsigh is the base - always translated!
Fixes #2257
2021-11-06 17:41:11 +00:00
Matthias Mair
bbd723a176 fix QR code alingment 2021-11-06 15:11:31 +00:00
Matthias Mair
ad5ba96278 move toggler to the end 2021-11-06 15:07:01 +00:00
Matthias Mair
19a3568511 fix nav arranging on mobile 2021-11-06 15:02:40 +00:00
Matthias Mair
d604b2afff make padding uniform 2021-11-06 14:44:46 +00:00
Matthias Mair
5550c89b9a make padding uniform 2021-11-06 14:44:31 +00:00