Commit Graph

150 Commits

Author SHA1 Message Date
Milan
a37974bb5e entry.pm: use parser functions 2020-11-15 20:29:16 +01:00
Milan
29951c2f63 category.cgi: remove debug 2020-11-15 20:29:16 +01:00
Milan
b442bf0fc8 update_program.pl: refactor 2020-11-15 20:29:16 +01:00
Milan
90cd9b9620 events.cgi: refactor 2020-11-15 20:29:16 +01:00
Milan
d3762084d6 add_comment.cgi: perltidy 2020-11-15 20:29:16 +01:00
Milan
b72f71e0ac migrate.sql: remove database name 2020-11-15 20:29:16 +01:00
Milan
f9c4e183df uue same order of imports 2020-11-15 20:29:16 +01:00
Milan
219d6d6965 fix image publishing and refactor 2020-11-15 20:29:16 +01:00
Milan
accc9393c7 use entry::element_of to set action parameter 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
07219ad3ee set parameter strings with entry::set_strings 2020-11-14 21:06:23 +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
87094ac537 refactor event and series editor 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
9b392ae0f4 update series image on saving event
series images are assigned to events on saving series.  This change does
also update event image with series image on saving the image.
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
f6f1f33576 calendar.cgi: remove comments 2020-11-14 21:06:22 +01:00
Milan
0e2fc1dbf9 calendar.cgi: first day events before start of day
In calendar view events before the configured start of day where
excluded from query, because start time default was start of day.
2020-11-14 21:06:22 +01:00
Milan
9a85c74b38 warn on unsaved changes after adding image 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
ce59e89420 improve image related messages 2020-11-14 21:06:22 +01:00
Milan
29103161b2 load image editor for selected image 2020-11-14 21:06:22 +01:00
Milan
8b52c8ec4d user view: fix undef error 2020-11-14 21:06:22 +01:00
Milan
6622f2de86 user view: make headline separate line 2020-11-14 21:06:22 +01:00
Milan
4cc6f7ba8c fix whitespaces (tabs) in javascript 2020-11-14 21:06:22 +01:00
Milan
a80afcad99 reformat css 2020-11-14 21:06:22 +01:00
Milan
edb2aa29d7 redesign image editor
- remove zoom
- separate setting public/private from edit form
- prevent assigning image without it has been published
- prevent publishing image without licence
- show buttons depending on license state
- reload view on state change
- gray out not-selected images
2020-11-14 21:06:22 +01:00
Milan
f0be286f47 remove camel-case from file names 2019-10-04 14:18:34 +02:00