Commit Graph

1878 Commits

Author SHA1 Message Date
Marien Fressinaud
5cdfd6d493 Fix and improve actualize_script
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 22:12:48 +01:00
Marien Fressinaud
eff804572f Fix setters on $user_conf
Old setters does not exist anymore, remove them.

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 21:54:46 +01:00
Marien Fressinaud
dd41642ce6 Fix calls to FreshRSS_Configuration
Replaced by a get_user_configuration() function in lib_rss.
This function register a new configuration based on the given username
and return the corresponding configuration.

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 21:40:19 +01:00
Marien Fressinaud
17a280230f Change Minz_Configuration::parseFile() in load()
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 21:16:33 +01:00
Marien Fressinaud
addcea9cd4 Fix i18n loading and availableLanguages calls
- Change the way to init i18n
- Add a availableLanguages() method to Minz_Translate

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 21:10:51 +01:00
Marien Fressinaud
5f9672111f Fix last calls to Minz_Configuration methods
- We have still to fix actualize_script and greader api (refactoring?)
- We have to fix the FreshRSS_Configuration calls
- We have to fix availableLanguages calls

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 20:50:58 +01:00
Marien Fressinaud
d3a93ea290 BREAKING FEATURE: Remove general in config
General attribute has been removed from system config.
Now subattributes (e.g. environment, salt, title, etc.) are directly accessible.

YOU HAVE TO FIX YOUR ./data/config.php file!

- Remove the general array
- Values inside this array must be kept
- To see what it must look like, please have a look to ./data/config.default.php
  (but keep your values!!).

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 18:53:36 +01:00
Marien Fressinaud
d27efeec04 Fix Controllers to use the correct config system
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 17:38:31 +01:00
Marien Fressinaud
7cca47d1ab Change name of user configuration var in Context
- FreshRSS_Context::$conf is replaced by FreshRSS_Context::$user_conf
- Introduce FreshRSS_Context::$system_conf
- Remove FreshRSS_Configuration object

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-05 22:45:03 +01:00
Marien Fressinaud
51a71ec4b9 New configuration system (not working yet)
- Use only Minz_Configuration
- register() method to load a new configuration file
- get() to get a configuration
- new exceptions related to configuration
- fix a list configuration calls to have FRSS working

Current problems to resolve:

- How to handle configuration param verifications (i.e. check auth_type
  is a value from none, http_auth, persona or form)
- We must use $conf = Minz_Configuration::get('system'); $general_conf = $conf->general;
  to access global system configuration which is quite annoying. How to change that?

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-05 16:54:16 +01:00
Marien Fressinaud
7584364a4c Fix behaviour when favicon url is not found
If url is not find, we copy default favicon into favicon dir so at the next
try, we don't search the url again.

See https://github.com/FreshRSS/FreshRSS/issues/290
See https://github.com/FreshRSS/FreshRSS/issues/727
2014-12-29 11:56:22 +01:00
Marien Fressinaud
fcc92fbdf7 Merge branch '290-favicons' into dev 2014-12-29 11:46:31 +01:00
Marien Fressinaud
ea79466582 Fix typo coding style
See https://github.com/FreshRSS/FreshRSS/issues/290
2014-12-29 11:46:01 +01:00
Marien Fressinaud
4f1fc70f87 Change favicon getter behaviour
- Use Favicon library
- Fix coding style
- Change default favicon

Fix https://github.com/FreshRSS/FreshRSS/issues/290
2014-12-29 11:44:25 +01:00
Marien Fressinaud
d234304580 Add files for the new favicon system
Use https://github.com/ArthurHoaro/favicon
See https://github.com/FreshRSS/FreshRSS/issues/290
2014-12-29 11:22:22 +01:00
Marien Fressinaud
249a474703 Fix i18n for check installation
Add keys for user directory checking

See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-28 19:59:07 +01:00
Marien Fressinaud
0cd975bfd0 Merge branch '729-move_data' into dev
To update, please follow instructions in https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-28 19:46:04 +01:00
Marien Fressinaud
497d295be4 Add a default users/_ dir
Useful for default log path

See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-28 19:35:20 +01:00
Marien Fressinaud
c391ca62f1 Remove all old references to LOG_PATH
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-28 18:05:02 +01:00
Marien Fressinaud
039a83759d Fix install.php to consider new data organization
- Introduce USERS_PATH
- Remove LOG_PATH
- Use join_path in install.php
- Change references to old  data files to the new ones
- Update i18n

