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
Aleksander Machniak
c845343916
Shrink CodeMirror code
8 years ago
Aleksander Machniak
292b18b040
Use ECMASCRIPT5 and newest closure compiler
8 years ago
Aleksander Machniak
04aa29493c
Fix so upgrade script makes sure program/lib directory does not contain old libraries ( #5287 )
9 years ago
Aleksander Machniak
d61d33a12a
Fix handling of --delete argument in moduserprefs.sh script ( #5296 )
9 years ago
Thomas Bruederli
26c4006c87
Improve migration of the composer.json file when updating
9 years ago
Aleksander Machniak
e0481f0ccb
Save copy of original .htaccess file when using installto.sh script (1490623)
9 years ago
Aleksander Machniak
14b8b4def4
Remove also old .htaccess file that is not used anymore ( #1489980 )
9 years ago
Aleksander Machniak
67fac374a3
Fix so gc.sh script removes also expired sessions from sql database ( #1490512 )
9 years ago
Aleksander Machniak
1b39d9a6c7
PHP7: Fixed some E_WARNING errors that previously were E_STRICT
9 years ago
Thomas Bruederli
a612c59a0f
Fix composer.json update routine
10 years ago
Aleksander Machniak
8042e13af6
Add --config and --type options to moduserprefs.sh script ( #1490051 )
10 years ago
Aleksander Machniak
e7620812b0
Installer: Remove system() function use ( #1490139 )
...
Move some functionality of scripts from bin/ into rcmail_utils class
10 years ago
Aleksander Machniak
b86e091fcd
Add initdb.sh to create database from initial.sql script with prefix support ( #1490188 )
10 years ago
Thomas Bruederli
96dee98e7f
Copy the first comment block with license information for LibreJS when minifying
10 years ago
Thomas Bruederli
9a3fe2aacd
Complete the repositories section in composer.json during update
10 years ago