Milan
533f7c30c2
fixup! events.pm: fix listen_key
2024-07-26 21:33:34 +02:00
Milan
5329313703
events: always set utc fields
...
Previously utc fields have been set depending on template file names.
Now they are set always.
2024-06-01 15:21:44 +02:00
Milan
df0982c0a6
lib/calcms: remove comments and shorten expressions
2024-04-24 23:20:20 +02:00
Milan
ea952a8021
studio-timeslot: add week in month
2024-04-21 00:14:03 +02:00
Milan
fd952dadfa
events.pm: load recordings for params
...
in the past all recordings have been loaded. At some point this has been
changed to load only active recordings. Now there are params supported
for both forms
all_recordings - all recordings for a broadcast
active_recording - add path of active recordings to broadcast
only_active_recording - show only broadcasts with active recordings
2024-04-18 23:19:54 +02:00
Milan
295faea68d
lib/calcms/startup.pl: get include path from startup.pl directory
2024-03-20 00:21:46 +01:00
Milan
f5abdeac90
audiorecordings.pm: connect locally to detect permissions
2024-02-23 15:27:04 +01:00
Milan
3f5e4a84fb
db.pm: output call stack on error
2024-02-17 20:44:02 +01:00
Milan
8e30d79b75
mail.pm: encode body by quoted printable
...
* fix setting content-type in header
* encode body using quoted printable
Co-authored-by: Raphael Steppert
2024-02-15 21:08:54 +01:00
Milan
0a906b3e37
password_requests.pm: missing sender
...
Email::Simple requires email sender.
2023-10-23 21:40:19 +02:00
Milan
e06e4cbd41
mail.pm: encode body
...
UTF8 bodies must be encoded
2023-10-23 21:39:47 +02:00
Milan
4cba61bf06
startup.pl: use ErrorLog file from Apache2 config
...
requires Apache2::Log from libapache2-mod-perl2
2023-05-22 23:54:53 +02:00
Milan
fe857c6f65
lib: replace shift my @_ (pt2)
2023-05-20 20:22:57 +02:00
Milan
3a1a118eeb
lib: replace shift by @_
2023-05-20 07:59:40 +02:00
Milan
611fad43d4
mail.pm: encode UTF-8 header
2023-05-20 07:59:40 +02:00
Milan
3effdd6ef0
mail.pm: replace MIME::Lite by Email::Sender
...
* mail.pm uses Email:sender to use correct encoding on sending utf-8
encoded emails
* notify-events.cgi now uses mail.pm.
2023-04-23 12:15:18 +02:00
Milan
06f3d86371
create-events.cgi: optionally select series
2023-03-26 12:48:13 +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
3b79d20142
fixup! remove deprecated role model
2023-03-23 21:40:58 +01:00
Milan
2c0bf5887b
uac.pm: add admin permission
...
admin permission is no more dependent on the name
of the role, but can be assigned to any role.
Users assigned to admin role have all permissions.
2023-03-22 00:07:11 +01:00
Milan
92554ebe95
remove deprecated role model
2023-03-22 00:07:11 +01:00
Milan
979377c31d
help-texts: add
...
users with permission edit_help_texts are allowed to select edit help
texts from menu and enter texts for all event fields. Other users will
see help texts as tooltips. This allows to provide help to users
depending on your workflow. help texts are saved by project and studio.
2023-03-21 15:16:10 +01:00
Milan
6e2a04dd94
db.pm: support more names
...
names like "table" or "column" can now be used for column names
2023-03-20 22:55:49 +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
626d16b74a
HTML/Template/Compiled/Plugin/Hyphen: add
...
use escape "hyphen" at HTC templates to concatenate words by hyphens.
This fill fix URLs with filenames generated from series or program
title.
2023-03-19 21:02:21 +01:00
Milan
66ee4ce41e
remove server_cache and client_cache
2023-02-26 23:00:14 +01:00
Milan
9c2cb45047
move config cache/base_url to locations/widget_render_url
2023-02-26 22:52:22 +01:00
Milan
ebd521452a
template: custom themes for agenda
...
For agenda a custom theme can be configured in locations/theme.
Templates are read from the subdirectory "templates/<theme>/". The
default theme is "default". All Templates are moved to
templates/default.
2023-02-25 11:32:51 +01:00
Milan
89c5e80afa
events.pm: remove time_of_day
2023-02-24 22:08:58 +01:00
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