Commit Graph

414 Commits

Author SHA1 Message Date
Alexis Degrugillier
dd4fb519be Add an unsaved changes alert on config pages
Before, you could leave a configuration page without knowing if you saved your changes or not.
Now, there is an alert poping up if you have unsaved changes. It will ask you if you want to stay on the page and save your changes or leave the page and loose your changes.

See #739
2015-03-14 09:43:08 -04:00
Alexis Degrugillier
d1c9378d33 Fix entry DAO query usage
I did not fix the call in the previous commit. I hope this one is the last change needed.

We definitely need a templating engine so we could use the same controller to output different things.
This will remove code duplication between the api and the web interface.
It will allows us to build other type of api, and also refactor the rss feed as a different view of the same dataset.
2015-03-04 23:04:12 -05:00
Alexis Degrugillier
f3f8d73dda Fix API to use the search object
Since the internal of the listWhere method was changed, the API wasn't working. It was still calling the method with the old parameters.
I didn't test it but now, it should work.
2015-03-03 22:35:22 -05:00
Marien Fressinaud
8ab8121757 Merge pull request #793 from aledeg/modify-share
Harmonize share configuration view.
2015-02-18 11:05:51 +01:00
Alexis Degrugillier
6e7bdb1709 Add a cleaning process in the auto-remove feature.
Before, when the status change was too quick, sometimes, articles weren't removed from the view.
Now they are removed by adding a statement that grabs past articles with specific properties and remove them.

See #738
2015-02-15 18:37:04 -05:00
Alexis Degrugillier
b8fd3caf83 Harmonize share configuration view.
Before, for shares that don't need options, only a button to remove it was visible. It was source of confusion for users.
I changed the look of those shares by using the same layout as others (minus the help). As there is no configuration possible for the url, the field is disabled but it is possible to change the name of the share.

See #787
2015-02-14 11:00:26 -05:00
Marien Fressinaud
b355a45c35 Change behaviour of #add_rss input.extend
UI was frustrating when input had the focus: we needed to click elsewhere to
be able to open the next dropdown.

See https://github.com/FreshRSS/FreshRSS/issues/777
2015-01-29 09:52:43 +01:00
Marien Fressinaud
01683ba136 Remove information about me and update links
FreshRSS should not be associated to me but to the community:

- Remove links to send me email or references to a "lead developer"
- Change old Github links marienfressinaud/FreshRSS to FreshRSS/FreshRSS
2015-01-27 17:19:57 +01:00
Marien Fressinaud
f5043dbf71 Serve HTTP cache for default favicon + better headers
See da7d34d2ef (commitcomment-9439610)
2015-01-26 14:49:24 +01:00
Marien Fressinaud
da7d34d2ef Default favicon served with HTTP code 200
Fix https://github.com/FreshRSS/FreshRSS/issues/760
2015-01-26 13:02:47 +01:00
Alexandre Alapetite
963dd6d260 ! encoding problem 2
964a768bc3 (commitcomment-9385695)
2015-01-22 08:31:54 +01:00
Alexandre Alapetite
dfaf1c451f Revert "! encoding problem"
This reverts commit 964a768bc3.
2015-01-22 08:29:58 +01:00
Alexandre Alapetite
964a768bc3 ! encoding problem
211569ef85 (commitcomment-9384719)
2015-01-21 22:37:17 +01:00
Marien Fressinaud
9e40639495 Enlarge the .item.date to contain larger date
I know it's not the best solution, a dynamic width would be the best but there
are some CSS constraints. I don't want to spend my time on this problem ;)

Fix https://github.com/FreshRSS/FreshRSS/issues/756
2015-01-18 12:33:55 +01:00
Marien Fressinaud
14206aca16 Improve behavior when mark as read / favorite fail
If the request fails:
- Open a notification to inform user
- Remove pending index from the pending_feeds list

Fix https://github.com/FreshRSS/FreshRSS/issues/751
2015-01-18 11:59:03 +01: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
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
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
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
0140448a56 Refactor FreshRSS_Share object to be more usable
- FreshRSS_Share is the only object we manipulate
- Add a way to register new share options easily
- Move some i18n keys from index.php to gen.php

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07 14:59:18 +01:00
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
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
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
c391ca62f1 Remove all old references to LOG_PATH
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-28 18:05: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
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
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
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
Marien Fressinaud
f9b037742a Update ext.php to serve any file from extensions
Add an extension->getFileUrl() method to facilitate url generation
2014-12-04 20:41:01 +01:00
Alexis Degrugillier
53410887c9 Fix behavior to hide articles
I do not like it since it is partly duplicated. We need to find something better.
2014-12-03 18:57:53 -05:00
Alexis Degrugillier
5617911644 Revert "Fix behavior when marking an article as unread"
This reverts commit 93af0cf61e.
2014-12-03 18:35:42 -05:00
Alexis Degrugillier
93af0cf61e Fix behavior when marking an article as unread 2014-12-03 18:16:50 -05:00
Alexis Degrugillier
adaec6176c Add article auto-remove after clicking on the read link 2014-12-02 23:34:31 -05:00
Alexis Degrugillier
82745a509a Optimize screwdriver theme icons. 2014-11-26 18:14:17 -05:00
Alexis Degrugillier
498f8315f7 Optimize bluelagoon theme icons.
In the future, we should pay attention to those icons since I've done that a couple of time now. We should have some documentation for new contributions.
2014-11-26 18:05:51 -05:00
Marien Fressinaud
b9b3e963b4 Add BlueLagoon theme 2014-11-24 15:49:13 +01:00
Marien Fressinaud
7781add6da Update Screwdriver theme 2014-11-24 15:45:47 +01:00
Alexandre Alapetite
2c50ed7dc1 Merge pull request #694 from FreshRSS/hide-article
Add a feature to hide articles when they are read
2014-11-16 18:10:55 +01:00
Alexis Degrugillier
91388c5b76 Theme properties are more visible 2014-11-16 08:55:19 -05:00