Commit Graph

22 Commits

Author SHA1 Message Date
Milan
df0982c0a6 lib/calcms: remove comments and shorten expressions 2024-04-24 23:20:20 +02:00
Milan
3a1a118eeb lib: replace shift by @_ 2023-05-20 07:59:40 +02:00
Milan
2db84415bb config: add audio-upload-hooks
Hooks can be used to automate the process of updating database columns
when new audio files are uploaded.  A hook command reads the path of an
audio file and output a list of database columns to be updated with
their respective values.  Currently, the only supported database tables
are calcms_events and calcms_audio_recordings.  Some examples are
included
2023-03-24 23:01:05 +01:00
Milan
2b1ffda88d series*.pm: set default for zero values
newer database versions are stricter on trying to write '' to integer columns.
2023-03-19 22:44:17 +01:00
Milan
89c5e80afa events.pm: remove time_of_day 2023-02-24 22:08:58 +01:00
Milan
9d5b154b69 lib/calcms: remove debug code 2022-11-18 23:13:08 +01:00
Milan
873d546e13 category: remove
as not used for a long time by now
2021-04-11 13:13:00 +02: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
a769424a6e remove use base Exporter;
no need to call import
2020-11-14 21:06:23 +01:00
Milan
4584125923 remove comments and cleanup 2020-11-14 21:06:23 +01:00
Milan
9b7a1ebc88 support markdown in editor
events can be edited in markdown. markup language can be set in series
template for newly created events.
2020-11-14 21:06:22 +01:00
Milan
41b0495c2e use map instead for on creating hash tables 2020-11-14 21:06:22 +01:00
Milan
fbb7e5552b remove debug output in comments 2020-11-14 21:06:22 +01:00
Milan
b00704cc4b revision and fix episode numbers
episodes can be checked and fixed. On checking errors and warnings are
displayed.  Once only warnings exist, episodes can be fixed.
2020-11-14 21:06:22 +01:00
Milan
d3fc5f998a remove cache
* remove cache, cache setup is not easy, todays servers do not really
* need it anymore
* add prototypes and fix parameter issues
* suppress redefinition
2019-04-22 00:59:40 +02:00
Milan
a6b656779b refactoring
update package definition
fix dependencies
remove global variables
2018-09-02 09:39:24 +02:00
Milan
3e338758e9 fix array length determining and cleanup 2018-08-31 23:15:57 +02:00
Milan
05b1251c1a refactoring
optimize imports
reformat source code
remove unused cpu and memory log functionality
2018-08-29 00:10:15 +02:00
Milan
077d9c5a53 add event creation batch, lib changes for past changes 2018-03-17 13:38:36 +01:00
Milan
aadf3fd06e add user password reset, add series image switch, add image licences, redesign exclude filters 2018-03-17 13:14:13 +01:00
Milan
6222e2a63f add draft status to events 2018-01-25 20:50:44 +01:00
Milan
69e5d0e4c6 copy current state of medienstaatsvertrag.org, to be verified 2017-12-18 10:58:50 +01:00