Commit Graph

829 Commits (be322d6fc879c0142f1047e99cc2971d817b47c5)

Author SHA1 Message Date
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
13 years ago
Andrew Dolgov 165c88ff31 remove unused headlines-info.unread 13 years ago
Andrew Dolgov 81787bbf98 viewfeed: do not return sync counters on subop 13 years ago
Craig Meyer 147f563228 Extended Actions to include Select by tag (add local modifications, fix
display for tags starting with a number)
13 years ago
Andrew Dolgov 4dd369d42a pubsub: cast feed_id as integer 13 years ago
Andrew Dolgov 1b79034372 do not perform synchronous update on pubsub call 13 years ago
Andrew Dolgov 7d96bfcd6d misc headlines speedup 13 years ago
Andrew Dolgov e2d2339cf0 backend/pubsub: block immediately if PUBSUBHUBBUB_ENABLED is false 13 years ago
Andrew Dolgov f7cffd2cfd view: fix article not being marked as read when not requested from client cache 13 years ago
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
13 years ago
Andrew Dolgov 97279fe6ec backend/pubsub: better 404 handling, do not cause PHP warning when invalid feed id is being requested 14 years ago
Andrew Dolgov d0f7338009 allow redirect to login page when calling external feed subscription url (using bookmarklet, for example) (refs #344) 14 years ago
Andrew Dolgov bfedfe697b backend/la: properly handle situation when article has multiple ref_ids on one account (closes #342) 14 years ago
Andrew Dolgov 9b201046af backend/fbexport: read key from _POST 14 years ago
Andrew Dolgov 109662e12f feedbrowser_cache & linked feeds: add site url (bump schema) 14 years ago
Andrew Dolgov 572d66c6ee backend/fbexport: fix syntax error 14 years ago
Andrew Dolgov f192adc133 backend/fbexport: do not set last_connected; properly set error status 14 years ago
Andrew Dolgov ae5f7bb11a implement fetching and exporting of shared feeds 14 years ago
Andrew Dolgov 373266eb03 implement instances tab 14 years ago
Andrew Dolgov 2376ad4925 fix redirects after schema upgrade; fix logout requiring valid schema 14 years ago
Andrew Dolgov 1ca77e0acd merge logout.php inside backend.php 14 years ago
Andrew Dolgov fcfa9ef15b rework article notes; re-add built-in XSL template for generated feeds; remove schema_version caching in session 14 years ago
Andrew Dolgov 347b467be5 backend/loading: fix content type 14 years ago
Andrew Dolgov f4f0f80d21 update HTMLPurifier; enable embedded flash video in articles 14 years ago
Andrew Dolgov 7e0943c6bc fix pubsubhubbub challenge response 14 years ago
Andrew Dolgov 5ab9791f34 implement pubsubhubbub subscriber (update schema) 14 years ago
Andrew Dolgov 7b26a148b0 config: remove ENABLE_TRANSLATIONS 14 years ago
Andrew Dolgov 565ca5653c rpc: no longer use XML 14 years ago
Andrew Dolgov ebb948c24e rework initial sanitycheck to use JSON 14 years ago
Andrew Dolgov 81f6deea47 backend/viewfeed: fix feed checking for validity 14 years ago
Andrew Dolgov bd202c3f89 backend/viewfeed: use JSON 14 years ago
Andrew Dolgov 009646d23a backend/view: use JSON instead of XML; backend: output session invalid error using JSON 14 years ago
Andrew Dolgov 8e57cfbeb3 backend/rss: fix previous patch breaking active session id (refs #318) 14 years ago
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 #318) 14 years ago
Andrew Dolgov 6615cc366c properly handle redirecting back to requested page after logging in (closes #302) 14 years ago
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 #287) 14 years ago
Andrew Dolgov ba7e88e5a5 add tweet button to digest, misc digest fixes; rework article tweeting to use ajax loading of needed info 14 years ago
Andrew Dolgov b3009bcdde add separate update method for Twitter, select it as default when subscribing to twitter.com feeds 14 years ago
Andrew Dolgov d4dcf8e922 mention wiki in keyboard shortcuts help 14 years ago
Andrew Dolgov b509d64e96 rework headlines menu and openArticleInNewWindow() 14 years ago
Andrew Dolgov 7b8a143f1b allow onclick editing of categories and drag-reordering of feeds and categories 14 years ago
Andrew Dolgov 1985a5e0d7 rework pref-feeds dialog; update other pref panes 14 years ago
Andrew Dolgov 9c99281f20 code cleanup 14 years ago
Andrew Dolgov fcf70c5106 dijit.tree feedlist improvements 14 years ago
Andrew Dolgov 13e785e069 initial implementation of feedlist based on dijit.Tree 14 years ago
Andrew Dolgov 6e4f4ce14b remove modalbox; use dijit.Dialog; further dojo-related updates 14 years ago
Andrew Dolgov 951906dcec use Modalbox library for popup dialogs 14 years ago
Andrew Dolgov dd25b0c6cd viewfeed: only return counters when subop is present 14 years ago
Andrew Dolgov d36f560740 viewfeed: return counters when subop is present or when in CDM 14 years ago
Andrew Dolgov 8cab2eb923 backend: fix warning in zoom mode 14 years ago
Andrew Dolgov 905ff52a36 implement label cache; misc fixes (bump schema) 14 years ago
Andrew Dolgov 5225d4209e js: code cleanup; move to async counter sending mode 14 years ago
Andrew Dolgov b3990c92e7 add option to sort headlines by feed-specified date (bump schema) 14 years ago
Andrew Dolgov fb0742394a remove error_reporting() hacks; set default error reporting level in functions.php 14 years ago
Andrew Dolgov 2f2bd1b3f6 backend/rss: fix view-mode handling 14 years ago
Andrew Dolgov 135d425127 backend/rss: disable http auth 14 years ago
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 14 years ago
Andrew Dolgov ffbe082dd0 headlines: use JSON instead of separate helper xml objects like headlines-unread 14 years ago
Andrew Dolgov c3fddd057f do some warning housekeeping 14 years ago
Andrew Dolgov 6a7817c1ad handle counters using JSON instead of XML 14 years ago
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 #189) 14 years ago
Andrew Dolgov 23d72f3999 allow generated feeds to use view_mode 14 years ago
Andrew Dolgov 338302709c override order use date_entered instead of updated 14 years ago
Andrew Dolgov 25ea280502 add ttrss_entries.date_updated; use date_updated instead of date_enered for expiry checking (bump schema) 14 years ago
Andrew Dolgov 6a69b6ad44 revert to sorting by updated instead of date_entering unless Date sorting is requested 14 years ago
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 14 years ago
Andrew Dolgov 5fa173729e make sure magic quote workaround actually works 14 years ago
Andrew Dolgov c0793f64a8 use better magic quotes removal fix 14 years ago
Andrew Dolgov 78a5c296ae config: replace confusing option ENABLE_SIMPLEPIE with DEFAULT_UPDATE_METHOD; bump config version 15 years ago
Andrew Dolgov 1f7b77d168 backend: if fresh=1 parameter to getUnread is present, append output of fresh feed 15 years ago
Andrew Dolgov f885ff6e4b do not strip magicquote stuff twice from 15 years ago
Andrew Dolgov 0456176a44 enable translations by default; misc fixes 15 years ago
Andrew Dolgov 505f2f0e6c pref-prefs: show default update interval as a dropdown 15 years ago
Andrew Dolgov d9084cf220 implement settings profiles (bump schema) 15 years ago
Andrew Dolgov 6f068202d7 rework the way DEFAULT_ARTICLE_LIMIT works, remove limit toolbar dropdown (bump schema) 15 years ago
Andrew Dolgov a491a7f103 view: do not pass feed_id 15 years ago
Andrew Dolgov b4e75b2a25 use POST parameters for frontend requests 15 years ago
Andrew Dolgov ab197ae1de update ccache in catchupArticleById(); misc counter-related tweaks; add getArticleFeed() 15 years ago
Andrew Dolgov e04c18a2c2 implement archived articles feed; bump schema 15 years ago
Andrew Dolgov 7f969260c1 add toggle_collapse_cat() 15 years ago
Andrew Dolgov 57937c42b9 obsolete cookie storage for collapsed status of feedlist and special categories (bump schema) 15 years ago
Andrew Dolgov 9c88320833 backend: force login on init when in single user mode 15 years ago
Andrew Dolgov b47982828a backend/rss: allow access to feeds without authentication when running in single user mode 16 years ago
Andrew Dolgov 45a15f785a possible speedup: bump counters_stamp in backend/feeds 16 years ago
Andrew Dolgov 64b3069d27 remove old-style big feed browser (2) 16 years ago
Andrew Dolgov 5c432ba490 ccache: skip non-numeric feeds (e.g. tags) 16 years ago
Andrew Dolgov ee8091ba78 view: more limiting tweaks (2) 16 years ago
Andrew Dolgov 26b968cdf5 view: more limiting tweaks 16 years ago
Andrew Dolgov b9ce0ba169 view: lower counters rate limit 16 years ago
Andrew Dolgov 3c204a8e23 rate limit counters calculation in view to once per 10 sec 16 years ago
Andrew Dolgov 1098687a22 properly select next unread feed in feedlist when catching up 16 years ago
Andrew Dolgov ceb30ba49d new style labels (bump schema) 16 years ago
Andrew Dolgov abd9b16507 getLabelCounters: skip processing when labels are disabled; misc performance tweaks 16 years ago
Andrew Dolgov 34c30ac126 viewfeed: rate limit ccache_update 16 years ago
Andrew Dolgov 51e196dee9 fix ccache_update() failure when called for labels 16 years ago
Andrew Dolgov cd4cc9f6e4 enable ccache_update() in viewfeed 16 years ago
Andrew Dolgov 696a6850db add fallback for headlines-unread element when ccache has no data 16 years ago
Andrew Dolgov cfcb7d4276 headlines-unread: fix ccache usage 16 years ago
Andrew Dolgov a06d0e5a8b rpc tweaks; viewfeed counters attachment changed 16 years ago
Andrew Dolgov e7dd88a215 attach counters to viewfeed output when subop is not blank 16 years ago