See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-28 17:42:46 +01:00
Marien Fressinaud
7a967e68ad Merge branch 'dev' into 729-move_data 2014-12-21 17:54:37 +01:00
Marien Fressinaud
5f327abeec Add recursive_unlink function in dev branch 2014-12-21 17:53:03 +01:00
Marien Fressinaud
725aece83e Fix getting db size for sqlite
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-21 17:41:20 +01:00
Marien Fressinaud
966c061b3c Fix listUsers function
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-21 17:38:38 +01:00
Marien Fressinaud
b5bee85603 BREAKING FEATURE: move user data
- Create ./data/users/ folder
- Move user configuration to ./data/users/username/config.php
- Move sqlite db to ./data/users/username/db.sqlite
- Move user logs to ./data/users/username/log.txt

See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-21 13:10:02 +01:00
Alexandre Alapetite
c804a30140 jQuery update from 2.1.1 to 2.1.3
http://blog.jquery.com/2014/12/18/jquery-1-11-2-and-2-1-3-released-safari-fail-safe-edition/
2014-12-18 18:42:21 +01:00
Marien Fressinaud
875b8a72f9 Coding style endforeach (must be avoided) 2014-12-17 21:15:24 +01:00
Marien Fressinaud
7f4ca35fc3 Fix i18n strings for sharing
Fix https://github.com/FreshRSS/FreshRSS/issues/728
2014-12-17 17:21:41 +01:00
Marien Fressinaud
67aa7e76c1 Fix strings and url on auth configuration page 2014-12-13 10:01:31 +01:00
Marien Fressinaud
a91a8f5e93 Changelog (date for .0.9.3) 2014-12-12 19:00:23 +01:00
Marien Fressinaud
6078888de6 Remove user-select: none in theme selector
See https://github.com/FreshRSS/FreshRSS/issues/571
2014-12-12 14:27:50 +01:00
Marien Fressinaud
bf87db31d9 Second fix for theme slider 2014-12-12 12:43:34 +01:00
Marien Fressinaud
c1c0011d04 Quick fix for theme slider
Bluelagoon description was overflowed by its screenshot
2014-12-12 12:40:11 +01:00
Marien Fressinaud
0803078e4c Add a missing i18n string 2014-12-12 00:18:22 +01:00
Marien Fressinaud
efdb80fda7 Merge branch '334-new-i18n' into dev 2014-12-11 23:45:55 +01:00
Marien Fressinaud
9ddf3679c5 Finish to update i18n!!
See https://github.com/FreshRSS/FreshRSS/issues/334
2014-12-11 23:43:55 +01:00
Marien Fressinaud
2d9ab3c6fa Fix english i18n files except the conf one 2014-12-11 23:15:38 +01:00
Marien Fressinaud
a34503a7ab Fix i1_n keys in install script 2014-12-11 22:42:20 +01:00
Marien Fressinaud
bf51a8e875 Fix french i18n for install + some fixes
French is finished!
2014-12-11 22:40:07 +01:00
Marien Fressinaud
a1faa826bf Fix french i18n for last views 2014-12-11 21:44:25 +01:00
Marien Fressinaud
a84e9e50bf Fix french i18n for auth and configure views 2014-12-11 21:15:01 +01:00
Marien Fressinaud
59fc73baa9 Fix i18n for update and user controllers 2014-12-11 19:32:59 +01:00
Marien Fressinaud
fee1ae997a Fix i18n for conf, entry, error, feed Controllers 2014-12-11 19:02:05 +01:00
Marien Fressinaud
c1a3412b97 Fix i18n for auth and category controllers 2014-12-11 18:15:41 +01:00
Marien Fressinaud
0ee16a7d6a Fix i18n for import/export 2014-12-11 17:46:05 +01:00
Marien Fressinaud
cad4259e62 Fix i18n for subscription pages 2014-12-11 17:26:01 +01:00
Marien Fressinaud
f43b273706 Update i18n for statistics 2014-12-11 16:10:39 +01:00
Marien Fressinaud
57bffe83eb Fix i18n for index Controller
Fix strings for:

- about page
- rss and reader views
- fix title of global view
2014-12-11 00:25:02 +01:00
Marien Fressinaud
d455837c6d Fix i18n for normal view 2014-12-11 00:00:15 +01:00
Marien Fressinaud
8a40a72657 Fix i18n for logs, pagination and javascript vars
Logs first to avoid annoying message when refreshing log page
2014-12-10 23:16:12 +01:00