Commit Graph

362 Commits

Author SHA1 Message Date
20adbbacf1 context_processors: prevent a null station error when no default station is defined 2023-12-01 15:32:58 +01:00
3c34ca88e2 views/program: allow changing program cover 2023-12-01 15:32:58 +01:00
ff6577d013 misc: add a profile view for authenticated users 2023-12-01 15:32:58 +01:00
f608592267 misc: use the django authentication system 2023-12-01 15:32:58 +01:00
f3335116e2 misc: move station and audio_streams to context_processors (in order to have them available in accounts views) 2023-12-01 15:32:58 +01:00
3759d54c2d misc: edit programs in site 2023-12-01 15:32:54 +01:00
0eeeb3bc09 templates: remove unused program_detail.html 2023-11-20 11:25:14 +01:00
a1d6f0ef4a templatetags: parametrize has_perm() in order to enable aircox namespace permissions 2023-11-20 11:25:14 +01:00
b0afa0fd86 models/program: link to editor groups 2023-11-20 11:25:11 +01:00
92f9a08856 aircox/conf: user cannot edit all programs/episode 2023-11-10 11:36:18 +01:00
9097bced4a models/schedule: order choices alphabetically (#129)
voir ticket #128

Co-authored-by: Christophe Siraut <d@tobald.eu.org>
Reviewed-on: #129
Co-authored-by: Chris Tactic <chris@tacticasbl.be>
Co-committed-by: Chris Tactic <chris@tacticasbl.be>
2023-11-08 18:41:38 +01:00
fd4c765dc4 #123: Sound Monitoring (#125)
110fac70a6 n'est pas lié à #123 (tu peux l'ignorer ici mais #122 (comment))

04f5c3208a : nettoyage d'anciens tests, je ne suis pas parvenu à rétablir le dernier, je l'ai préfixé avec broken_. Il y aurait aussi à supprimer/corriger aircox/tests/management/_test_sound_monitor.py

5a75f42808 : le correctif qui permet d'ajouter des sons dans une émission à l'aide de la commande `sounds_scan`.

Co-authored-by: Christophe Siraut <d@tobald.eu.org>
Reviewed-on: #125
Co-authored-by: Chris Tactic <chris@tacticasbl.be>
Co-committed-by: Chris Tactic <chris@tacticasbl.be>
2023-11-08 18:38:49 +01:00
Thomas Kairos
f7a61fe6c0 Feat: packaging (#127)
- Add configuration files for packaging
- Precommit now uses ruff

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: #127
2023-10-11 10:58:34 +02:00
bkfox
5ea092dba6 fix: default schedule tz + migration 2023-09-28 13:08:08 +02:00
bkfox
876e4cdfa7 feat: add error message page; improve admin ui; add missing test files 2023-09-12 21:00:44 +02:00
Thomas Kairos
a0468899b0 #96: french number abreviations (#116)
From #96: fix french numbers annotations

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: #116
2023-09-12 15:53:11 +02:00
Thomas Kairos
2ce435fb5d !112 !94: tests commons modules that contains most of the logic + zoneinfo (#113)
!112

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: #113
2023-08-23 15:28:17 +02:00
Thomas Kairos
f9ad81ddac !111: tests: aircox.management (#114)
!111

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: #114
2023-06-30 16:39:55 +02:00
bkfox
faecdf5495 fix default schedule timezone value 2023-06-19 23:15:20 +02:00
Thomas Kairos
b453c821c7 #106: tests: aircox_streamer (#110)
- Writes tests for aircox streamer application;
- Add test utilities in aircox

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: #110
2023-06-18 17:00:08 +02:00
bkfox
87394c2955 Merge branch 'develop-1.0' of git.radiocampus.be:rc/aircox into develop-1.0 2023-04-18 18:49:10 +02:00
bkfox
a5cda0b203 reduce tests numbers 2023-04-18 18:47:48 +02:00
Thomas Kairos
86b6a929be #97: Schedule default timezone error + episode model tests (#98)
#97

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: #98
2023-04-18 18:27:33 +02:00
Thomas Kairos
cd19c26e82 #93: reorganise Rerun, Diffusion, Schedule module (#95)
#93

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: #95
2023-04-02 20:37:47 +02:00
bkfox
695e4d7c5d import signals 2023-03-28 14:58:03 +02:00
Thomas Kairos
d89cc98b44 Delete 'aircox/settings.py' 2023-03-28 14:52:50 +02:00
Thomas Kairos
0e183099ed #88 #89 : use pytest + reorganise settings (#92)
- !88 pytest on existing tests
- !89 reorganise settings (! see notes for deployment)

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: #92
2023-03-28 14:40:49 +02:00
bkfox
112770eddf code quality 2023-03-13 17:47:00 +01:00
bkfox
894d7b0149 fix search_fields 2023-03-10 15:17:42 +01:00
bkfox
e9e363a13a handle error when reading using mutagen 2023-01-29 12:42:01 +01:00
bkfox
c2cd3b0301 SoundAdmin.add_view fix 2023-01-25 16:21:19 +01:00
bkfox
9ec25ed109 sound check 2023-01-25 13:02:21 +01:00
bkfox
276e65e0b4 player lists display 2022-12-16 15:31:50 +01:00
bkfox
246eba6654 - player bug in admin fix
- player rendering issue fix
- station.streams property
- glitch in template rendering when page parent is not published
2022-12-16 14:53:11 +01:00
bkfox
8bd11f363b fix json escaping in templates 2022-12-16 11:04:25 +01:00
bkfox
b0eaf0c531 production assets build 2022-12-12 12:40:43 +01:00
bkfox
fceee3146e default display fix 2022-12-12 12:38:20 +01:00
bkfox
d2a65bd1fe various fixes 2022-12-12 12:29:05 +01:00
bkfox
a53a37021c fixes 2022-12-12 03:09:25 +01:00
bkfox
180cc8bc02 - various __all__
- serializer: track search, reorder module files
- autocomplete: allow simple string value selection
- playlist editor:
    - ui & flow improve
    - init data
    - save user settings
    - autocomplete
    - fix bugs
    - discard changes
2022-12-12 00:25:57 +01:00
bkfox
61af53eecb - save & load
- key navigation
- ui improvements
2022-12-11 00:29:53 +01:00
bkfox
cfc0e45439 playlist editor draft 2022-12-10 03:27:27 +01:00
bkfox
80cd5baa18 names & conditional display of audio in admin 2022-10-10 19:25:48 +02:00
bkfox
e873ff71e8 doc 2022-10-10 19:11:40 +02:00
bkfox
1fed61f47f fix sound path query bugs 2022-10-10 19:08:51 +02:00
bkfox
05a3b9c95d path bug 2022-10-10 18:23:19 +02:00
bkfox
ec844297ee voc 2022-10-08 13:46:30 +02:00
bkfox
da42ea4bcf assets as production version 2022-10-07 16:37:21 +02:00
bkfox
78d67a3fbb playlist active item 2022-10-07 16:22:10 +02:00
bkfox
156b0afcb9 add download link; update player and pages layout 2022-10-07 16:15:32 +02:00