Commit Graph

1022 Commits

Author SHA1 Message Date
Andrew Dolgov a9cb1f8344 move out some functions from backend.php 2006-03-27 04:43:26 +01:00
Andrew Dolgov 23aa0d167c move out common subops from viewfeed handler 2006-03-27 04:21:08 +01:00
Andrew Dolgov 9323147e6e feedlist display fixes for RTL 2006-03-22 08:41:20 +01:00
Andrew Dolgov 894ebcf5e9 update_daemon work, remove unneeded indexes, query optimizations 2006-03-21 08:09:18 +01:00
Andrew Dolgov 75bd06697f change crazybug 001 error message 2006-03-21 06:36:15 +01:00
Andrew Dolgov 30f1746fd5 optimize purge for mysql 2006-03-21 06:28:10 +01:00
Andrew Dolgov 44e241cb44 query optimizations; split big feed update transaction 2006-03-21 05:52:56 +01:00
Andrew Dolgov c808436c43 set last_error on is_array(): syntax error fixed 2006-03-19 14:25:06 +01:00
Andrew Dolgov 9a7a7b4133 set last_error on is_array() iterator check failure 2006-03-18 17:16:50 +01:00
Andrew Dolgov c22789da91 some is_array() sanity checks for content (possible fix for #49) 2006-03-18 16:35:57 +01:00
Andrew Dolgov 7ae65adfc5 prevent setting session cookie when user not logged in and tt-rss.php/prefs.php is requested 2006-03-16 11:57:22 +01:00
Andrew Dolgov 7f16656eb7 remove support for plain-text passwords 2006-03-07 12:25:44 +01:00
Andrew Dolgov 916f788a94 make SESSION_CHECK_ADDRESS work on generic sessions 2006-03-04 14:30:50 +01:00
Andrew Dolgov 5ccc1cf5d7 remember me feature 2006-03-04 11:58:25 +01:00
Andrew Dolgov ad507f8504 change debug output in purge functions 2006-02-27 09:41:17 +01:00
Andrew Dolgov b6104dee39 fix Opera caching bug 2006-02-26 07:55:34 +01:00
Andrew Dolgov 69654950d6 remove borders on radio button elements 2006-02-25 05:47:55 +01:00
Andrew Dolgov b02111c24a fix last clause of smart_date/smart_date_time (closes #41) 2006-02-20 14:25:44 +01:00
Andrew Dolgov 27981ca30f warn if daemon process is not running on server 2006-02-13 14:08:23 +01:00
Andrew Dolgov fcb4c0c93b add make_lockfile() 2006-02-12 08:21:52 +01:00
Andrew Dolgov c1e202b79c fix negative update interval handling 2006-02-12 06:34:27 +01:00
Andrew Dolgov cbd8650dfe new option: MAX_UPDATE_TIME 2006-02-11 05:47:52 +01:00
Andrew Dolgov 7d7cbaf5f8 new option: TMP_DIRECTORY 2006-02-03 09:20:40 +01:00
Andrew Dolgov 5bc0bd2701 added compatibility layer for mb_* functions (from Typo3, patch from Guillaume Bour) 2006-02-03 09:17:29 +01:00
Andrew Dolgov 12db369ca7 truncate_string() now actually is utf-8 compatible 2005-12-31 06:38:40 +01:00
Andrew Dolgov 070d0d2a2e remove headlines overflow hack, made truncate_string() utf-8 aware 2005-12-30 21:05:26 +01:00
Andrew Dolgov e3c99f3b63 add ability to hide feeds from browser (closes #21) 2005-12-30 05:11:48 +01:00
Andrew Dolgov 8926aab826 fix expiry-generated dupes (see changeset) 2005-12-29 16:09:51 +01:00
Andrew Dolgov 798f722b01 remove subselect from theme query, expand password range 2005-12-29 14:51:08 +01:00
Andrew Dolgov db42b934a1 counters for linked feeds, misc SQL optimizations 2005-12-29 07:19:27 +01:00
Andrew Dolgov 09829e2a32 fix security bug in login (only allow plaintext password 'password') 2005-12-28 14:46:21 +01:00
Andrew Dolgov 9cbca41fbd fix bugs introduced by two previous patches 2005-12-22 14:06:15 +01:00
Andrew Dolgov 6043fb7e20 proper handling of failed sanity check in parse_counters + weird getAttribute workaround 2005-12-22 13:51:12 +01:00
Andrew Dolgov 5c563acde0 update feeds by last_updated DESC 2005-12-21 18:59:19 +01:00
Andrew Dolgov 746b249f95 set title to [Unknown] for newly added feeds, instead of blank string 2005-12-20 10:57:01 +01:00
Andrew Dolgov 023fe0377d mark feeds with update errors in feedlist (closes #8) 2005-12-16 18:35:04 +01:00
Andrew Dolgov 47c6c988d9 support for feed http auth 2005-12-16 08:15:18 +01:00
Andrew Dolgov e31dca1406 fix login redirect to calling page 2005-12-11 07:50:06 +01:00
Andrew Dolgov 0ea4fb5096 prefs: rework categorized feed list, boxed feed editor instead of inline 2005-12-10 20:35:09 +01:00
Andrew Dolgov 27f089dc81 fix empty num_comments handling (take 2) 2005-12-10 14:58:47 +01:00
Andrew Dolgov e31073bd82 fix empty num_comments handling 2005-12-10 14:56:29 +01:00
Andrew Dolgov 87a79fa411 fix get_script_urlpath() when index is used as DirectoryIndex 2005-12-10 08:39:12 +01:00
Andrew Dolgov 11b0dce2a7 display slash:comments in view mode 2005-12-10 08:28:55 +01:00
Andrew Dolgov 75836f3386 option to redirect to https url for login, option ENABLE_LOGIN_SSL (fixes some non-absolute redirects) 2005-12-09 21:34:29 +01:00
Andrew Dolgov 1f2b01ed8e update_feeds.php for CLI 2005-12-03 15:25:40 +01:00
Andrew Dolgov f26450f18c smart_date_time() display fix 2005-12-02 17:33:41 +01:00
Andrew Dolgov 372ced8b95 improve tag and content detection 2005-12-02 09:47:37 +01:00
Andrew Dolgov 31483fc1ab replace + to space when detecting tags (because tags are detected from technorati urls) 2005-12-01 09:28:13 +01:00
Andrew Dolgov a654a595b8 xml-import: fix escaping issues 2005-11-30 09:28:53 +01:00
Andrew Dolgov 19c9cb1143 support for filter actions 2005-11-29 19:43:39 +01:00
Andrew Dolgov 42918a0765 show only 4 tags in article view, possibly improve tag detection 2005-11-29 11:33:00 +01:00
Andrew Dolgov a88c1f3644 update_interval < 0 disables feed updates, show only 20 subscribed feeds in user details 2005-11-29 10:26:09 +01:00
Andrew Dolgov be773442d2 option HEADLINES_SMART_DATE 2005-11-28 08:43:03 +01:00
Andrew Dolgov 832b7bfc58 one more fix for Magpie link_ weirdness 2005-11-27 20:35:56 +01:00
Andrew Dolgov 59ba2c75c7 more atom compatibility workarounds 2005-11-27 20:33:59 +01:00
Andrew Dolgov 387234f3fd import rss_utils.inc for parse_w3cdtf() 2005-11-27 20:31:51 +01:00
Andrew Dolgov ddb68b812c weird magpie Atom parse workaround, feed is always updated when added (to get title, etc.) even if DAEMON_REFRESH_ONLY is set 2005-11-27 19:31:20 +01:00
Andrew Dolgov 21cfcdf29b move DAEMON_REFRESH_ONLY check to update_rss_feed 2005-11-27 15:49:36 +01:00
Andrew Dolgov 503eb3498a generic theme support, misc compact stylesheet iframe fixes 2005-11-26 07:48:37 +01:00
Andrew Dolgov 54a60e1a00 get_user_theme_path() 2005-11-26 07:40:47 +01:00
Andrew Dolgov dd8c76a9a2 move update_rss_feed transaction lock after $rss validity check 2005-11-25 17:10:41 +01:00
Andrew Dolgov 25af8dadb4 remove transaction lock in update_all_feeds 2005-11-25 17:01:52 +01:00
Andrew Dolgov 3547842a4f feed editor improvements 2005-11-24 08:25:09 +01:00
Andrew Dolgov cce28758b2 debug request variable sets error_reporting to E_ALL 2005-11-23 19:08:01 +01:00
Andrew Dolgov 74bff337da change default feed for new users (come again) 2005-11-23 18:10:58 +01:00
Andrew Dolgov 628fcd2c67 change default feed for new users 2005-11-23 18:09:54 +01:00
Andrew Dolgov ee2c305003 fix broken tag detection due to $entry_content being escaped 2005-11-23 17:51:09 +01:00
Andrew Dolgov 3b0feb9b7f misc prefs interface cleanups 2005-11-23 15:25:42 +01:00
Andrew Dolgov f557cd78ff some http auth fixes 2005-11-23 14:52:02 +01:00
Andrew Dolgov 30a49c9227 DAEMON_REFRESH_ONLY makes a lot more sense as a global option 2005-11-23 13:26:29 +01:00
Andrew Dolgov 147f7691fc allow updates of ttrss_feeds.site_url/icon_url 2005-11-22 11:01:09 +01:00
Andrew Dolgov ead60402dd per-feed filters 2005-11-21 14:49:15 +01:00
Andrew Dolgov 3a933f22b1 filters are now actually applied separately for each user 2005-11-21 08:38:28 +01:00
Andrew Dolgov fe99ab12bb fix possible bug in tag-processing part of update_rss_feed 2005-11-21 08:27:17 +01:00
Andrew Dolgov a277007718 command globalUpdateFeeds to update feeds of all users at once 2005-11-21 08:11:21 +01:00
Andrew Dolgov c7a03b7a53 fix prefs_init for single user mode 2005-11-21 05:23:36 +01:00
Andrew Dolgov 26c5729f9d more http auth related work, logout still doesn't work 2005-11-20 12:27:11 +01:00
Andrew Dolgov b8aa49bc97 more http auth related fixes, unified login sequence function 2005-11-20 12:19:20 +01:00
Andrew Dolgov 7fed194054 make update_rss_feed() neutral to logged in user 2005-11-20 11:25:50 +01:00
Andrew Dolgov 8cb7480484 fix http basic authentication 2005-11-20 11:14:38 +01:00
Andrew Dolgov f324892e58 handle site_url in ttrss_feeds (and display in feed details) 2005-11-20 08:38:10 +01:00
Andrew Dolgov b17fcb1a0c fix double escaping of entry data on insert/update sequence 2005-11-19 18:33:17 +01:00
Andrew Dolgov 1c73bc0c4d remove obsolete code from updateFeed() 2005-11-19 11:56:30 +01:00
Andrew Dolgov 6385315d2a rewrite post update mechanism 2005-11-19 11:55:26 +01:00
Andrew Dolgov 71604ca4e9 new option - ALLOW_DUPLICATE_POSTS 2005-11-19 11:32:59 +01:00
Andrew Dolgov 35d8cf43bc fix and enable purge_feed() 2005-11-19 11:15:56 +01:00
Andrew Dolgov 05732aa0b6 misc new schema support related work 2005-11-19 09:18:34 +01:00
Andrew Dolgov 4c193675d0 initial split ttrss_entries work 2005-11-19 06:48:02 +01:00
Andrew Dolgov 93d40f50ba respect $fetch in update_all_feeds (forceUpdateAllFeeds handling) 2005-11-19 06:09:19 +01:00
Andrew Dolgov 25da690943 fix tags crosslink bug in update_feed 2005-11-18 14:13:24 +01:00
Andrew Dolgov 4e90d6d273 fix crosslink bug in update_feed 2005-11-18 14:12:09 +01:00
Andrew Dolgov 3b0948c4ab sort tags in feedlist output, "technorati tag:" is stripped from tagname 2005-11-18 13:59:26 +01:00
Andrew Dolgov fefa6ca3af globalPurge rpc call 2005-11-18 13:21:16 +01:00
Andrew Dolgov 717f5e645b user details for user manager 2005-11-18 13:02:38 +01:00
Andrew Dolgov ab15e65ddc possible fix for possible tag bug 2005-11-18 11:04:25 +01:00
Andrew Dolgov f6f321982f handle last_login in editor/login sequence 2005-11-18 10:18:19 +01:00
Andrew Dolgov e6cb77a07a user manager 2005-11-18 10:00:18 +01:00
Andrew Dolgov 203b6d25e5 store access level in $_SESSION 2005-11-18 08:54:35 +01:00
Andrew Dolgov 273a2f6b43 schema updates, ICONS_DIR/ICONS_URL moved to config.php 2005-11-18 08:04:41 +01:00
Andrew Dolgov c8437f35c6 optional login form/http basic auth support 2005-11-18 07:21:24 +01:00
Andrew Dolgov 1c7f75ed2c http user auth, password changer in preferences 2005-11-18 07:04:32 +01:00
Andrew Dolgov ff485f1d50 per-user preferences 2005-11-18 06:17:17 +01:00
Andrew Dolgov c93f38c494 display username in header 2005-11-17 19:29:13 +01:00
Andrew Dolgov 06da450f4c further functions.php uid work 2005-11-17 19:04:00 +01:00
Andrew Dolgov f1a80dae05 functions.php is now uid-aware 2005-11-17 18:29:07 +01:00
Andrew Dolgov 9e99787465 pass $link into check_feed_favicon() 2005-11-17 09:30:54 +01:00
Andrew Dolgov 5da169d992 print_radio() fixes 2005-11-17 06:34:52 +01:00
Andrew Dolgov 77e9671919 preferences editor 2005-11-17 06:26:54 +01:00
Andrew Dolgov 4668523d7c printFeedEntry now expects $link 2005-11-16 18:47:58 +01:00
Andrew Dolgov 4769ddaf72 sql-ize backend.php 2005-11-16 18:37:45 +01:00
Andrew Dolgov b619ff1507 sql-ize functions.php 2005-11-16 18:22:13 +01:00
Andrew Dolgov 9e0f3ab123 fix typo in mysql purge query 2005-11-16 14:47:33 +01:00
Andrew Dolgov 140aae812a ugly hack to selectively disable feed purging 2005-11-16 10:47:22 +01:00
Andrew Dolgov 5d73494a18 per-feed purge intervals 2005-11-16 10:37:50 +01:00
Andrew Dolgov aa5f9f5fec set last_update even if feed failed to update properly 2005-11-15 09:24:28 +01:00
Andrew Dolgov ab3d0b9926 store last feed update error in the database (SCHEMA UPDATED), display warning box in preferences on feed update error 2005-11-01 08:47:03 +01:00
Andrew Dolgov c5142ccae7 fix DAEMON_REFRESH_ONLY handling 2005-10-28 10:38:36 +01:00
Andrew Dolgov dcee8f6125 fixed toolbar feed update button 2005-10-28 10:33:24 +01:00
Andrew Dolgov 383f1827d1 escape feed id in update_rss_feed() 2005-10-28 02:46:01 +01:00
Andrew Dolgov c70d731e23 DAEMON_REFRESH_ONLY patch from the same source 2005-10-28 02:30:03 +01:00
Andrew Dolgov 2907afa6fa fix old bug when all feeds were marked as updated every time (patch from adjuster@forum) 2005-10-28 02:18:27 +01:00
Andrew Dolgov 7f2ee7952b MIN_UPDATE_INTERVAL -> DEFAULT_UPDATE_INTERVAL 2005-10-26 02:30:05 +01:00
Andrew Dolgov 406d948993 basic profiling information in backend.php 2005-10-23 16:48:58 +01:00
Andrew Dolgov ecb14114f1 fix broken article update functionality 2005-10-16 09:29:09 +01:00
Andrew Dolgov d148926e2b per-feed update intervals 2005-10-13 04:15:09 +01:00
Andrew Dolgov 1696229f9d fixed serious bug in MySQL schema (cascade deletes were unfunctional), add yet another content: subtype workaround 2005-10-12 11:54:09 +01:00
Andrew Dolgov 3b063a95c5 fix auto expiration bug on MySQL backend 2005-10-11 14:21:27 +01:00
Andrew Dolgov e1305a97d0 escape title when auto-updated from channel 2005-09-29 02:05:34 +01:00
Andrew Dolgov 8add756ac1 hardcode minimum 30 minute rss refetch interval 2005-09-09 08:58:21 +01:00
Andrew Dolgov 8143ae1f2b more work on tag support 2005-09-09 08:45:54 +01:00
Andrew Dolgov eb36b4eb55 start work on support for technorati tags, schema uses cascade deletes for pgsql 2005-09-09 05:52:36 +01:00
Andrew Dolgov 254e0e4b82 Starred vfolder 2005-09-08 07:31:16 +01:00
Andrew Dolgov deaaa02c50 fixed viewfeed/MarkAllRead behaviour 2005-09-07 15:03:30 +01:00
Andrew Dolgov 8158c57a8e update schema, more mysql work 2005-09-07 14:31:21 +01:00
Andrew Dolgov 4b3dff6ed5 updated mysql schema 2005-09-07 13:42:49 +01:00
Andrew Dolgov b6eefba52b more db_* migration work 2005-09-07 13:18:53 +01:00
Andrew Dolgov bb7cfaceb1 further javascript cleanups 2005-09-05 13:41:59 +01:00
Andrew Dolgov f175937c78 fix typo in search, add view limiting dropbox, change default headlines height to 10% 2005-09-05 07:04:02 +01:00
Andrew Dolgov f4c10d4408 added support for marking posts 2005-09-05 05:04:31 +01:00
Andrew Dolgov e6155a0699 check filters on feed update, update NEWS, TODO and schema 2005-09-03 11:34:24 +01:00
Andrew Dolgov a0d5388913 reworked preferences dialog, start work on post filters (schema updated) 2005-09-03 08:22:29 +01:00
Andrew Dolgov f92db4f5e7 purging of old posts is actually configurable now, added comments for some configuration options, interface cleanups 2005-09-02 16:50:12 +01:00
Andrew Dolgov 2651fc4fc3 escape $entry_guid before checking in database 2005-09-02 01:57:23 +01:00
Andrew Dolgov ad3024fc77 only update database entries when really needed 2005-08-29 08:49:17 +01:00
Andrew Dolgov a116f56918 enabled support for posts with blank content, fixes del.icio.us/popular feed 2005-08-29 02:06:34 +01:00
Andrew Dolgov a1ea1e12a8 support for comments attribute (schema updated) 2005-08-26 06:11:41 +01:00
Andrew Dolgov b5daec986c mark currently selected post on headlines update, remove debug msg on content hash change 2005-08-26 05:36:42 +01:00
Andrew Dolgov b7f4bda298 support for feed-specific images (channel->url) 2005-08-26 04:11:37 +01:00
Andrew Dolgov a3ee2a382f code cleanups, show selected feed in feedlist, tell magpie to use UTF-8 2005-08-26 02:13:22 +01:00
Andrew Dolgov 2d84262b14 fixed bug in updated posts marking process 2005-08-26 01:46:51 +01:00
Andrew Dolgov 36bf74967c some searchbox focus workarouns, content hash checking is optional now 2005-08-25 15:12:10 +01:00
Andrew Dolgov c3a8d71ad4 more functional keyboard navigation, auto page flipping, updated README, auto post cleanup (PURGE_OLD_DAYS), schema updated 2005-08-25 14:04:57 +01:00
Andrew Dolgov e695fdc83e images moved to subdirectory, updated TODO 2005-08-25 11:28:54 +01:00
Andrew Dolgov 7880091293 icons in feedlist 2005-08-25 07:46:24 +01:00
Andrew Dolgov b0b4abcf37 support for web-demo mode (restricted rights) 2005-08-23 12:34:07 +01:00
Andrew Dolgov f48ba3c9e4 headline update uses transactions once again 2005-08-23 12:17:09 +01:00
Andrew Dolgov 466001c4fa cleaned up headline update process, fixed bug mentioned in previous patch 2005-08-23 11:51:29 +01:00
Andrew Dolgov cb0bd8bd0f broken a lot of feed update functionality :( 2005-08-23 10:16:01 +01:00
Andrew Dolgov a20153510b updated schema (md5_hash is not unique any more), feed parsing fixes 2005-08-23 08:32:11 +01:00
Andrew Dolgov 3ad5aa855c disable error reporting on fetch_rss 2005-08-23 07:46:25 +01:00
Andrew Dolgov b82af8c382 use transactions in feed update process, better handle feeds without entry dates (schema updated) 2005-08-23 06:46:48 +01:00
Andrew Dolgov 829396cca2 fixed bug in handling null last_read values on headline update 2005-08-22 12:10:30 +01:00
Andrew Dolgov cac95b8d16 posts register as updated when their MD5 hash changes 2005-08-22 10:07:47 +01:00
Andrew Dolgov b197f11776 cute icon for updated posts 2005-08-22 10:04:38 +01:00
Andrew Dolgov 9c9c7e6bb8 fix date parsing in feeds 2005-08-22 07:13:33 +01:00
Andrew Dolgov 76798ff3f2 early title work 2005-08-22 06:58:37 +01:00
Andrew Dolgov 331900c642 basic functionality pass 10 2005-08-22 05:56:40 +01:00
Andrew Dolgov 71ad39598b basic functionality pass 8 2005-08-22 04:20:00 +01:00
Andrew Dolgov d482c58c37 basic functionality pass 7 2005-08-21 18:05:04 +01:00
Andrew Dolgov 57865bb1f0 disable md5 update checking by default 2005-08-21 17:49:53 +01:00
Andrew Dolgov ac53063ab9 basic functionality pass 4 2005-08-21 17:16:41 +01:00
Andrew Dolgov 40d13c2836 basic functionality pass 3 2005-08-21 16:35:22 +01:00