Marien Fressinaud
fa2254cd31
Fix i18n string for errors in feed management
...
See https://github.com/FreshRSS/FreshRSS/issues/755
2015-01-17 23:09:38 +01:00
Alexis Degrugillier
b17cdadf15
Add the first unit test
...
Add phpunit configuration to run tests and add the first running test to validate the configuration
2015-01-17 10:42:24 -05:00
Marien Fressinaud
53cdfc660f
Fix #slider in Dark theme
...
See 6b560c6133
Fix https://github.com/FreshRSS/FreshRSS/issues/750
2015-01-17 11:38:27 +01:00
Alexis Degrugillier
6b560c6133
Fix slider css rule (see issue #750 )
2015-01-17 00:08:31 -05:00
Marien Fressinaud
880644a289
Merge pull request #749 from yaurthek/dev
...
Small adjustments to the readme file
2015-01-16 23:47:43 +01:00
Marien Fressinaud
409e09f685
Simplify shortcut setter
2015-01-16 23:38:12 +01:00
Melvyn
fa376f746a
Updated README.md
2015-01-16 23:31:55 +01:00
Marien Fressinaud
f3d74b59e8
Fix a bug when default view is the global one.
...
If default view is "global", the popup tried to get articles on the
default view which was… "global"! Articles are present on the "normal" view
instead.
2015-01-16 23:26:29 +01:00
Marien Fressinaud
9483c6cf67
Fix bug if a shortcut is not in the initial config
...
A new shortcut was never saved because ConfigurationSetter never set a
shortcut which did not appear in the initial conf.
2015-01-16 23:20:59 +01:00
Marien Fressinaud
4c14342671
Update the CHANGELOG
2015-01-15 14:15:03 +01:00
Marien Fressinaud
2039710d12
Avoid "PHP Strict Standards" error
...
A "Only variables should be passed by reference" error was raised in the
extension->getFileUrl() method.
2015-01-15 13:43:05 +01:00
Marien Fressinaud
13cf8b5f9f
Improve hook calls and add post_update hook
...
- 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-15 12:02:42 +01:00
Marien Fressinaud
556f4ad4bf
Remove restriction of 1h for update checking
2015-01-15 11:20:16 +01:00
Marien Fressinaud
81dac9975d
Fix aside_configure for extension/configure action
2015-01-14 23:47:06 +01:00
Marien Fressinaud
789d9fc6c8
Fix coding style in extension manager
...
Yep, same as 8968288...
2015-01-14 23:40:18 +01:00
Marien Fressinaud
2f1116818d
Fix extension interface
...
- Seperate user and system extensions on extension/index
- extension/configure shows index page with the slider opened
if request is done with ajax
- Reorganize some extension view files
2015-01-14 23:30:19 +01:00
Marien Fressinaud
8968288600
Fix extension API (coding style)
...
is_enabled() becomes isEnabled(). Sorry for this coding style mistake :s
2015-01-14 22:22:30 +01:00
Marien Fressinaud
ade1524d43
Fix valid extension entry points.
...
Add possibility to use underscores (_) in entrypoints.
2015-01-14 21:59:53 +01:00
Marien Fressinaud
806b4de54f
Add mechanism at (un)install of an extension
...
Test if the install or uninstall has been successfully performed.
If these methods return true, all is ok but if a string is returned,
the string must explain the problem. This problem is stored in log file.
A feedback is given to explain to check log file.
This commit fix a problem in the english translation of
feedback.sub.feed.internal_problem.
2015-01-14 21:38:35 +01:00
Marien Fressinaud
f1ffdd8b9d
Fix stupid bug in greader API
...
Replace Minz_Session::_param() by Minz_Session::param() in token()
and checkToken() functions.
Fix https://github.com/FreshRSS/FreshRSS/issues/747
2015-01-14 21:13:38 +01:00
Marien Fressinaud
e8556ac1a4
Change behaviour if authorizationToUser is null
...
authorizationToUser() returns now an empty string by default
If it returns an empty string, conf is set to null and api don't die
anymore.
Fix https://github.com/FreshRSS/FreshRSS/issues/747
2015-01-13 15:26:42 +01:00
Marien Fressinaud
59760580d2
Fix greader API
...
$conf->user didn't exist anymore since #730 . User name had to be retrieved
by another way. It uses sessions now.
Fix https://github.com/FreshRSS/FreshRSS/issues/747
2015-01-13 15:14:55 +01:00
Marien Fressinaud
f3545208ab
Add log in API
...
See https://github.com/FreshRSS/FreshRSS/issues/747
2015-01-13 15:00:06 +01:00
Marien Fressinaud
e7e7a320d6
Add a log line in greader API.
...
See https://github.com/FreshRSS/FreshRSS/issues/747
2015-01-13 14:13:27 +01:00
Marien Fressinaud
f31b02be78
Remove sticky feed aside. Work on an extension.
...
See https://github.com/FreshRSS/FreshRSS/issues/697
2015-01-13 14:10:31 +01:00
Marien Fressinaud
e7c24b5d41
Show the version number during update process.
...
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
2015-01-13 12:02:35 +01:00
Marien Fressinaud
0cba8dd691
Show current version of FRSS on the update page
...
See https://github.com/FreshRSS/FreshRSS/issues/699
2015-01-13 11:32:29 +01:00
Marien Fressinaud
2d1cb016ab
Fix user interaction with showing password feature
...
Before, the password was hidden again after 2 seconds. Now, the password
is hidden when the mouse is released
Fix https://github.com/FreshRSS/FreshRSS/issues/734
2015-01-13 11:16:13 +01:00
Marien Fressinaud
2628197190
Update data/users/.gitignore
...
Add the log_api.txt in the ignore file.
2015-01-13 10:21:05 +01:00
Marien Fressinaud
67375537e4
Init auth before user configuration
...
Add a lot of comments to explain how work the FRSS front controller and
the order of initializations.
Fix https://github.com/FreshRSS/FreshRSS/issues/745
2015-01-09 19:34:02 +01:00
Marien Fressinaud
450a1ea7a8
Prepare Changelog
2015-01-08 21:52:47 +01:00
Marien Fressinaud
03db0b5d3c
Fix a bug related to sharing
...
$item and $feed were not existing, replaced by other names.
Introduce by the merging of dev in extension branch.
2015-01-08 21:37:59 +01:00
Marien Fressinaud
cb8d1480c1
Update extensions README
2015-01-08 21:34:29 +01:00
Marien Fressinaud
250cd79251
Merge branch '252-extensions' into dev
2015-01-08 21:33:13 +01:00
Marien Fressinaud
b23fc3187c
Fix translation bug
...
A path registered after initialization must be loaded.
2015-01-08 21:32:21 +01:00
Marien Fressinaud
19dfef8b49
Fix bug with Minz_Translate
...
When a path was registered before initialization, it was not considered unless
by calling reset() method.
This is fixed now.
2015-01-08 16:32:13 +01:00
Marien Fressinaud
85ea5e548a
Fix install.php script (choice of lang)
...
Fix a bug in Minz_Translate too
2015-01-08 15:16:32 +01:00
Marien Fressinaud
8f04cb9d9d
Change Minz_Translate::reset() behaviour
...
- Don't reset the path list (use init() instead)
- init() accept a null lang_name. To use i18n, you'll have to use reset() later.
It is helpful to load the list of available language before choosing one of them.
2015-01-08 15:05:25 +01:00
Marien Fressinaud
a3f667e586
Fix Minz_Translate::availableLanguages() method
2015-01-08 14:50:21 +01:00
Marien Fressinaud
5bd7997d41
Call handleConfigureAction() even for GET requests
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2015-01-08 14:30:05 +01:00
Marien Fressinaud
e86a6097c8
Add a setter for extensions_enabled config value
2015-01-08 14:22:20 +01:00
Marien Fressinaud
73023bc12b
Merge branch 'dev' into 252-extensions
...
Conflicts:
app/FreshRSS.php
app/Models/Configuration.php
app/views/index/index.phtml
app/views/index/normal.phtml
lib/Minz/Configuration.php
lib/Minz/Translate.php
lib/lib_rss.php
2015-01-08 14:18:32 +01:00
Marien Fressinaud
0e4e16ac55
Fix saving system config file
...
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-08 12:22:13 +01:00
Marien Fressinaud
2ac732ec6d
Fix i18n in install.php
...
Init i18n must be done before check steps
2015-01-08 12:15:09 +01:00
Marien Fressinaud
59abb0c754
Fix i18n in install.php
2015-01-08 12:12:41 +01:00
Marien Fressinaud
46e98bad91
Merge branch '730-improve_configuration' into dev
...
BREAKING FEATURE: please follow instructions from
https://github.com/FreshRSS/FreshRSS/issues/730 to
update your configuration file.
Fix https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-08 10:27:01 +01:00
Marien Fressinaud
9265cd5733
Add system config setter methods
...
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07 18:55:18 +01:00
Marien Fressinaud
7e81e67aed
Add setters for the user configurations
...
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07 18:16:57 +01:00
Marien Fressinaud
fb614ab80c
Change way to call configuration setter.
...
- Add a support($key) method which return if the given key is supported by
the setter.
- Change handle signature by adding a $data param which must be passed by
reference.
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07 17:36:29 +01:00
Marien Fressinaud
2fd8a80878
Add first test for a generic ConfigurationSetter
...
We are blocked if a setter has to update several values.
ConfigurationSetter will be updated.
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07 16:36:55 +01:00