Commit Graph

819 Commits

Author SHA1 Message Date
Andrew Dolgov 1ebf3b979e replace getmicrotime() wrapper with microtime(true) (2) 2013-02-27 22:20:14 +04:00
Andrew Dolgov 7d1a91d56c use text/json content-type in a few more places 2013-01-12 16:02:37 +04:00
Andrew Dolgov 23419d117b modify includes to init session before translations are applied 2013-01-05 01:28:07 +04:00
Andrew Dolgov de612e7a38 experimental support for per-user plugins (bump schema) 2012-12-25 00:45:10 +04:00
Andrew Dolgov 19b3992b78 remove magpie, fix article filter plugins 2012-12-24 13:45:34 +04:00
Andrew Dolgov 8dcb2b4762 implement plugin routing masks, add example plugin 2012-12-23 23:05:51 +04:00
Andrew Dolgov 19c7350770 experimental new plugin system 2012-12-23 14:52:18 +04:00
Andrew Dolgov 88e8fb3a71 modify include path order (closes #514) 2012-12-09 13:41:22 +04:00
Andrew Dolgov 675f198a7c rework login form 2012-09-10 20:15:45 +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 304aadb907 remove twitter-specific code 2012-09-07 10:23:46 +04:00
Andrew Dolgov 9aceda3afc remove hook-based plugins 2012-08-21 14:37:43 +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 143d1b31a8 routing: check if created handler is a subclass of Handler 2012-08-16 15:43:52 +04:00
Andrew Dolgov 0d421af86f split authentication to separate modules 2012-08-16 15:30:49 +04:00
Andrew Dolgov 545ca06789 do not perform sanity checks on each backend request 2012-07-10 15:24:04 +04:00
Andrew Dolgov 6a79e8afeb only enable ob_gzhandler if it exists 2012-03-20 14:45:43 +04:00
Andrew Dolgov 66b042fcfe do not generate warning on csrf_token being unassigned 2012-01-08 23:51:47 +04:00
Andrew Dolgov 7a5d9b95c4 disable csrf logging 2011-12-26 12:04:17 +04:00
Andrew Dolgov 8484ce2258 experimental CSRF protection 2011-12-26 12:02:52 +04:00
Andrew Dolgov f03a795de7 include path fix for lighttpd 2011-12-15 18:19:38 +04:00
Andrew Dolgov de8260cb10 move API to classes/ 2011-12-13 15:40:42 +04:00
Andrew Dolgov 5f0a3741d0 add Public_Handler
misc code cleanup
2011-12-13 14:49:11 +04:00
Andrew Dolgov 8e17d6636e add Pref_Filters 2011-12-13 14:09:34 +04:00
Andrew Dolgov 66665fba79 add Pref_Users class 2011-12-13 14:02:37 +04:00
Andrew Dolgov cbe50c800d add pref_labels class 2011-12-13 13:34:43 +04:00
Andrew Dolgov 678dda79e3 compat fix for old-style backend methods 2011-12-13 12:48:10 +04:00
Andrew Dolgov 4f09f594c2 move help to backend class 2011-12-13 11:02:43 +04:00
Andrew Dolgov 611efae712 add catchall backend class 2011-12-13 10:58:30 +04:00
Andrew Dolgov 1395083e94 add pref_prefs class 2011-12-13 10:51:50 +04:00
Andrew Dolgov afcfe6cad5 add pref_feeds class 2011-12-13 09:29:22 +04:00
Andrew Dolgov 3f3630529e implement tiny-OOP routing 2011-12-13 00:20:53 +04:00
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 #389) 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