Commit Graph

127 Commits

Author SHA1 Message Date
Milan
320da87467 events.pm: fix undef on prev/next event 2023-02-24 22:08:58 +01:00
Milan
1492045e98 startup.pl: fix perl lib path 2023-02-18 23:33:11 +01:00
Milan
96c5bad0e6 db.pm: fix table columns
-query the previously connected database on fetching table columns
-avoid small/big letter on accessing the database schema
2023-02-17 21:45:56 +01:00
Milan
9d5b154b69 lib/calcms: remove debug code 2022-11-18 23:13:08 +01:00
Milan
580aa66db6 template.pm: invalidate includes if changed 2022-11-18 22:03:39 +01:00
Milan
c14d6a21b0 events.pm: add Dumper::sortkeys 2022-11-18 22:00:01 +01:00
Milan
b28cf1e6e0 db.pm: add long-running connection cache 2022-11-18 21:58:05 +01:00
Milan
1851509586 db.pm: fix "put" and shorter 2022-11-18 21:56:53 +01:00
Milan
b9dd2d1ec9 aggregator.pm: shorter 2022-11-18 21:51:06 +01:00
Milan
e0106e2a0c lib/calcms: remove dead code 2022-11-18 00:18:31 +01:00
Milan
33546b68db auth.pm: login form animation 2022-10-23 22:05:36 +02:00
Milan
1fa21789d9 events.pm: add content-type to query results 2022-10-23 22:05:36 +02:00
Milan
38724c6e70 aggregator.pm: add month filter for events 2022-10-23 22:05:36 +02:00
Milan
d2ebc9d5f5 auth.pm: set samesite header 2022-07-13 14:07:36 +02:00
Milan
0825ea55af events.pm: add local_base_url to template params 2022-04-22 13:57:10 +02:00
Milan
a7d9f543ee events.pm: add template param duration 2022-04-22 13:56:21 +02:00
Milan
e85b9398fe events.pm: allow template html 2022-04-22 13:55:19 +02:00
Milan
8258ab114e events.pm: add query param last_days 2022-04-22 13:53:52 +02:00
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