Jack Cherng
198585d8a0
Fix implode() wrong parameter order ( #6866 )
...
It has been deprecated in PHP 7.4.
Such as PHP deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /var/www/roundcubemail/program/lib/Roundcube/rcube_db.php on line 917
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
5 years ago
Aleksander Machniak
037bc3c94f
Fix code indentation
6 years ago
Aleksander Machniak
a97822eb8b
Remove importgettext.sh and exportgettext.sh scripts
6 years ago
Aleksander Machniak
8e63309203
CS fixes, tabs to spaces
6 years ago
Aleksander Machniak
f7b4ce0412
Remove dumpschema.sh
...
Usefulness of this script is very low, and MDB2 is not our dependency anymore
6 years ago
Aleksander Machniak
e3d3add48a
installto.sh: Add possibility to run the update even on the up-to-date installation ( #6533 )
6 years ago
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
6 years ago
Aleksander Machniak
9ab932d9ba
Remove redundant "ERROR: " prefix
6 years ago
Aleksander Machniak
2f05533710
Small code improvements
6 years ago
Laurent Declercq
ae59269f27
Make use of rcube::raise_error() function for error handling in bin/install-jsdeps.sh ( #6704 )
6 years ago
Cedric Girard
c7677a5722
Follow redirection when downloading with curl ( #6681 )
6 years ago
Aleksander Machniak
fe5b4fd81d
fputs() -> fwrite()
6 years ago
Aleksander Machniak
8ff4fbadb1
Add option to delete users who have not logged in for more than X days ( #6340 )
6 years ago
Rotzbua
f8b6493ecf
Change http to https for plugins.roundcube.net ( #6405 )
6 years ago
Aleksander Machniak
28145a707c
Compat. fix
7 years ago
Aleksander Machniak
58bdf72300
Improve installto.sh script output
7 years ago
Helmut K. C. Tessarek
5c78b8471b
Improve installto.sh (follow-up to PR #6261 ) ( #6263 )
...
If the contents `file` and `file.new` are the same, `file.new` should be removed.
7 years ago
Helmut K. C. Tessarek
ae9f79e155
Improve installto.sh to minimize downtime for an upgrade ( #6261 )
...
- do not overwrite .htaccess and .user.ini (create .new files instead)
- do not copy installer directory, if it does not exist on target
- notify user to delete the 'installer' dir after upgrade
7 years ago
Aleksander Machniak
5ce5f9a8bc
Use Github API as a fallback to fetch js dependencies to workaround throttling issues ( #6248 )
7 years ago
Thomas Bruederli
6c881745d6
Remove deprecated composer package 'endroid/qrcode' on update
7 years ago
Aleksander Machniak
264da42fa5
Use 0775 permission, it's needed for e.g. skins/elastic/deps folder
7 years ago
Aleksander Machniak
4a7603a207
Install Bootstrap and LessJS with install-jsdeps.sh
7 years ago
Nathan Rennie-Waldock
c7b6efdd47
installto.sh: Fix false reporting of failed upgrade ( #6019 )
...
system() returns the last line of output (or false on failure)
rsync will have no output if the file being copied hasn't changed
Signed-off-by: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
7 years ago
Thomas Bruederli
f038784dac
Also rm empty timezone localization files
7 years ago
Aleksander Machniak
3f6ca2cffc
Add --get and --extract arguments and CACHEDIR env-variable support to install-jsdeps.sh ( #5882 )
7 years ago
Aleksander Machniak
5ea0d5bfbb
Support .user.ini in installto.sh
7 years ago
Felix Eckhofer
37d3710574
Fix regression when JAR_DIR is a relative path ( #5815 )
8 years ago
Aleksander Machniak
5597ff2107
Skip js deps installation if there's no jsdeps.json and install-jsdeps.sh
8 years ago
Kai Ren
9a6ab3dc86
Fix absent directory error in `install-jsdeps.sh` when processing `maps` section ( #5819 )
8 years ago
Aleksander Machniak
e5bc7b85e0
Cleanup target /vendor directory from old dependencies
...
- also slightly fixed rsync command syntax
8 years ago
Thomas Bruederli
109ca4dfc2
Fix js-deps check and installation
8 years ago
Thomas Bruederli
0a68b93e73
Update the list of obsolete composer dependencies
8 years ago
Thomas Bruederli
cbef314d69
Run bin/install-jsdeps.sh from installto.sh script
8 years ago
Aleksander Machniak
715e8bf8bd
Print error from CLI scripts when system/exec function is disabled ( #5744 )
8 years ago
Aleksander Machniak
9eefa47e45
Fix codemirror re-installation
...
When re-installing a dependency with 'map' entries containing * character
these dest folders were not properly cleaned up before moving new files
to them. It's because path with * does not work in is_dir().
8 years ago
Aleksander Machniak
20da7f1539
Copy jsdeps.json file on update ( #5598 )
8 years ago
Aleksander Machniak
15d0c55b20
Throw error if one of required programs is not installed ( #5598 )
8 years ago
Aleksander Machniak
25de39d444
Merge branch 'dev-remove-js-deps'
8 years ago
Aleksander Machniak
d28a96e857
Remove old jsdeps.sh script
8 years ago
Aleksander Machniak
3679cb7c34
Add --delete argument to install-jsdeps.sh
8 years ago
Aleksander Machniak
c761f5b6e3
Fix function name
8 years ago
Aleksander Machniak
cb09ff0ffc
Make it working with wget when curl is not installed, mark --force argument as boolean
8 years ago
Thomas Bruederli
40cd8d3bdd
Add --force option + update install insructions ( #5535 )
8 years ago
Thomas Bruederli
10f6fb4cc7
Install script to fetch javascript dependencies defined in jsdeps.json ( #5535 )
8 years ago
Aleksander Machniak
ab429dbef2
Fix rsync error handling in installto.sh script ( #5562 )
8 years ago
Aleksander Machniak
279e11a45d
jsdeps.sh: Store downloaded files in cache folder, add option to install deps from it
...
When in git-master you install deps and then want to switch to an older branch
you'll get a conflict. In such a case you can just call `jsdeps.sh cleanup`
and when you're back in master `jsdeps.sh from-cache` which will be much faster
and do not require re-downloading everything.
8 years ago
Aleksander Machniak
5bae3ca6f5
jsdeps.sh: Add 'cleanup' argument
8 years ago
Aleksander Machniak
12a49437d2
Upgrade to TinyMCE 4.5.1
8 years ago
Aleksander Machniak
7cbade1ade
Cleanup tinymce.zip with localizations
8 years ago
Aleksander Machniak
5e1da48d0c
Remove external javascript code from the git repo, add jsdeps.sh script ( #5535 )
8 years ago