Commit Graph

25 Commits

Author SHA1 Message Date
Patrick Kuijvenhoven 40304082bd fix(version): remove whitespace at end of APP_VERSION constant
The Dockerfile contains `echo $VERSION > /version.txt`, where `echo`
implicitly causes a newline at the end of the file. To avoid that,
one could use `echo -n`, but then the file isn't nicely readable when
doing a `cat` or something simular.

This fix `rtrims` (i.e. "Strip whitespace (or other
characters) from the end of a string") the contents of the version file.

Fixes kanboard/kanboard#4708
2021-01-20 20:27:52 -08:00
Rafael de Camargo ac829d4f14 Add error checks to glob function
GLOB_ERR will throw errors if an error occurs,
such as lack of permission
GLOB_NOCHECK will return the pattern if no file
is found, this makes the file_exists check valid
2019-08-03 19:51:50 -07:00
Frédéric Guillot 8c396287ac Improve assets management 2019-07-25 19:23:30 -07:00
Frédéric Guillot 6d2b2f4a79 Simplify local Docker image build 2019-02-27 17:50:18 -08:00
Frédéric Guillot ccd177ada6 Store PHP sessions in the database 2017-12-12 15:04:28 -08:00
Frederic Guillot 2a313eb971 Add the possibility to send tasks and comments to multiple recipients 2017-11-17 14:46:23 -08:00
Frederic Guillot 07c44d2113 Avoid code duplication in PR #2891 2016-12-19 22:27:13 -05:00
phecho 2ed00b69a0
Verify file upload size 2016-12-13 18:21:02 +08:00
Frederic Guillot d8b0423d15
Add suggest menu for user mentions in text editor 2016-11-27 15:44:45 -05:00
Frederic Guillot 44f680cf2f
Add ui to create new custom project roles and column restrictions 2016-09-10 22:37:57 -04:00
Frederic Guillot 700b4e8f02
Associate tags to tasks in BoardFormatter 2016-06-24 10:05:45 -04:00
Frederic Guillot 9e278a9370
Use BoardFormatter to generate the board 2016-06-24 08:50:57 -04:00
Frederic Guillot 42c368cb01 Show version number from git-archive 2016-03-12 10:09:49 -05:00
Frederic Guillot a7f3e3bec5 PHPdoc cleanup 2016-03-04 21:11:12 -05:00
Frederic Guillot 58cef28967 The date time format can be chosen in application settings 2016-02-06 18:08:41 -05:00
Frederic Guillot 7303a79b50 Cleanup and minor fixes 2015-10-19 21:05:41 -04:00
Frederic Guillot 9c9ed02cd7 Change namespace to add Kanboard as prefix 2015-10-13 22:19:17 -04:00
Frederic Guillot 03fc8a1bce Avoid creating multiple instances of Translator 2015-05-24 16:30:40 -04:00
Frederic Guillot 23346d5e76 Move function to the right place (pull-request) and improve board task icons 2015-02-14 18:55:55 -05:00
ashbike 0c60489b08 Task age and days in column shows hours if < 1 day 2015-02-13 11:45:55 +05:30
Frédéric Guillot b081288188 Use Pimple instead of Core\Registry and add Monolog for logging 2014-11-14 22:44:25 -05:00
Frédéric Guillot 135b921db7 Switch to composer 2014-11-04 21:33:05 -05:00
Frédéric Guillot dd7579e5a8 Add phpdoc comments 2014-09-23 19:46:05 +02:00
Frédéric Guillot ab1a4760ed Basic prototype to handle Github webhooks 2014-09-22 14:31:12 +02:00
Frédéric Guillot e1ddf7f012 Run unit tests across different database backends + fix bugs 2014-09-15 22:35:56 +02:00