Commit Graph

85 Commits

Author SHA1 Message Date
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
Milan
a769424a6e remove use base Exporter;
no need to call import
2020-11-14 21:06:23 +01:00
Milan
7b565c6d9b use map for table columns 2020-11-14 21:06:23 +01:00
Milan
ea9590f6dc remove brackets from conditions that are not needed 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
1607b5468f calcms/series: reformat 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
da5f7f673d user_default_studios.pm: user defaults
save default studio for each project. on project change the default
studio will be selected.
2020-11-14 21:06:22 +01:00
Milan
9860eee1e2 Refactor markup and creole_wiki 2020-11-14 21:06:22 +01:00
Milan
b9f0870955 markup: cleanup comments 2020-11-14 21:06:22 +01:00
Milan
fbb7e5552b remove debug output in comments 2020-11-14 21:06:22 +01:00
Milan
bf2128f13c show user session stats
all roles having read-user-stats enabled can show a list of user
sessions (last login, creation times, and active flag) to find unused
accounts which could be deactivated.
2020-11-14 21:06:22 +01:00
Milan
9f8170507e use sorted keys on SQL update statement
make sure, sorted keys are used for query and binding variable.
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
eb2986e1da set series predecessor
if series move to another project or studio you can link the new series
to the existing one.
2020-11-14 21:06:22 +01:00
Milan
775ff5f761 series.pm: search for empty name or title
empty name or title search is enabled now to support series without
title
2020-11-14 21:06:22 +01:00
Milan
da68850e1e events.pm: remove Dumper comments 2020-11-14 21:06:22 +01:00
Milan
9792336ac8 filenames
use kebab-case for file names
remove camelCase and snake_case
2020-11-14 21:06:22 +01:00
Milan
c93b394307 fix comment statistics 2020-11-14 21:06:22 +01:00
Milan
72b0408515 db.pm: connection cache 2020-11-14 21:06:22 +01:00
Milan
a7828b52d9 user sessions: use database instead of filesystem
User sessions will be stored in database and not in files anymore.
CGI::Session is not used anymore for this purpose.  The new module
user_sessions.pm provides functions on new database table user_sessions.
2020-11-14 21:06:22 +01:00
Milan
39864053db remove compression from template 2019-10-04 00:41:41 +02:00
Milan
80b1e484d3 redesign login box 2019-10-04 00:41:41 +02:00
Milan
131548fe0d enhance link if password forgotten 2019-10-04 00:41:41 +02:00