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
Marien Fressinaud
aa54f43795
Verbose for unvalid key format
2014-12-10 22:57:43 +01:00
Marien Fressinaud
89d0f98faf
Fix i18n for nav menu
2014-12-10 22:56:36 +01:00
Marien Fressinaud
2f24f0fe88
Fix i18n for aside subscription
2014-12-10 22:37:49 +01:00
Marien Fressinaud
c1b48c4bc0
Fix i18n for aside_stats
2014-12-10 22:32:55 +01:00
Marien Fressinaud
7dee863577
Fix i18n for aside_feed
2014-12-10 22:29:13 +01:00
Marien Fressinaud
f807a6f5c1
Fix i18n for header and aside_configure
2014-12-10 22:10:01 +01:00
Marien Fressinaud
50a926d32d
Merge branch 'dev' into 334-new-i18n
2014-12-10 21:49:35 +01:00
Marien Fressinaud
0b9fa9896e
Update CHANGELOG
2014-12-09 15:44:13 +01:00
Marien Fressinaud
70c1f0ebb0
Fix redirection after feed refresh
...
Fix https://github.com/FreshRSS/FreshRSS/issues/716
2014-12-09 12:43:33 +01:00
Marien Fressinaud
76358846ab
Implement extension deletion
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 13:36:08 +01:00
Marien Fressinaud
0543f96a97
Update comments for ExtensionController
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 13:22:11 +01:00
Marien Fressinaud
28c77f2290
Fix a bug with feed_before_insert hook
...
$feed->name() was called on a null value.
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 13:12:12 +01:00
Marien Fressinaud
188b517daa
Add a feed_before_insert hook
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 13:05:56 +01:00
Marien Fressinaud
a79107fb04
Merge branch 'dev' into 252-extensions
2014-12-08 12:53:01 +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
c6dfec3ad3
Add behaviour to configure action (extensions)
...
- Put extension configure view in dir_ext/configure.phtml
- Handle POST action in Extension->handleConfigureAction() method
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 12:01:47 +01:00
Marien Fressinaud
2232d1e02a
Load user extensions after all the global inits
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07 15:45:34 +01:00
Marien Fressinaud
198b154064
Fix View files inclusion.
...
Now, each part of the view (layout, partials, helpers, views) is included based
on the $base_pathnames attribute.
Extensions can now override all of these files.
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07 15:30:24 +01:00
Marien Fressinaud
ea849d7c68
Prepare better organization of view files for exts
...
View files must be well-splitted to simplify work for extensions.
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07 15:03:42 +01:00
Marien Fressinaud
7ef4d6c033
Fix entry_before_insert hook
...
The hook must be called also in:
- feedController->addAction()
- importExportController->importJson()
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07 14:39:02 +01:00
Marien Fressinaud
5932c3427b
Add entry_before_display hook
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07 14:31:50 +01:00
Marien Fressinaud
08546af75f
Add a first draft for hooks
...
- New Extension->registerHook($hook_name, $hook_function) method to register a new hook
- Only one hook works for the moment: entry_before_insert
- ExtensionManager::callHook will need to evolve based on future hooks
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 18:48:00 +01:00
Marien Fressinaud
bc81979a6b
Add default behaviour for configure / remove ext
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 17:25:01 +01:00
Marien Fressinaud
2da7c05fa6
Update i18n (extensions)
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 17:15:20 +01:00
Marien Fressinaud
9d66462c1d
Fix typo (extensions)
...
- change feedback.extension into feedback.extensions
- disable button is pushed by default
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 16:48:13 +01:00
Marien Fressinaud
4c888590e6
Improve system/user types for extensions
...
- system extensions can only be managed by an administrator
- system extensions are loaded for all users (even if not logged)
- user extensions are loaded for logged users only
- system extensions loading is saved in global config.php file
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 16:41:06 +01:00
Alexis Degrugillier
eaaf8cdbf1
Add comments
2014-12-06 10:27:45 -05:00
Marien Fressinaud
2e4682ebd4
Add enable / disable extension features
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 16:17:11 +01:00
Marien Fressinaud
a08c382e06
Separate views registration from controllers one.
...
- Add an Extension->registerViews() method.
- Views are first searched in extension paths, then in APP_PATH.
- It gives a way to override easily existing controllers / views.
- Change include into an include_once in Dispatcher for new controllers.
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 15:20:20 +01:00
Marien Fressinaud
c6a682deb9
Extensions can define new views
...
- View base pathname is set to the extension directory
- An extension can now override an existing controller / view
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-05 15:27:56 +01:00
Marien Fressinaud
f8aa66152f
Give possibility to register a new Controller.
...
- Add a Extension->registerController(name) method
- Controllers must be written in extension_dir/controllers/nameController.php
- Controllers must be named as FreshExtension_name_Controller
- Controllers must extend Minz_ActionController
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-05 14:48:09 +01:00
Marien Fressinaud
9fc60317ee
First draft for listing and manipulate extensions
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-05 14:17:02 +01:00
Alexis Degrugillier
6a706c95df
fix typo
2014-12-05 07:07:23 -05:00
Alexis Degrugillier
427ab0e875
Merge pull request #724 from Alwaysin/patch-5
...
Add i18n (english) for auto_remove_article #2
2014-12-05 06:54:26 -05:00
Marien Fressinaud
a2da70fd11
Fix security hole from ext.php script.
...
Now, ext.php can only serve file under a EXTENSIONS_PATH/ext_dir/static/ directory.
A 400 Bad Request error will be returned for other files.
See https://github.com/FreshRSS/FreshRSS/issues/252
And https://github.com/FreshRSS/FreshRSS/commit/f9b037742a0aeb49cab86782d1a59913c2de47b
2014-12-05 10:54:44 +01:00
Alwaysin
2a74b9e9a6
Add i18n (english) for auto_remove_article #2
...
Reference : https://github.com/FreshRSS/FreshRSS/pull/694
2014-12-05 09:41:54 +01:00