Alexandre Alapetite
83756c657f
git clean before git auto-update ( #2036 )
...
* git clean before git auto-update
To avoid https://github.com/FreshRSS/FreshRSS/issues/2012 in the future
* More generic SQLite file filter
* Another -f
https://git-scm.com/docs/git-clean
6 years ago
Kevin Papst
8abfe1cf28
Update panel shows latest version message as success ( #1701 )
...
show latest version message as success, FIXES #1586
7 years ago
Alexandre Alapetite
20d1301b46
Do not require write access to check new version
...
Do not require write access to check if new ZIP version is available
https://github.com/FreshRSS/FreshRSS/issues/1450
7 years ago
Marien Fressinaud
9ce0bca45f
fix: Fix update via ZIP archive
...
Code from the update server was not loaded anymore before the update
process. This commit brings back missing `require`.
8 years ago
Dennis Schwerdel
59d6f3593c
Add config option to disable and hide self-update
8 years ago
Alexandre Alapetite
21e6359508
Add compatibility with git in Web update
...
https://github.com/FreshRSS/FreshRSS/issues/907
https://github.com/FreshRSS/FreshRSS/issues/1355
8 years ago
Marien Fressinaud
bb0556543d
Move auto-update server URL in configuration
...
Fix https://github.com/FreshRSS/FreshRSS/issues/1019
9 years ago
Alexandre Alapetite
079150eee4
Updated log visibility
...
In particular, ensure that ERROR is only used for errors that may affect
FreshRSS integrity, and ensure that feed errors are visible also in
production, i.e. visibility of WARNING
https://github.com/FreshRSS/FreshRSS/issues/885
https://github.com/FreshRSS/FreshRSS/issues/884
9 years ago
Alexandre Alapetite
d30b3becfa
Addressed warnings when reading from new files
...
There were warnings when reading extensions (trying to use e.g. README
and .gitignore as directories), and when reading update file.
https://github.com/FreshRSS/FreshRSS/issues/733
10 years ago
Marien Fressinaud
13cf8b5f9f
Improve hook calls and add post_update hook
...
- To the hook is associated a method signature (OneToOne or NoneToNone for now) so
it is easier to call hooks correctly
- post_update hook is called during the post update moment.
10 years ago
Marien Fressinaud
556f4ad4bf
Remove restriction of 1h for update checking
10 years ago
Marien Fressinaud
e7c24b5d41
Show the version number during update process.
...
Number is stored inside the data/last_update.txt file and shown if there
is an update script.
See https://github.com/FreshRSS/FreshRSS/issues/699
10 years ago
Marien Fressinaud
59fc73baa9
Fix i18n for update and user controllers
10 years ago
Marien Fressinaud
58deab37cd
Fix Minz_Error::error() -> use default values
10 years ago
Marien Fressinaud
9478d2f011
Add do_post_update support
10 years ago
Marien Fressinaud
7080a32650
Add checking installation feature
10 years ago
Marien Fressinaud
6009990935
Introduce FreshRSS_Auth::hasAccess('admin')
...
Replace Minz_Configuration::isAdmin($user). FreshRSS_Auth::hasAccess() could
be extended to others scopes later.
See https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Marien Fressinaud
79aa5beaf4
Refactor authentication system.
...
Big work, not finished. A lot of features have been removed.
See https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Marien Fressinaud
3b8c381689
No cache for update system
...
See https://github.com/marienfressinaud/FreshRSS/issues/616
10 years ago
Marien Fressinaud
a3b5e72729
Move button to apply update outside the message
10 years ago
Marien Fressinaud
a4e43e9c53
Message if last update checking is close
...
last_update.txt is updated even if there is no update
If last_update.txt has been modified during last hour, show a message
See https://github.com/marienfressinaud/FreshRSS/issues/480#issuecomment-55765373
10 years ago
Marien Fressinaud
098f5e6d74
Log error if update.freshrss.org is unreachable
10 years ago
Marien Fressinaud
213bc2b9dd
Check if update has been done during last minute
...
Cancel check action if update has been done during last hour.
10 years ago
Marien Fressinaud
d59eebf542
Add data/last_update.txt
...
Remember last update timestamp.
10 years ago
Marien Fressinaud
48f91da2e5
Check FRESHRSS_PATH is writable.
...
FRESHRSS_PATH needs to be writable before performing update.
10 years ago
Marien Fressinaud
909d8747ba
Update system now uses HTTPS connection
...
- Add some curl checks
- Refactor code
10 years ago
Marien Fressinaud
3ca8c7ec4c
Litlle improvements (update system)
...
- Check UPDATE_FILENAME exists before applying update
- Add empty line at the end of files
10 years ago
Marien Fressinaud
9a5d6245fb
Improve update API
...
Update script must implement 4 functions:
- apply_update() to perform the update (most important). Return true if
all is ok, else false.
- need_info_update() returns true if we need more info for update, else
false. If this function always returns false, you don't need to
implement following functions (but it's better to not forget)
- ask_info_update() should be a HTML form to ask infos. Method must be
post and action must point to _url('update', 'apply') (or leave it
blank)
- save_info_update() is called for POST requests (to save form from
ask_info_update())
10 years ago
Marien Fressinaud
7ed111b1bf
Add translations for update system
10 years ago
Marien Fressinaud
e7dba0ce7c
Add basic system of update
...
- Check on update.freshrss.org for new updates
- Download script
- Apply script
- Need translations and verifications
NOTE: current script on server indicates version 0.7.3 is an update
of 0.8-dev ==> IT'S ONLY FOR MY TESTS!
Script just does a backup of ./data actually...
See https://github.com/marienfressinaud/FreshRSS/issues/411
10 years ago