Commit Graph

837 Commits

Author SHA1 Message Date
Andrew Dolgov d51124689d add tiny-OOP style backend RPC 2011-12-12 23:32:29 +04:00
Andrew Dolgov f30ef1fa1b subop -> method 2011-12-12 22:46:25 +04:00
Andrew Dolgov 107d0cf39e overall directory tree cleanup 2011-12-11 23:59:25 +04:00
Andrew Dolgov 31303c6bbd reduce the number of always included libraries 2011-12-11 23:10:51 +04:00
Andrew Dolgov 1c9d14ad79 backend: do not include all modules all the time 2011-12-11 22:23:11 +04:00
Andrew Dolgov e0d91d846d experimental split of public calls into public.php (refs ) 2011-11-15 11:40:57 +04:00
Andrew Dolgov f9da2388d0 fix sharing for not logged in users 2011-10-04 14:03:16 +04:00
Andrew Dolgov 83cd33fcec implement sharing articles by unique url 2011-10-04 13:18:41 +04:00
Andrew Dolgov 37c03d3a42 implement automatic precaching for next normal and unread feeds
allow opening cached next_unread_feed on f-q if available
tweak getRelativeArticles() to scan forward only
reenable prefetch_old server requests
2011-08-31 16:15:01 +04:00
Andrew Dolgov 165c88ff31 remove unused headlines-info.unread 2011-08-31 14:23:59 +04:00
Andrew Dolgov 81787bbf98 viewfeed: do not return sync counters on subop 2011-08-30 19:41:27 +04:00
Craig Meyer 147f563228 Extended Actions to include Select by tag (add local modifications, fix
display for tags starting with a number)
2011-08-23 12:49:18 +04:00
Andrew Dolgov 4dd369d42a pubsub: cast feed_id as integer 2011-08-21 15:46:44 +04:00
Andrew Dolgov 1b79034372 do not perform synchronous update on pubsub call 2011-08-08 11:30:26 +04:00
Andrew Dolgov 7d96bfcd6d misc headlines speedup 2011-08-04 19:54:44 +04:00
Andrew Dolgov e2d2339cf0 backend/pubsub: block immediately if PUBSUBHUBBUB_ENABLED is false 2011-08-04 10:29:16 +04:00
Andrew Dolgov f7cffd2cfd view: fix article not being marked as read when not requested from client cache 2011-08-03 12:32:30 +04:00
Craig Meyer 9949bd154e functions.php: Fixed some mild errors.
fetch_file_contents()
        using $updated when it was not defined - commented it out
    update_rss_feed_real()
        was also using $updated, undefined
        and had a inconsistent return, added return false;
    lookup_user_id($link, $user)
        was using $login for the SELECT not $user
    format_headline_subtoolbar()
        used $search_q before it was assigned to, re-ordered the code
    format_article()
        The 3rd arg "$feed_id" was never used in the function, it was set in the function
        Verified (and modified as needed) function calls in backend.php (5 Usages) and in modules/backend-rpc,php (1 usage)
    printTagCloud()
        Before ksort($tags) add a check for count($tags) == 0 return
    replace depreciated split() calls with explode()

backend.php

    replace depreciated split() calls with explode()

modules/backed-rpc.php

    replace depreciated split() calls with explode()
    in handle_rpc_request(), separate asort() from join(),  asort() does not return an array.
        This fixes a problem where a new tag is added to an entry, but doesn't show up after clicking on save. User must do a screen refresh.
        A PHP error msg was being returned in the JSON response.
.gitignore
    Make sure Mac OS X .DS_Store & PHPStorm project files (.idea/) are not included
