Commit Graph

159 Commits

Author SHA1 Message Date
Milan
d2d0f66d04 events.pm: output depends on format 2022-04-22 13:51:59 +02:00
Milan
41ae39771b events.pm: shorter 2022-04-22 13:49:57 +02:00
Milan
b43d10879b events.pm: new filter only_recordings 2022-04-22 13:48:28 +02:00
Milan
f99637a146 events.pm: replace and fix set_listen_key by get_listen_key 2022-04-22 13:46:55 +02:00
Milan
61ab74e7a6 audio.pm: round loudness level 2022-04-22 13:40:46 +02:00
Milan
36204c5a6b events.cgi: add read-only-mode 2022-04-22 13:40:23 +02:00
Milan
124ccdb9a8 password_requests.pm: improve password check
* css for form
* return reason for failed password check
* show check reults as error or info
2021-12-10 17:14:18 +01:00
Milan
b8cc15668d events.pm: support icons_url and thumbs_url 2021-12-10 16:55:44 +01:00
Milan
103e27969b events.pm: show previous and next event
When retrieving individual events, the previous and the following event are determined
according to the current filters to allow navigation between events.
2021-06-27 13:25:46 +02:00
Milan
a304e73145 events.pm: template_params -> tparams 2021-04-11 13:27:33 +02:00
Milan
873d546e13 category: remove
as not used for a long time by now
2021-04-11 13:13:00 +02:00
Milan
10a19398d5 events: infinity scroll 2021-04-11 13:13:00 +02:00
Milan
2a92ecc882 events.pm: fix listen_key
listen_key was built more than once
2021-04-11 13:10:42 +02:00
Milan
15708d951b calendar.js: save selected day start time
set the day start time to the last selecved value for each studio
the user is assigned to.
2021-04-11 13:10:42 +02:00
Milan
7ffc6914b9 audio-recordings.cgi: set upload status
on uploading and audio processing the status is updated
2021-04-11 13:10:42 +02:00
Milan
7926fa41d7 events.pm: get_events without setting listen keys
The option set_no_listen_keys can be used to not check and generate missing
listening keys.
2021-04-11 13:10:42 +02:00
Milan
ef84ca07a3 copying events: save user selection
On copying events from another studio selection will be saved.
The next time one wants to copy saved presets are preselected.
This simplifies to frequently rebroadcast shows from another project.
2021-04-11 13:10:42 +02:00
Milan
36e9b4b5fd ListenerAccess.pm: editor defined audio shares
editors can share broadcast records for 7 days.
2021-04-11 13:10:42 +02:00
Milan
4740d307c4 series.pm: remove whitespaces from eol 2021-04-11 13:10:42 +02:00
Milan
608bcd37ec markup.pm: remove debug output 2021-04-11 13:10:42 +02:00
Milan
e3c3991db6 audio_recordings.pm: active audio uploads
If audio files become inactive because a new file is uploaded, the new
file is marked as active and the old file is marked as not active.
This allows fastly querying events and their active upload file.
Before this change all event's audio files were found and needed to be
filtered afterwards to get a set of unique events.
2021-04-11 13:10:41 +02:00
Milan
57dba5c83f series.pm: remove not needed location
already fetched by select *
2020-12-19 21:45:22 +01:00
Milan
274da97c7c events.pm: fix undef warnings 2020-12-19 21:44:45 +01:00
Milan
51c6a792a5 events.pm: export listen_key 2020-12-15 13:09:52 +01:00
Milan
5b515f1057 events.pm: allow location "_" and "-" in location ids 2020-11-15 20:29:17 +01:00
Milan
a813fdcb25 audio_recordings.pm: fetch without project/studio
for global operations project/studio must not provided on fetching
recordings from database.
2020-11-15 20:29:17 +01:00
Milan
c12d15865f events.pm: remove undefined warnings 2020-11-15 20:29:17 +01:00
Milan
215f425cda configure thumb urls
thumb url base is configured at locations/thumbs_url
2020-11-15 20:29:17 +01:00
Milan
25620ab1f5 listen to records
After the end of a show, the audio recordings are uploaded to a
directory "listen_dir" under a secret name, beginning with the
transmission date "yyyy-mm-dd hh_mm". The directory is available as URL
"listen_url", but must not be listable.  In order to gain access to the
recording for 7 days after the show, a check is done to determine
whether the file is available. A random key for the show is stored in
the database if a file matching the date is found in listen_dir.  With
this key as a name, a symbolic link to the original audio file is
created.  The random name can be used in public documents.  If the show
data is read again, the key will be retrieved from the database. File
access can be restricted by the Apache2 handler ListenerAccess.pm. With
it, access to the public symlink is possible for one week.
2020-11-15 20:29:17 +01:00
Milan
5c7f41dd47 ListenerAccess.pm: file access handler with timeout
grant/deny access to files. File access is denied one week after the given
date in filename. Filenames are indirected by symbolic links.
2020-11-15 20:29:17 +01:00
Milan
123f2046de template.pm: do not expose local path config 2020-11-15 20:29:17 +01:00
Milan
83d3e74561 markup.pm: support simple http links 2020-11-15 20:29:17 +01:00
Milan
9e074f6122 audio.pm: fix division by zero 2020-11-15 20:29:17 +01:00
Milan
000b6ace49 format recurrence date 2020-11-15 20:29:17 +01:00
Milan
c27bbdc27e audio.pm: fix loudness error 2020-11-15 20:29:17 +01:00
Milan
41bd4be39a refactor: remove dead code 2020-11-15 20:29:17 +01:00
Milan
a12bffde44 playout.pm: always update
disable need for update, seems not to be working…
2020-11-15 20:29:17 +01:00
Milan
aca95f627c playout.pm: fix unitialized warnings 2020-11-15 20:29:17 +01:00
Milan
e4eb6db1b8 events.pm: allow title field keys: ekey, skey, stkey
now single fields of full_title can be used in templates.

ekey:  episode
skey:  series
stkey: separator between series and title
2020-11-15 20:29:17 +01:00
Milan
80d7e1bb01 events.pm: remove program 2020-11-15 20:29:16 +01:00
Milan
8008e505b4 calendar: show playout errors 2020-11-15 20:29:16 +01:00
Milan
2360926840 configure site title and description 2020-11-15 20:29:16 +01:00
Milan
4229cb80ad read config as UTF8 2020-11-15 20:29:16 +01:00
Milan
726c5e8fe8 config.pm: replace Config::General
Config::General does not support Apache like definition and use of
variables. A minimal implementation of Apache-like configuration
allows to define variables by
  Define <variable-name> <variable-value>
and use them later by
  ${variable-name}
.
2020-11-15 20:29:16 +01:00
Milan
5c73484638 use entry::set_numbers and setbools for parameters 2020-11-15 20:29:16 +01:00
Milan
94d4ca59d8 set numbered parameters using entry::set_numbers 2020-11-14 21:06:23 +01:00
Milan
b2dc101354 parameter passing and dead code 2020-11-14 21:06:23 +01:00
Milan
dea7f65cea events.pm: parameter passing 2020-11-14 21:06:23 +01:00
Milan
ef7dbb7849 calcms/auth.pm: parameter passing 2020-11-14 21:06:23 +01:00
Milan
25094e45ba calcms/db.pm: parameter passing 2020-11-14 21:06:23 +01:00