Commit Graph

1199 Commits

Author SHA1 Message Date
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 9d9faf6dc2 fix 'view as rss' not working correctly for search results 2011-07-30 19:22:38 +04:00
Andrew Dolgov 52c8007d81 add undocumented constant _SHOW_FEED_TITLE_IN_VFEEDS which enables showing full feed title in virtual feeds 2011-07-30 19:07:56 +04:00
Andrew Dolgov 3610b48ba3 remove sanity check on open_basedir, block using CURL instead while running under it 2011-07-05 12:05:51 +04:00
Andrew Dolgov 19929bbeec fetch_file_contents: make CURL use default tt-rss user agent (closes #351) 2011-06-30 09:32:01 +04:00
Andrew Dolgov 6b9cb45005 http_authenticate_user: obsolete, comment out 2011-06-06 13:57:51 +04:00
Andrew Dolgov decf742ebd filter to sql: fix missing bracket 2011-05-04 12:17:15 +04:00
Andrew Dolgov 798f5a646c getAllCounters: return category counters even if ENABLE_FEED_CATS is disabled (for the API) 2011-05-04 12:10:30 +04:00
Andrew Dolgov 73f168fa45 update_rss_feed: properly handle update_insignificant 2011-04-27 16:03:24 +04:00
Andrew Dolgov cdaa144301 do not mark post as updated when comments count changes 2011-04-27 09:55:05 +04:00
Andrew Dolgov 65eebd13f4 add option to disable PUSH client support globally (closes #340 2011-04-26 18:42:05 +04:00
Andrew Dolgov a58fd801ab html allowed: enable table,tr,td 2011-04-25 14:28:27 +04:00
Andrew Dolgov dd50b552f7 update_rss_feed: only show PUSH debug when requested 2011-04-25 14:23:35 +04:00
Andrew Dolgov c57983b1e3 update_rss_feed: add some PUSH debugging 2011-04-24 21:30:02 +04:00
Andrew Dolgov 6b8b3af87e filter_to_sql: properly set query limit by date 2011-04-21 18:27:44 +04:00
Andrew Dolgov d206ae1d6a update_feedbrowser_cache: properly skip feeds with configured authentication 2011-04-21 15:52:41 +04:00
Andrew Dolgov 2b9c4bae07 get_linked_feeds: properly set feedbrowser cache (fix typo) 2011-04-20 20:10:57 +04:00
Andrew Dolgov d61063c730 get_linked_feeds: properly set feedbrowser cache 2011-04-20 20:09:32 +04:00
Andrew Dolgov 109662e12f feedbrowser_cache & linked feeds: add site url (bump schema) 2011-04-20 20:05:10 +04:00
Andrew Dolgov 81731791d4 get_linked_feeds: fix mysql date syntax 2011-04-20 15:40:10 +04:00
Andrew Dolgov 414d0d1f46 implement feedbrowser using linked feeds; set proper fetch timeout 2011-04-20 15:36:46 +04:00
Andrew Dolgov ae5f7bb11a implement fetching and exporting of shared feeds 2011-04-20 15:21:00 +04:00
Andrew Dolgov 5300354848 fix searching by date; add search help prompt 2011-04-19 15:59:28 +04:00
Andrew Dolgov 4a06f46dc7 set mouse cursor on feed link icons in headlines display 2011-04-19 15:16:17 +04:00
Andrew Dolgov 6edeede312 tweak headlines layout to prevent long date clipping 2011-04-19 15:15:10 +04:00
Andrew Dolgov 0780f4f4fd add tooltip with all article tags 2011-04-19 14:54:27 +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 6338b16fb5 filter_to_sql: limit results to last 30 days of articles 2011-04-18 20:01:25 +04:00
Andrew Dolgov ad95edc2db move buttonplayer to lib/ 2011-04-18 13:54:46 +04:00
Andrew Dolgov b7d1a163c6 getSearchSql -> search_to_sql 2011-04-18 13:40:17 +04:00
Andrew Dolgov 361840203b filter_test: proper implementation using queryFeedHeadlines 2011-04-18 13:04:24 +04:00
Andrew Dolgov 50aa64b3c4 squash deprecated warning of htmlpurifier serializer path 2011-04-16 18:35:16 +04:00
Andrew Dolgov ca06ed7d36 move HTMLPurifier cache inside CACHE_DIR/htmlpurifier 2011-04-15 14:06:27 +04:00
Andrew Dolgov a0e580b0ca api/getHeadlines: add include_attachments parameter 2011-04-14 21:00:36 +04:00
Andrew Dolgov 71344201b7 update_rss_feed: better purging debug 2011-04-12 20:23:55 +04:00
Andrew Dolgov 412d258d42 update_rss_feed: cleanup debugging 2011-04-12 19:52:05 +04:00
Andrew Dolgov 61e420e964 config: cleanup 2011-04-12 19:44:39 +04:00
Andrew Dolgov 1849a788cc htmlpurifier: suppress HTML.Allowed deprecation warning 2011-04-12 19:35:13 +04:00
Andrew Dolgov dbaa4e4aac config: remove option ENABLE_UPDATE_DAEMON 2011-04-12 19:33:12 +04:00
Andrew Dolgov 42315f8de8 config: add AUTO_ADD_USER (closes #294) 2011-04-12 19:28:35 +04:00
Andrew Dolgov 388c645a8b block STRIP_UNSAFE_TAGS (force enable) 2011-04-11 16:43:54 +04:00
Andrew Dolgov f4f0f80d21 update HTMLPurifier; enable embedded flash video in articles 2011-04-11 16:41:01 +04:00
Andrew Dolgov ad92c6ac62 update ttrss_entries.updated on post update 2011-04-11 13:23:18 +04:00
Andrew Dolgov bbd34ece9a tweak the way update_on_checksum_change works 2011-04-11 11:59:22 +04:00
Andrew Dolgov 78ccac0bdd sanitize_tag: block single quote symbol 2011-04-04 13:46:44 +04:00
Andrew Dolgov 364e3c859d generate_syndicated_feed: only enable pubsub hub for published feed 2011-04-04 13:42:14 +04:00
Andrew Dolgov 9b1a708165 generate_syndicated_feed: enable support for notes 2011-04-04 13:36:21 +04:00
Andrew Dolgov 20e43935fc generate template-enabled Atom feeds instead of makeshift rss 2011-04-04 13:30:47 +04:00
Andrew Dolgov 7b8931889b remove view_mode remark from generated feed url 2011-04-02 11:15:43 +04:00
Andrew Dolgov 50332a320c update_rss_feed: use proper owner_uid for pubsubhubbub update url key 2011-04-02 10:27:26 +04:00