2011-07-30 22:31:40 -04:00
Andrew Dolgov 97279fe6ec backend/pubsub: better 404 handling, do not cause PHP warning when invalid feed id is being requested 2011-06-22 15:05:49 +04:00
Andrew Dolgov d0f7338009 allow redirect to login page when calling external feed subscription url (using bookmarklet, for example) (refs ) 2011-06-14 14:19:47 +04:00
Andrew Dolgov bfedfe697b backend/la: properly handle situation when article has multiple ref_ids on one account (closes ) 2011-05-04 14:56:49 +04:00
Andrew Dolgov 9b201046af backend/fbexport: read key from _POST 2011-04-21 08:46:26 +04:00
Andrew Dolgov 109662e12f feedbrowser_cache & linked feeds: add site url (bump schema) 2011-04-20 20:05:10 +04:00
Andrew Dolgov 572d66c6ee backend/fbexport: fix syntax error 2011-04-20 16:28:48 +04:00
Andrew Dolgov f192adc133 backend/fbexport: do not set last_connected; properly set error status 2011-04-20 16:24:28 +04:00
Andrew Dolgov ae5f7bb11a implement fetching and exporting of shared feeds 2011-04-20 15:21:00 +04:00
Andrew Dolgov 373266eb03 implement instances tab 2011-04-20 13:13:29 +04:00
Andrew Dolgov 2376ad4925 fix redirects after schema upgrade; fix logout requiring valid schema 2011-04-20 11:46:16 +04:00
Andrew Dolgov 1ca77e0acd merge logout.php inside backend.php 2011-04-20 00:14:37 +04:00
Andrew Dolgov fcfa9ef15b rework article notes; re-add built-in XSL template for generated feeds; remove schema_version caching in session 2011-04-19 13:20:59 +04:00
Andrew Dolgov 347b467be5 backend/loading: fix content type 2011-04-13 08:06:20 +04:00
Andrew Dolgov f4f0f80d21 update HTMLPurifier; enable embedded flash video in articles 2011-04-11 16:41:01 +04:00
Andrew Dolgov 7e0943c6bc fix pubsubhubbub challenge response 2011-04-01 21:25:55 +04:00
Andrew Dolgov 5ab9791f34 implement pubsubhubbub subscriber (update schema) 2011-04-01 13:55:39 +04:00
Andrew Dolgov 7b26a148b0 config: remove ENABLE_TRANSLATIONS 2011-03-18 19:25:06 +03:00
Andrew Dolgov 565ca5653c rpc: no longer use XML 2011-03-18 19:19:00 +03:00
Andrew Dolgov ebb948c24e rework initial sanitycheck to use JSON 2011-03-18 17:39:23 +03:00
Andrew Dolgov 81f6deea47 backend/viewfeed: fix feed checking for validity 2011-03-18 17:22:20 +03:00
Andrew Dolgov bd202c3f89 backend/viewfeed: use JSON 2011-03-18 14:05:20 +03:00
Andrew Dolgov 009646d23a backend/view: use JSON instead of XML; backend: output session invalid error using JSON 2011-03-18 12:48:26 +03:00
Andrew Dolgov 8e57cfbeb3 backend/rss: fix previous patch breaking active session id (refs ) 2011-02-09 12:41:35 +03:00
Andrew Dolgov 19039fd07b backend/rss: better error reporting for unauthorized feeds, do not automatically fallback on active session id when key has been provided (refs ) 2011-02-09 12:37:50 +03:00
Andrew Dolgov 6615cc366c properly handle redirecting back to requested page after logging in (closes ) 2011-01-18 16:47:52 +03:00
Andrew Dolgov 476edbbb5f backend/rss: always use secret key to get uid when it is available instead of defaulting to session information; fix published url syntax being incorrect (closes ) 2010-12-27 16:47:33 +03:00
Andrew Dolgov ba7e88e5a5 add tweet button to digest, misc digest fixes; rework article tweeting to use ajax loading of needed info 2010-11-25 12:58:29 +03:00
Andrew Dolgov b3009bcdde add separate update method for Twitter, select it as default when subscribing to twitter.com feeds 2010-11-22 17:03:31 +03:00
Andrew Dolgov d4dcf8e922 mention wiki in keyboard shortcuts help 2010-11-21 21:47:38 +03:00
Andrew Dolgov b509d64e96 rework headlines menu and openArticleInNewWindow() 2010-11-19 21:05:28 +03:00
Andrew Dolgov 7b8a143f1b allow onclick editing of categories and drag-reordering of feeds and categories 2010-11-18 13:46:11 +03:00
Andrew Dolgov 1985a5e0d7 rework pref-feeds dialog; update other pref panes 2010-11-17 21:13:41 +03:00
Andrew Dolgov 9c99281f20 code cleanup 2010-11-16 12:23:06 +03:00
Andrew Dolgov fcf70c5106 dijit.tree feedlist improvements 2010-11-15 21:49:00 +03:00
Andrew Dolgov 13e785e069 initial implementation of feedlist based on dijit.Tree 2010-11-15 16:52:56 +03:00
Andrew Dolgov 6e4f4ce14b remove modalbox; use dijit.Dialog; further dojo-related updates 2010-11-15 13:12:02 +03:00
Andrew Dolgov 951906dcec use Modalbox library for popup dialogs 2010-11-14 23:46:49 +03:00
Andrew Dolgov dd25b0c6cd viewfeed: only return counters when subop is present 2010-11-11 13:38:29 +03:00
Andrew Dolgov d36f560740 viewfeed: return counters when subop is present or when in CDM 2010-11-11 09:56:07 +03:00
Andrew Dolgov 8cab2eb923 backend: fix warning in zoom mode 2010-11-10 19:04:16 +03:00
Andrew Dolgov 905ff52a36 implement label cache; misc fixes (bump schema) 2010-11-10 19:01:14 +03:00
Andrew Dolgov 5225d4209e js: code cleanup; move to async counter sending mode 2010-11-10 14:48:35 +03:00
Andrew Dolgov b3990c92e7 add option to sort headlines by feed-specified date (bump schema) 2010-11-10 13:56:42 +03:00
Andrew Dolgov fb0742394a remove error_reporting() hacks; set default error reporting level in functions.php 2010-11-10 13:14:44 +03:00
Andrew Dolgov 2f2bd1b3f6 backend/rss: fix view-mode handling 2010-11-08 13:34:46 +03:00
Andrew Dolgov 135d425127 backend/rss: disable http auth 2010-11-08 13:26:32 +03:00
Andrew Dolgov 8801fb017c replace old-style published feed with universal secretkey-based approach used for all feeds; do not allow user/pass handling in generated feed urls; bump schema 2010-11-08 13:15:00 +03:00
Andrew Dolgov ffbe082dd0 headlines: use JSON instead of separate helper xml objects like headlines-unread 2010-11-06 22:19:08 +03:00
Andrew Dolgov c3fddd057f do some warning housekeeping 2010-11-05 17:16:29 +03:00
Andrew Dolgov 6a7817c1ad handle counters using JSON instead of XML 2010-11-04 22:38:03 +03:00
Andrew Dolgov fe1087fbb7 implement a simple pseudo-dashboard feed; display feeds having update errors there instead of client-based 'no feed selected' whiteBox plug (closes ) 2010-11-04 19:11:54 +03:00
Andrew Dolgov 23d72f3999 allow generated feeds to use view_mode 2010-11-04 00:24:18 +03:00
Andrew Dolgov 338302709c override order use date_entered instead of updated 2010-10-27 12:06:26 +04:00
Andrew Dolgov 25ea280502 add ttrss_entries.date_updated; use date_updated instead of date_enered for expiry checking (bump schema) 2010-10-27 12:05:20 +04:00
Andrew Dolgov 6a69b6ad44 revert to sorting by updated instead of date_entering unless Date sorting is requested 2010-10-19 09:36:16 +04:00
Andrew Dolgov 7b20c97780 order feed output by date_entered instead of updated to properly keep new stuff topmost; support REVERSE_HEADLINES in more headline output modes 2010-10-18 18:32:26 +04:00
Andrew Dolgov 5fa173729e make sure magic quote workaround actually works 2010-09-07 13:22:10 +04:00
Andrew Dolgov c0793f64a8 use better magic quotes removal fix 2010-09-04 11:59:33 +04:00
Andrew Dolgov 78a5c296ae config: replace confusing option ENABLE_SIMPLEPIE with DEFAULT_UPDATE_METHOD; bump config version 2010-06-30 12:57:11 +04:00
Andrew Dolgov 1f7b77d168 backend: if fresh=1 parameter to getUnread is present, append output of fresh feed 2010-02-17 16:22:36 +03:00
Andrew Dolgov f885ff6e4b do not strip magicquote stuff twice from 2010-02-02 22:54:40 +03:00
Andrew Dolgov 0456176a44 enable translations by default; misc fixes 2010-01-25 23:12:08 +03:00
Andrew Dolgov 505f2f0e6c pref-prefs: show default update interval as a dropdown 2010-01-20 13:20:20 +03:00
Andrew Dolgov d9084cf220 implement settings profiles (bump schema) 2010-01-13 18:31:51 +03:00
Andrew Dolgov 6f068202d7 rework the way DEFAULT_ARTICLE_LIMIT works, remove limit toolbar dropdown (bump schema) 2010-01-04 12:12:31 +03:00
Andrew Dolgov a491a7f103 view: do not pass feed_id 2009-12-29 22:38:22 +03:00
Andrew Dolgov b4e75b2a25 use POST parameters for frontend requests 2009-12-29 18:49:27 +03:00
Andrew Dolgov ab197ae1de update ccache in catchupArticleById(); misc counter-related tweaks; add getArticleFeed() 2009-12-29 16:10:40 +03:00
Andrew Dolgov e04c18a2c2 implement archived articles feed; bump schema 2009-12-28 17:23:01 +03:00
Andrew Dolgov 7f969260c1 add toggle_collapse_cat() 2009-12-24 15:36:02 +03:00
Andrew Dolgov 57937c42b9 obsolete cookie storage for collapsed status of feedlist and special categories (bump schema) 2009-12-24 15:25:06 +03:00
Andrew Dolgov 9c88320833 backend: force login on init when in single user mode 2009-10-27 15:27:09 +03:00
Andrew Dolgov b47982828a backend/rss: allow access to feeds without authentication when running in single user mode 2009-02-13 15:13:29 +03:00
Andrew Dolgov 45a15f785a possible speedup: bump counters_stamp in backend/feeds 2009-02-01 22:14:38 +03:00
Andrew Dolgov 64b3069d27 remove old-style big feed browser (2) 2009-01-24 06:23:02 +01:00
Andrew Dolgov 5c432ba490 ccache: skip non-numeric feeds (e.g. tags) 2009-01-23 14:49:31 +01:00
Andrew Dolgov ee8091ba78 view: more limiting tweaks (2) 2009-01-22 16:24:10 +01:00
Andrew Dolgov 26b968cdf5 view: more limiting tweaks 2009-01-22 16:22:12 +01:00
Andrew Dolgov b9ce0ba169 view: lower counters rate limit 2009-01-22 16:15:59 +01:00
Andrew Dolgov 3c204a8e23 rate limit counters calculation in view to once per 10 sec 2009-01-22 16:14:00 +01:00
Andrew Dolgov 1098687a22 properly select next unread feed in feedlist when catching up 2009-01-21 16:34:19 +01:00
Andrew Dolgov ceb30ba49d new style labels (bump schema) 2009-01-18 09:28:42 +01:00