Commit Graph

848 Commits (c96172fa044d847fee237d966a6e75f8be5afa4d)

Author SHA1 Message Date
Andrew Dolgov de8260cb10 move API to classes/ 13 years ago
Andrew Dolgov 5f0a3741d0 add Public_Handler
misc code cleanup
13 years ago
Andrew Dolgov 8e17d6636e add Pref_Filters 13 years ago
Andrew Dolgov 66665fba79 add Pref_Users class 13 years ago
Andrew Dolgov cbe50c800d add pref_labels class 13 years ago
Andrew Dolgov 678dda79e3 compat fix for old-style backend methods 13 years ago
Andrew Dolgov 4f09f594c2 move help to backend class 13 years ago
Andrew Dolgov 611efae712 add catchall backend class 13 years ago
Andrew Dolgov 1395083e94 add pref_prefs class 13 years ago
Andrew Dolgov afcfe6cad5 add pref_feeds class 13 years ago
Andrew Dolgov 3f3630529e implement tiny-OOP routing 13 years ago
Andrew Dolgov d51124689d add tiny-OOP style backend RPC 13 years ago
Andrew Dolgov f30ef1fa1b subop -> method 13 years ago
Andrew Dolgov 107d0cf39e overall directory tree cleanup 13 years ago
Andrew Dolgov 31303c6bbd reduce the number of always included libraries 13 years ago
Andrew Dolgov 1c9d14ad79 backend: do not include all modules all the time 13 years ago
Andrew Dolgov e0d91d846d experimental split of public calls into public.php (refs #389) 13 years ago
Andrew Dolgov f9da2388d0 fix sharing for not logged in users 13 years ago
Andrew Dolgov 83cd33fcec implement sharing articles by unique url 13 years ago
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 14 years ago
Andrew Dolgov e2d2339cf0 backend/pubsub: block immediately if PUBSUBHUBBUB_ENABLED is false 14 years ago
Andrew Dolgov f7cffd2cfd view: fix article not being marked as read when not requested from client cache 14 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
14 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