aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/updateController.php
AgeCommit message (Collapse)Author
2019-11-04Better git fetch (#2626)Gravatar Alexandre Alapetite
Related to https://github.com/FreshRSS/FreshRSS/pull/2625 If for some reasons branches have diverged:, e.g.: ``` $ git status -sb --porcelain remote ## dev...origin/dev [ahead 4, behind 1] ```
2019-11-02Git fetch+reset instead of clean+fetch+merge (#2625)Gravatar Alexandre Alapetite
Fix https://github.com/FreshRSS/FreshRSS/issues/2619 Avoid potentially dangerous git clean, and use more robust fetch + reset strategy instead
2019-08-15tec: Provide a Minz_Mailer class (#2476)Gravatar Marien Fressinaud
* Add Minz_View::_path method (replace change_view) The `_path` method is more powerful since it allows to choose the file extension. It is also Minz_Request-agnostic, which is useful to reuse the Minz_View class in other places. `change_view` is now deprecated and a warning is logged if we use it. * Provide a Minz_Mailer to send emails It uses PHPMailer under the hood and only supports PHP >= 5.5
2019-04-03Revert "Update git command (#2331)"Gravatar Alexis Degrugillier
This reverts commit afd1a8784c2a83426388b39d32703fb82c223f76.
2019-04-03Update git command (#2331)Gravatar Alexis Degrugillier
I removed an unnecessary option and rewrote a short option to use the long option. I find it's easier to understand long options when you don't type them.
2018-09-30git clean before git auto-update (#2036)Gravatar Alexandre Alapetite
* 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
2017-12-02Update panel shows latest version message as success (#1701)Gravatar Kevin Papst
show latest version message as success, FIXES #1586
2017-05-25Do not require write access to check new versionGravatar Alexandre Alapetite
Do not require write access to check if new ZIP version is available https://github.com/FreshRSS/FreshRSS/issues/1450
2017-04-15fix: Fix update via ZIP archiveGravatar Marien Fressinaud
Code from the update server was not loaded anymore before the update process. This commit brings back missing `require`.
2017-02-23Add config option to disable and hide self-updateGravatar Dennis Schwerdel
2016-11-05Add compatibility with git in Web updateGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/907 https://github.com/FreshRSS/FreshRSS/issues/1355
2015-11-02Move auto-update server URL in configurationGravatar Marien Fressinaud
Fix https://github.com/FreshRSS/FreshRSS/issues/1019
2015-07-03Updated log visibilityGravatar Alexandre Alapetite
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
2015-01-19Addressed warnings when reading from new filesGravatar Alexandre Alapetite
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
2015-01-15Improve hook calls and add post_update hookGravatar Marien Fressinaud
- 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.
2015-01-15Remove restriction of 1h for update checkingGravatar Marien Fressinaud
2015-01-13Show the version number during update process.Gravatar Marien Fressinaud
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
2014-12-11Fix i18n for update and user controllersGravatar Marien Fressinaud
2014-10-30Fix Minz_Error::error() -> use default valuesGravatar Marien Fressinaud
2014-10-30Add do_post_update supportGravatar Marien Fressinaud
2014-10-20Add checking installation featureGravatar Marien Fressinaud
2014-10-07Introduce FreshRSS_Auth::hasAccess('admin')Gravatar Marien Fressinaud
Replace Minz_Configuration::isAdmin($user). FreshRSS_Auth::hasAccess() could be extended to others scopes later. See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-06Refactor authentication system.Gravatar Marien Fressinaud
Big work, not finished. A lot of features have been removed. See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-09-17No cache for update systemGravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/616
2014-09-17Move button to apply update outside the messageGravatar Marien Fressinaud
2014-09-16Message if last update checking is closeGravatar Marien Fressinaud
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
2014-09-12Log error if update.freshrss.org is unreachableGravatar Marien Fressinaud
2014-09-12Check if update has been done during last minuteGravatar Marien Fressinaud
Cancel check action if update has been done during last hour.
2014-09-08Add data/last_update.txtGravatar Marien Fressinaud
Remember last update timestamp.
2014-09-08Check FRESHRSS_PATH is writable.Gravatar Marien Fressinaud
FRESHRSS_PATH needs to be writable before performing update.
2014-08-12Update system now uses HTTPS connectionGravatar Marien Fressinaud
- Add some curl checks - Refactor code
2014-08-10Litlle improvements (update system)Gravatar Marien Fressinaud
- Check UPDATE_FILENAME exists before applying update - Add empty line at the end of files
2014-08-10Improve update APIGravatar Marien Fressinaud
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())
2014-08-10Add translations for update systemGravatar Marien Fressinaud
2014-08-09Add basic system of updateGravatar Marien Fressinaud
- 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