Commit graph

317 commits

Author SHA1 Message Date
Andrew Dolgov
b24504b121 add ability to auto-assign articles to labels (bump schema) 2012-10-30 12:58:35 +04:00
Andrew Dolgov
92c14e9d53 move article filter functions to rssfuncs.php 2012-10-30 12:11:46 +04:00
Andrew Dolgov
74467907c5 add special link to cancel current search 2012-10-30 10:24:30 +04:00
Andrew Dolgov
db9e00e339 api: sanitize article content 2012-10-29 16:01:41 +04:00
Andrew Dolgov
b3682750bb Revert "sanitize article content when importing data from feed"
This reverts commit c7fe1b4e9e.

Conflicts:
	include/functions.php
	include/rssfuncs.php
2012-10-29 12:17:28 +04:00
Andrew Dolgov
d372d2bbab disable sync feed updates for feeds with cache_images set 2012-10-29 12:10:05 +04:00
Andrew Dolgov
8b299a163e fix ARTICLE_BUTTON_PLUGINS not loaded when string contains spaces 2012-10-28 13:02:50 +04:00
Andrew Dolgov
c7fe1b4e9e sanitize article content when importing data from feed 2012-10-28 12:44:10 +04:00
Andrew Dolgov
17525d0127 quickAddFeed: remove oauth notice, mention you can paste site URL 2012-10-28 11:50:54 +04:00
Andrew Dolgov
5d7688fe43 rpc: remove unneeded methods 2012-10-28 11:04:26 +04:00
Andrew Dolgov
09c816cac4 remove unexpanded CDM ajax loading 2012-10-28 11:03:29 +04:00
Andrew Dolgov
9a0e28f4da fix rpc/cdmGetArticle for archived articles 2012-10-28 10:59:27 +04:00
Andrew Dolgov
02195b9d48 fix label row backgrounds only used when cached data is available 2012-10-27 11:25:26 +04:00
Andrew Dolgov
f65ede50eb use css3 gradients to color rrows 2012-10-25 17:05:18 +04:00
Andrew Dolgov
30c337cf3d add rrow background color setting by first assigned label 2012-10-25 16:40:17 +04:00
Andrew Dolgov
c0c2abbaa7 force refetch feed when clicking update/clicking on same feed in the tree 2012-10-25 13:15:14 +04:00
Andrew Dolgov
56b2a4095b filter dialog: sort rules by reg_exp 2012-10-25 12:24:24 +04:00
Andrew Dolgov
6e577ba157 properly escape comment links 2012-10-22 01:22:44 +04:00
Andrew Dolgov
5c56897349 properly escape article link/PTITLEs (refs #472) 2012-10-22 01:19:11 +04:00
Andrew Dolgov
008ebad928 syndicated feeds: force sort by last_read for published 2012-10-22 00:05:20 +04:00
Andrew Dolgov
c719943aa9 fix testing of author filter type 2012-10-19 12:53:24 +04:00
Andrew Dolgov
ce5652160e generated feeds: add offset= 2012-10-15 10:34:53 +04:00
Andrew Dolgov
0ef32f48b2 unify child category counter display; remove include_children control 2012-10-11 12:46:33 +04:00
Andrew Dolgov
5ba4ebc65e api: return api_level with login 2012-09-29 11:59:50 +04:00
Andrew Dolgov
759e5132a1 subscribe_to_feed: stop fetching URL multiple times while subscribing, various other speedups 2012-09-23 13:38:58 +04:00
Andrew Dolgov
839b065860 api: remove unneeded stuff, add special header for android httpurlconnection which seems to be retarded 2012-09-19 15:54:55 +04:00
Andrew Dolgov
4864633612 API: support nested categories 2012-09-18 10:03:26 +04:00
Andrew Dolgov
b235e09b8d remove truncating of titles in CDM 2012-09-15 20:48:32 +04:00
Andrew Dolgov
d1e31c7a74 Revert "only enable OTPHP on php version 5.3+"
This reverts commit 1835f145a8.
2012-09-15 17:17:44 +04:00
Andrew Dolgov
d031f69813 Revert "auth internal: fix otp check clause"
This reverts commit 72d0e9b33f.
2012-09-15 17:17:38 +04:00
Andrew Dolgov
6e0ee8336f do not use prefs_feed_search when displaying main UI feedtree 2012-09-15 16:24:00 +04:00
Andrew Dolgov
bc6fa2364b move inactiveFeeds and feedsWithErrors to pref-feeds; fix element id collisions 2012-09-14 12:30:04 +04:00
Andrew Dolgov
72d0e9b33f auth internal: fix otp check clause 2012-09-14 02:54:32 +04:00
Andrew Dolgov
1835f145a8 only enable OTPHP on php version 5.3+ 2012-09-14 02:52:49 +04:00
Andrew Dolgov
7ac3f735e1 quickAddFeed: remove OAuth mention 2012-09-14 02:46:50 +04:00
Andrew Dolgov
f393dc6fb2 pref-feeds: disable show empty cats when searching 2012-09-13 12:54:11 +04:00
Andrew Dolgov
17c755f048 fix pref-feeds search 2012-09-13 12:47:09 +04:00
Andrew Dolgov
22439dad49 sharepopup look tweaks 2012-09-12 01:31:44 +04:00
Andrew Dolgov
dd0a17b07a opml fixes 2012-09-11 20:16:44 +04:00
Andrew Dolgov
eeee2ccf74 login form: resize input fields, fix missing error output 2012-09-10 20:37:41 +04:00
Andrew Dolgov
675f198a7c rework login form 2012-09-10 20:15:45 +04:00
Andrew Dolgov
2d6847495f fix OTP 2012-09-10 19:18:44 +04:00
Andrew Dolgov
d493aba238 allow logging in by sharepopup 2012-09-10 19:13:41 +04:00
Andrew Dolgov
97acbaf190 login system fixes
remove old-style session checking from backend.php
move outside subscription endpoint to public.php, change subscription
bookmarklet
2012-09-10 19:01:06 +04:00
Andrew Dolgov
c3d2cda86d bump default for generated feed article count to 100 2012-09-10 12:33:05 +04:00
Andrew Dolgov
2ebf38a9bd public/rss: implement JSON output format 2012-09-10 11:19:38 +04:00
Andrew Dolgov
46b781491b set last_read to NOW() when publishing, order published feed by last read by default, allow overriding order in recently read feed 2012-09-10 10:27:51 +04:00
Andrew Dolgov
50b8b50355 sharepopup: add help text 2012-09-09 17:40:38 +04:00
Andrew Dolgov
8361e72478 implement sharing of arbitrary stuff using bookmarklet and API call, bump API version 2012-09-09 16:05:59 +04:00
Andrew Dolgov
b8386ad3d1 disable OTP when saving user 2012-09-09 12:39:04 +04:00
Andrew Dolgov
304aadb907 remove twitter-specific code 2012-09-07 10:23:46 +04:00
Andrew Dolgov
ec78654f4e add auth_base check_password() 2012-09-04 12:46:08 +04:00
Andrew Dolgov
3ca8af7fd8 require entering password before enabling/disabling otp 2012-09-04 12:39:33 +04:00
Andrew Dolgov
b8cdc39433 focus input field in otp form 2012-09-04 12:08:50 +04:00
Andrew Dolgov
02cd6de128 api: add workaround to disable OTP 2012-09-03 22:32:24 +04:00
Andrew Dolgov
4e70344bbf auth internal: fix login screen warning 2012-09-03 18:53:19 +04:00
Andrew Dolgov
973392b9f5 pref-prefs/otpqrcode: do not show image if otp is enabled 2012-09-03 18:42:17 +04:00
Andrew Dolgov
fb70f26ed9 implement one time passwords using TOTP 2012-09-03 18:33:46 +04:00
Andrew Dolgov
fd26d5bfdf implement removing selected categories 2012-09-03 16:06:24 +04:00
Andrew Dolgov
4e02f58294 implement filter testing 2012-09-03 15:05:43 +04:00
Andrew Dolgov
75c648cf5c replace several preg_match() feed id tests with is_numeric() 2012-09-02 14:11:28 +04:00
Andrew Dolgov
5a49ed95a8 do not load test opml when debugging 2012-09-02 13:47:03 +04:00
Andrew Dolgov
d7f9e4fc08 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2012-09-02 13:46:05 +04:00
Andrew Dolgov
3b003f6396 implement OPML filter import 2012-09-02 13:45:52 +04:00
Andrew Dolgov
8592a8e3b2 opml: fix cat_filter type 2012-09-02 13:38:03 +04:00
Andrew Dolgov
8b6e08a11a opml export filter format fix 2012-09-02 13:15:57 +04:00
Andrew Dolgov
fd994f1a48 reimplement OPML filter export 2012-09-01 23:33:56 +04:00
Andrew Dolgov
ff34bac2bf fix filter newrule reg_exp length 2012-08-31 17:45:07 +04:00
Andrew Dolgov
ab564aef7b filterEditDlg: automatically open new rule dialog when active feed or article title present 2012-08-31 17:33:22 +04:00
Andrew Dolgov
84d9750edc show label color indicators in pref-filters 2012-08-31 15:40:19 +04:00
Andrew Dolgov
04e41840fe use dijit.form.CheckBox in filter edit dialog 2012-08-31 15:26:11 +04:00
Andrew Dolgov
69c6e94d35 implement basic filter search 2012-08-31 15:14:12 +04:00
Andrew Dolgov
e8b703878d fix preffiltertree layout being wrong 2012-08-31 13:00:23 +04:00
Andrew Dolgov
37f78940d8 block type 5 filters (date) 2012-08-31 12:54:37 +04:00
Andrew Dolgov
c2ee5846fa fix getfiltertree enabled on psql 2012-08-31 12:27:50 +04:00
Andrew Dolgov
5451903ce3 fix cat_filter parsed wrong on psql 2012-08-31 12:24:13 +04:00
Andrew Dolgov
6aff784575 implement multiple rule/action filters 2012-08-31 12:13:47 +04:00
Andrew Dolgov
f9ebb32ca0 hide more obscure preferences under "show more" checkbox in pref-prefs,
bump schema
2012-08-30 13:10:28 +04:00
Andrew Dolgov
5417fbd77e implement recently read vfeed (-6) 2012-08-27 10:08:11 +04:00
Andrew Dolgov
da1da2e4d8 quickAddFilter: prefill current feed in the dialog 2012-08-26 16:54:47 +04:00
Andrew Dolgov
4c9d0490c6 rework filter dialog to make feed/category selection easier 2012-08-26 12:36:08 +04:00
Andrew Dolgov
c39befacb2 add (undocumented) _DISABLE_FEED_BROWSER 2012-08-24 00:13:30 +04:00
Andrew Dolgov
4c97d1f6af newVersionDlg: mention prefs updater 2012-08-23 23:15:01 +04:00
Andrew Dolgov
808dd053c6 implement web-based self updater (closes #395) 2012-08-23 22:56:04 +04:00
Andrew Dolgov
1280612515 self-update: update up to date prompt 2012-08-23 22:02:29 +04:00
Andrew Dolgov
27211afe92 implement experimental web-based updater 2012-08-23 20:23:19 +04:00
Andrew Dolgov
366f06f7cf update.php: display error message when running from the browser
mention self-updating in new version dialog
2012-08-23 13:17:22 +04:00
Andrew Dolgov
9aceda3afc remove hook-based plugins 2012-08-21 14:37:43 +04:00
Andrew Dolgov
23d2471c92 expand error messages in subscribeToFeed(), provide proper error message
when URL download failed (refs #489)
2012-08-21 14:09:51 +04:00
Andrew Dolgov
9da07c8ad2 unbreak classes/dlg 2012-08-17 17:03:39 +04:00
Andrew Dolgov
369dbc19d6 rework class system to use subdirectories
add placeholder plugin/hook system
2012-08-17 14:22:33 +04:00
Andrew Dolgov
dc0374df2b auth_internal.change_password: do not rely on session 2012-08-16 18:27:26 +04:00
Andrew Dolgov
d5fd183d18 move changing password code to authentication modules 2012-08-16 18:21:35 +04:00
Andrew Dolgov
200e0d4ebb save module user authenticated with, only allow password change if module is 'internal' 2012-08-16 16:00:50 +04:00
Andrew Dolgov
1e666f0aeb add hide_change_password session variable 2012-08-16 15:58:13 +04:00
Andrew Dolgov
501ed09a26 allow auto_create_user() to be used instead of find_user_by_login() when auto creating is off 2012-08-16 15:38:33 +04:00
Andrew Dolgov
0d421af86f split authentication to separate modules 2012-08-16 15:30:49 +04:00
Andrew Dolgov
3f9de6ccbc opml: remove CRs, tweak category node detection 2012-08-15 15:58:43 +04:00
Andrew Dolgov
65c8267980 opml: clean empty categories 2012-08-15 15:55:41 +04:00
Andrew Dolgov
d75409bfda move opml stuff to classes/opml.php 2012-08-15 15:47:13 +04:00
Andrew Dolgov
ba5296a19b disable dnd tip in pref_feeds 2012-08-15 10:48:25 +04:00
Andrew Dolgov
95ee44b33d fix drag-and-drop categorizing of feeds into nested cats 2012-08-15 10:10:24 +04:00
Andrew Dolgov
28537341ef pref_feeds: add missing methods to add/remove cats 2012-08-15 09:59:08 +04:00
Andrew Dolgov
5ef071e00b remove old category editor
allow creating/removing categories in main feed editor
2012-08-15 09:38:57 +04:00
Andrew Dolgov
e07f89815b properly persist include_children 2012-08-15 09:11:43 +04:00
Andrew Dolgov
fbf85cf646 print_feed_cat_select: display nested category structure
fix empty sub-sub-categories never being shown
2012-08-14 23:19:20 +04:00
Andrew Dolgov
a26f57e63a fix savefeedorder for dojo 1.7 (wtf) 2012-08-14 19:37:31 +04:00
Andrew Dolgov
d04f8c826f remove call-by-reference to comply with php 5.4 2012-08-14 12:18:52 +04:00
Andrew Dolgov
854a2ace86 change include_children to a togglebutton; add placeholder setting save in a session 2012-08-13 21:39:40 +04:00
Andrew Dolgov
09101297ee add toolbar checkbox to include subcategories to viewfeed() 2012-08-13 21:25:46 +04:00
Andrew Dolgov
2c5f231e43 add special indication for categories having unread items in child categories 2012-08-13 19:52:34 +04:00
Andrew Dolgov
be514d00c9 remove feeds/index() 2012-08-13 18:58:21 +04:00
Andrew Dolgov
2ecd2df560 sorta-kinda fix the feedlist 2012-08-13 18:56:55 +04:00
Andrew Dolgov
2a060a9456 initial work on nested categories 2012-08-13 14:47:43 +04:00
Andrew Dolgov
d3253f49aa Revert "add experimental clientside headline clamping (refs #479)"
This reverts commit 26e4b12466.
2012-08-10 15:02:18 +04:00
Andrew Dolgov
26e4b12466 add experimental clientside headline clamping (refs #479) 2012-08-09 13:08:07 +04:00
Steven Allen
093fae5e3c Change ttrss_logo.png (deleted) to logo_wide.png 2012-07-14 18:49:40 -04:00
Andrew Dolgov
687bb90d27 remove COUNTERS_MAX_AGE, add some optimization for counter queries (refs #464) 2012-07-09 13:02:42 +04:00
Andrew Dolgov
0e4a7d7a94 remove memcached stuff 2012-07-06 14:37:03 +04:00
John Keeping
17f9d2003a Make Handler::before() hierarchy consistent
In API, the before() method (inherited from Handler) takes a $method
argument, although this is not declared for the before method() in
handler.  PHP in strict mode treats this as an error.

Since call sites already pass the $method argument, change
Handler::before() and the before() method in all other subclasses to
take this argument.
2012-07-05 19:43:44 +01:00
Andrew Dolgov
68916212b2 use Uncategorized coalesce in a few more places 2012-06-30 16:40:47 +04:00
Andrew Dolgov
310fa2ddef implement search in pref-filters 2012-06-29 13:11:39 +04:00
Andrew Dolgov
a5e0ffb0ce fix creating category filters on mysql 2012-06-24 22:45:28 +04:00
Andrew Dolgov
40b67ac7c7 Merge pull request #19 from plaidfluff/7e454e815dd67f0ac3804e213599be9bbbc2755e
Change update.php shebang to support any in-path installation locatio…
Fix category count query for mysql
2012-06-21 21:08:28 -07:00
fluffy
7e454e815d Fix category count query for mysql 2012-06-21 08:52:50 -07:00
Andrew Dolgov
82ace1aba8 fix borders on filter test results container 2012-06-20 16:14:40 +04:00
Andrew Dolgov
aa8b48a02b fix creating filter with active article title in cdm 2012-06-20 16:10:55 +04:00
Andrew Dolgov
917c12ee30 show empty categories in italic in category editor 2012-06-15 12:24:41 +04:00
Andrew Dolgov
a62812a6b4 show amount of feeds category holds in category editor 2012-06-15 10:43:58 +04:00
Andrew Dolgov
ca6a0741b4 tweak dialog topmost notices; add an explanation for the batch feed editor 2012-06-14 21:23:09 +04:00
Andrew Dolgov
ddb575c744 add select all/none functionality to several edit dialogs 2012-06-14 21:04:14 +04:00
Andrew Dolgov
2fb947eb21 prevent session modification in public/rss 2012-06-07 10:13:05 +04:00
Andrew Dolgov
64436e1039 prevent session modification in public/share 2012-06-07 10:09:16 +04:00
Andrew Dolgov
184f51952c experimental tweak to not mark articles newer than last one loaded in the buffer as read 2012-06-03 20:02:51 +04:00
Alexandre Gravel-Raymond
b1e592d37f Escape quotes in bookmarklet confirm message 2012-05-19 20:26:09 +02:00
Andrew Dolgov
949b1a9491 hide several user-related prompts when using remote auth + auto_login (closes #447) 2012-05-16 11:56:21 +04:00
Andrew Dolgov
35b9844be1 fix broken feed icon upload (closes #459) 2012-05-15 22:00:43 +04:00
Andrew Dolgov
941e48a402 apply patch from gmargo to differentiate between manual and new feed after-subscription update 2012-05-05 22:28:46 +04:00
Andrew Dolgov
ecbd7b91fe allow manual updates for feeds with disabled automatic updates 2012-04-01 09:35:56 +04:00
Andrew Dolgov
442456184c simplify catching up of feeds, do not reload headlines buffer on catchup unless on_catchup_show_next_feed is enabled (closes #442) 2012-03-29 15:03:48 +04:00
Andrew Dolgov
d4c64ecc77 pref_prefs: only disable password changing block in single user mode (closes #444) 2012-03-29 14:44:52 +04:00
André
a498d18b55 Remove apostrophs from boolean values when editing feeds in batch 2012-03-09 10:05:06 +01:00
Andrew Dolgov
b11e9943d8 API: add order_id to getCategories; add feed_title to getHeadlines; bump api level to 3 2012-03-08 19:01:23 +04:00
Andrew Dolgov
5b7bd238ee pref-feeds: apply patch by gmargo@forum to show/hide empty categories 2012-03-05 12:08:39 +04:00
Andrew Dolgov
d50edb08ba fix wrong translation in de_DE 2012-02-29 09:40:34 +04:00
Andrew Dolgov
9c97041d55 make generated_feed parameters optional, add specific date type for RSS feeds 2012-02-27 14:39:15 +04:00
Andrew Dolgov
f4ce1d645e fix encoding for pref-feeds/add when called as a HTML page (closes #423) 2012-02-22 13:54:47 +04:00
Andrew Dolgov
56fbb82cb0 properly handle invalid regular expressions supplied when testing filters, add some additional regexp checks (closes #427) 2012-02-21 12:36:29 +04:00
Andrew Dolgov
5f85d90d71 remove readitlater button plugin from trunk, mention Plugins page in config.php 2012-02-20 12:31:16 +04:00
Andrew Dolgov
74eef4fca8 fix rpc setpref (key unassigned) 2012-02-13 15:09:39 +04:00