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
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
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
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
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
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
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
d455837c6d
Fix i18n for normal view
2014-12-11 00:00:15 +01:00
Marien Fressinaud
aa54f43795
Verbose for unvalid key format
2014-12-10 22:57:43 +01:00
Marien Fressinaud
a596385343
Fix a security issue in Minz_Error::error()
...
Mehtod must redirect automatically by default to avoid code execution after
calling the method.
2014-12-08 12:37:06 +01:00
Marien Fressinaud
aa232d8fd5
Update the i18n system.
...
Follow recommendations from https://github.com/FreshRSS/FreshRSS/issues/334
2014-12-03 16:45:51 +01:00
Alexandre Alapetite
e4ea629f59
SimplePie: Added unconventional mime type for RSS
...
Since `application/rss+xml` is not official
http://www.iana.org/assignments/media-types/media-types.xhtml , then it
is fair enough to use the `x-` prefix.
https://github.com/FreshRSS/FreshRSS/issues/706
2014-11-12 22:42:47 +01:00
Alexandre Alapetite
56ac35095a
Better error message for inaccessible feeds
...
https://github.com/FreshRSS/FreshRSS/issues/456
2014-11-12 22:23:59 +01:00
Alexandre Alapetite
ba7d63e5ca
Temporarily remove scheme check in referer
...
If needed, we may re-introduce the check for scheme with proper support
for proxy
https://github.com/FreshRSS/FreshRSS/issues/565#issuecomment-61602425
2014-11-04 08:47:23 +01:00
Marien Fressinaud
ba832bef4d
Fix TODO in format_number()
2014-10-30 19:34:36 +01:00
Marien Fressinaud
036240ab01
Fix coding style formatNumber and formatBytes
2014-10-30 19:31:32 +01:00
Marien Fressinaud
ee5bbe4826
Fix bug size with SQLite
2014-10-30 19:19:09 +01:00
Alexandre Alapetite
9f97f7df88
Ne pas rafraîchir les flux des utilisateurs non logués depuis x jours
...
https://github.com/marienfressinaud/FreshRSS/issues/681
Warning: needs some testing
2014-10-29 00:45:42 +01:00
Alexandre Alapetite
00127f07c5
SimplePie: cache feeds with errors
...
Before the cache system was not used for feeds with errors, which was
problematic especially if several users have this feed.
Furthermore, there was no protection against repetitive refresh.
Bonus: slightly better performance by avoiding some superfluous
file_exists().
Warning: needs a bit of testing
https://github.com/marienfressinaud/FreshRSS/issues/681
2014-10-28 23:52:46 +01:00
Alexandre Alapetite
2e5d4d97c9
More limit options in config.php
...
See e.g. https://github.com/marienfressinaud/FreshRSS/issues/681
https://github.com/marienfressinaud/FreshRSS/issues/680
https://github.com/marienfressinaud/FreshRSS/issues/656
2014-10-28 22:29:55 +01:00
Alexandre Alapetite
c6f35ef51c
Global limits for number of feeds and categories
...
New 'limits' sub-array in config.php with 'max_feeds' and
'max_categories'. If the values are < 0, then it is the default value
(16384).
https://github.com/marienfressinaud/FreshRSS/issues/680
2014-10-27 21:45:30 +01:00
Marien Fressinaud
e86a3d0017
Fix pdo checking
...
Show only one message for both mysql and sqlite pdo conf. If one of them is ok,
PDO is ok.
See https://github.com/marienfressinaud/FreshRSS/issues/678
2014-10-26 12:40:42 +01:00
Marien Fressinaud
80cffa6de5
Views are in dedicated actions + improve Context
...
- Seperate normal, global and rss outputs in dedicated actions (NOT WORKING YET!)
- Rewrite aside_flux and nav_menu to use Context object
- Improve Context object
See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-21 16:55:19 +02:00
Marien Fressinaud
8a7bab3a55
Refactoring of indexController
...
Global view has been moved to a different action (all is not working)
See https://github.com/marienfressinaud/FreshRSS/issues/634
and https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-20 19:35:22 +02:00
Marien Fressinaud
61a2f9387f
Fix i18n (french and english)
2014-10-20 12:42:46 +02:00
Marien Fressinaud
7080a32650
Add checking installation feature
2014-10-20 11:54:31 +02:00
Marien Fressinaud
74be86d7e8
Reorganise menus (aside and header)
2014-10-17 16:24:21 +02:00
Marien Fressinaud
5797344aff
Fix a bug to get size of user (SQLite)
2014-10-17 16:24:21 +02:00
Alexandre Alapetite
1283e73d08
SimplePie: bug date CEST
...
https://github.com/marienfressinaud/FreshRSS/issues/659
https://github.com/simplepie/simplepie/pull/380
2014-10-14 20:00:06 +02:00
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
2014-10-07 10:16:38 +02:00
Marien Fressinaud
031c1d802d
Fix a bug (has_transaction)
...
Introduced by the last commit.
2014-10-05 23:57:54 +02:00
Marien Fressinaud
e2da6e6e6b
Refactor feedController
...
See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 23:20:16 +02:00
Alexandre Alapetite
6c1fe11395
SimplePie timeout preference
...
https://github.com/marienfressinaud/FreshRSS/issues/656
TODO: Make a user setting
2014-10-05 20:27:16 +02:00
Marien Fressinaud
d8f4681382
Replace Minz_Log::record by corresponding methods
...
Please not use Minz_Log::record anymore!
See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 19:35:29 +02:00
Marien Fressinaud
6c8b36f04e
Let's begin the big refactoring!
...
Minz_Translate::t\s? replaces by _t
See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 15:55:20 +02:00
Marien Fressinaud
d284958d52
Improve redirection when deleting an idle feed
2014-09-19 19:44:40 +02:00
Marien Fressinaud
fc7d2a0bf2
Move http referer test into lib_rss
...
Rename method (coding style)
Change in app/FreshRSS.php
Improve test of app/install.php
2014-09-17 14:21:56 +02:00
Marien Fressinaud
17d1e67e82
Fix sqlite bug ON DELETE CASCADE
...
Foreign key constraints are not enabled by default.
See https://github.com/marienfressinaud/FreshRSS/issues/579
See http://stackoverflow.com/questions/13534040/sqlite3-foreign-keys-on-pdo
2014-09-16 19:01:24 +02:00
Marien Fressinaud
ef1b35fc43
Merge branch 'dev' into 411-update-system
...
Conflicts:
constants.php
2014-09-08 19:26:35 +02:00
Alexandre Alapetite
c3fd8877c0
Bug warning in case of invalid CDATA
2014-09-06 16:04:49 +02:00
Alexandre Alapetite
a126d99b3c
Bug referer for systems with non-standard HTTP port
...
Now tests also for the scheme and port, which must be identical to the
ones in the referer.
https://github.com/marienfressinaud/FreshRSS/issues/565#issuecomment-53916915
https://github.com/marienfressinaud/FreshRSS/issues/554
2014-08-30 18:31:50 +02:00
Alexandre Alapetite
ee1b8f6f72
Long term cookie to keep session open
...
Token system
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13 00:09:48 +02:00
Marien Fressinaud
f2b1826b47
Fix missing Minz_ prefix in Minz_Helper
...
Nice bug :) It means another hidden bug is now corrected!
2014-08-12 22:27:07 +02:00
Marien Fressinaud
93b2a5f240
Coding style in Minz_Helper
2014-08-12 21:59:07 +02:00
Marien Fressinaud
7900c5e550
Move htmlspecialchars_utf8 from Request to Helper
...
And remove html_chars_utf8 to use htmlspecialchars_utf8 instead in
importExportController
2014-08-12 21:56:34 +02:00