Commit Graph

7003 Commits

Author SHA1 Message Date
Marien Fressinaud
60563283cc Fix greader api script with new config system
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 23:16:57 +01:00
Marien Fressinaud
c96e1d9aec Coding style in actualize_script 2015-01-06 23:07:57 +01:00
Marien Fressinaud
cf406fc575 Fix a bug of authentication in actualize_script
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 23:06:17 +01:00
Marien Fressinaud
8e6ab12e89 Fix a bug in FreshRSS_Auth::giveAccess()
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 22:43:24 +01:00
Marien Fressinaud
ce9298439b Fix a call to $system_conf
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 22:15:51 +01:00
Marien Fressinaud
ff1e989de1 Fix a call to availableLanguages() (bad object)
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 22:14:14 +01:00
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
Marien Fressinaud
26da4aa448 Update Minz_Translation
- Give possibility to register new i18n files
- Add a extension->registerTranslates() method
- extensions can define new strings or override previous ones

Fix https://github.com/FreshRSS/FreshRSS/issues/731
2014-12-18 18:59:13 +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
251d5a78ce Fix php interpretation in configure.phtml file
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-18 13:57:25 +01:00
Marien Fressinaud
04b9bd0b49 Fix i18n for extension system 2014-12-17 21:44:00 +01:00
Marien Fressinaud
0b89867800 Merge branch 'dev' into 252-extensions
Conflicts:
	app/i18n/en/admin.php
	app/i18n/en/feedback.php
	app/i18n/en/gen.php
	app/i18n/fr/admin.php
	app/i18n/fr/feedback.php
	app/i18n/fr/gen.php
	app/views/index/normal.phtml
2014-12-17 21:41:33 +01:00
Marien Fressinaud
930026df21 Fix bug with new file organisation
entry_bottom.phtml didn't find $feed variable. It's fixed now.
2014-12-17 21:25:20 +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
caa274c75b Version 0.9.3 0.9.3 2014-12-12 19:01:20 +01:00
Marien Fressinaud
78dbc4a714 Merge branch 'dev' into beta 2014-12-12 19:00:48 +01:00
Marien Fressinaud
a91a8f5e93 Changelog (date for .0.9.3) 2014-12-12 19:00:23 +01:00
Marien Fressinaud
eabcf90f52 Merge branch 'dev' into beta
Conflicts:
	app/i18n/en.php
	app/i18n/fr.php
2014-12-12 18:58:34 +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