Commit Graph

717 Commits (d208abc933e7f1499189a219d5c6f36ba585719f)

Author SHA1 Message Date
supahgreg 6704bb2cb9 minor: remove an unnecessary quotation mark 12 years ago
Andrew Dolgov f66492d357 better javascript error reporting, save error reports in tt-rss log 12 years ago
Andrew Dolgov 106a3de91c plugins: bump API version 12 years ago
Andrew Dolgov ddf28801e4 implement plugin API version compatibility check 12 years ago
Andrew Dolgov 726bd48e8c better handle get_link() enabled plugins crashing on load 12 years ago
Andrew Dolgov b367c951b9 make logging configurable; add logging to syslog 12 years ago
Andrew Dolgov 48ed517e8d pref_prefs: remove second argument from the constructor 12 years ago
Andrew Dolgov b20b6af0dc only pass port to mysqli_connect when it is set 12 years ago
Andrew Dolgov 1f29443530 fix missing DB object when instantiated to import opml 12 years ago
Andrew Dolgov 3c200461f8 more notice css tweaks 12 years ago
Andrew Dolgov 1daf0f75fa pass DB_PORT as string 12 years ago
Andrew Dolgov 8cb5c64d62 fix auth_base referencing dbh which was not present 12 years ago
Andrew Dolgov 6421b42963 api/getHeadlines: increase limit to 200 12 years ago
Andrew Dolgov 1ffe3391f9 make pluginhost a singleton 12 years ago
Andrew Dolgov 52d88392da move db-prefs to OO 12 years ago
Andrew Dolgov 73663db316 support pgsql in pdo 12 years ago
Andrew Dolgov 9ee90455b8 add experimental support for PDO (_ENABLE_PDO) 12 years ago
Andrew Dolgov b6a7429591 Merge branch 'master' into pdo 12 years ago
Andrew Dolgov 0630a100d5 revert OO-db access in dbupdater, create DbUpdater() correctly 12 years ago
Andrew Dolgov 512b779391 do not try to log to sql on old schema version 12 years ago
Andrew Dolgov e441b5837b initial 12 years ago
Andrew Dolgov d9c85e0f11 classes: use OO DB interface 12 years ago
Andrew Dolgov b4b45b4534 remove sessionhandler 12 years ago
Andrew Dolgov 01568557b5 log viewer: add refresh button 12 years ago
Andrew Dolgov ae35bb87eb support mysqli when available 12 years ago
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 12 years ago
Andrew Dolgov 72ff013729 fix pluginhost created without dbh 12 years ago
Andrew Dolgov a0ed0d38d4 auth_remote: fix typo 12 years ago
Andrew Dolgov eefaa2df38 remove db_connect, db_close; CLI fixes 12 years ago
Andrew Dolgov 6322ac79a0 remove $link 12 years ago
Andrew Dolgov aca75cb5cb reinstate error handlers; better DB error reporting on failed queries 12 years ago
Andrew Dolgov 404e2e3603 more work on singleton-based DB 12 years ago
Andrew Dolgov ba68b6815a db updates, remove init_connection() 12 years ago
Andrew Dolgov 9594791782 experimental singleton-based Db connection 12 years ago
Andrew Dolgov 2cbdc95bb0 add a separate tab for the logger 12 years ago
Andrew Dolgov 9deca86d96 require entering current one time code to enable otp 12 years ago
Andrew Dolgov a5680acbe8 replace split with explode 12 years ago
Andrew Dolgov e2261e177b implement old log entry purging in update_daemon_common; add some more error types; tweak error log display 12 years ago
Andrew Dolgov b8c7f8357d do not try to load plugins which aren't directories 12 years ago
Andrew Dolgov 4e53956add implement error log viewer 12 years ago
Andrew Dolgov 889a5f9f19 experimental SQL-based error logger 12 years ago
Andrew Dolgov 4f032700db ttrssMailer: actually use OOP properly 12 years ago
Andrew Dolgov 90df27a4c1 ttrssMailer: fix typo 12 years ago
Andrew Dolgov b9863a153c unify SMTP_HOST and SMTP_PORT as SMTP_SERVER 12 years ago
Andrew Dolgov 40fe2d7382 remove js-based player, better mp3 support detection for html5 audio 12 years ago
Andrew Dolgov 5e3d5480f7 use hashed guids in a hopefully backwards compatible fashion 12 years ago
Andrew Dolgov bc7a144dd5 properly remove and replace favicon color when favicon gets manually removed/uploaded 12 years ago
Andrew Dolgov 86f7d2a9f2 make gradient less visible on read headlines 12 years ago
Andrew Dolgov 12a6bd28ac remove hsl stuff from classes/feeds, we take care of this when choosing the color 12 years ago
Andrew Dolgov e7480cc13b do not color predominantly white/black rows 12 years ago
Andrew Dolgov bfaf90e364 add row backgrounds in normal mode 12 years ago
Andrew Dolgov 85eea71e0e use w3c gradient definition 12 years ago
Andrew Dolgov e0deff3933 implement basic moz gradient for feedicon color 12 years ago
Andrew Dolgov 63c323f736 only enable colored favicons in vfeeds; fix RGB triplet packing 12 years ago
moontear 2cfbb448fb Added average color calculation of feeds' favicons for banded display. 12 years ago
Andrew Dolgov e43a9c4a01 add a %d articles selected element 12 years ago
Andrew Dolgov 884f2aee91 use mdash as a separator between title and author 12 years ago
Andrew Dolgov 41694a956d fix double-escaping possible with encrypted passwords 12 years ago
Andrew Dolgov 044cff2d74 implement basic feed authentication parameter encryption in the database (FEED_CRYPT_KEY) 12 years ago
Andrew Dolgov 5aaae215e8 api: add score to getHeadlines/getArticle 12 years ago
Andrew Dolgov 3ab417c277 remove label gradients 12 years ago
Andrew Dolgov 79f9bef767 add support for plugins adding API methods 12 years ago
Andrew Dolgov 8096a20a95 Revert "Add new API method: `getFeedStats'"
This reverts commit 0192ffe5a5.
12 years ago
Andrew Dolgov e1f76af006 block listing of several util directories; deny access to config.php 12 years ago
Andrew Dolgov b91a1e4deb bump api level 12 years ago
Andrew Dolgov 2496da82e9 Merge pull request #147 from pedros/nnttrss_api_extensions
Add new API method: `getFeedStats`
12 years ago
Pedro Silva 0192ffe5a5 Add new API method: `getFeedStats'
`getFeedStats' calls the new static function `api_get_feed_stats' to
return an array of real feeds of the following form:

    [{
       "first" : 1127,
       "unread" : 873,
       "last" : 15460,
       "title" : "Some feed",
       "id" : 31,
       "total" : 1513
    }]

where "first", "last", "total" are the first, last and total number of
articles in the feed.

This adds the ability to nntp-oriented clients to efficiently retrieve
an "active file" without having to resort to `getHeadlines(limit=-1)'
12 years ago
Andrew Dolgov 3306daecf4 implement upload-related support for open_basedir 12 years ago
Andrew Dolgov 723bcdb213 update description of DEFAULT_UPDATE_INTERVAL (2) 12 years ago
Andrew Dolgov 3ddbefabef update description of DEFAULT_UPDATE_INTERVAL 12 years ago
Andrew Dolgov ccb2b8dd42 add HOOK_ARTICLE_LEFT_BUTTON 12 years ago
Andrew Dolgov 035d7a5a8f implement support for multiple pub/mark buttons, add plugin which adds a separate mark button to article botton in combined mode (closes #382) 12 years ago
Andrew Dolgov b1df14d0ec do not rely on feed_id when adding archived feed while unsubscribing 12 years ago
Andrew Dolgov 814fa4ef11 Revert "remove RTITLE"
This reverts commit ecac674ade.
12 years ago
Andrew Dolgov ecac674ade remove RTITLE 12 years ago
Andrew Dolgov 7e27c91409 remove RCHK 12 years ago
Andrew Dolgov 2714d5caa3 fix batch subscribe eating CRs (closes #667) 12 years ago
Andrew Dolgov bf87833884 fix prefs reset not working properly 12 years ago
Andrew Dolgov f3b2e7d41f add back sorting by title 12 years ago
Andrew Dolgov f240d26e46 move db-updater functionality to public, remove db-updater.php 12 years ago
Andrew Dolgov b4c47f7e7b add command-line db schema updater 12 years ago
Andrew Dolgov 29c8fa080e add language dropdown to prefs 12 years ago
Andrew Dolgov aadd636a01 enable remember me 12 years ago
Andrew Dolgov 9ce7a5546c implement some tweaks to session handling; properly remove session cookie if invalid/login failed 12 years ago
Andrew Dolgov 122e9d788e add a dropdown button action to save and exit prefs (closes #660) 12 years ago
Andrew Dolgov ae31704bb3 only unmark articles which had been processed when automarking (for realz) 12 years ago
Andrew Dolgov 0db61af841 api: add article api hook to getArticle, change parameters passed 12 years ago
Andrew Dolgov 8ef9645da0 pref-prefs: add help for USER_CSS_THEME 12 years ago
Andrew Dolgov f9df3e698c Merge pull request #119 from dandersson/hotkey_info_hook
Hook to add hotkey definition texts via plugins
12 years ago
Andrew Dolgov 9db8e60784 update pref descriptions 12 years ago
Andrew Dolgov 5f462963a0 remove blank string gettext invocations 12 years ago
Andrew Dolgov dfad9d7a36 pref-prefs: don't use schema-defined help/desc/section names 12 years ago
Andrew Dolgov f17cac6b26 retire DEFAULT_ARTICLE_LIMIT, infinite scrolling is fast enough to make it superfluous 12 years ago
Andrew Dolgov 4b7726f0b4 rpc: move labelops to article 12 years ago
Andrew Dolgov 9c96a3e28c rpc: remove getArticles 12 years ago
Andrew Dolgov c83554bddd rpc: move completeTags to article 12 years ago
Andrew Dolgov 5df8be5c0a rpc: move setArticleTags to article 12 years ago
Andrew Dolgov 195187c490 rpc: move several feed-related calls to pref-feeds 12 years ago
Andrew Dolgov d719b06240 rpc: move setScore to article 12 years ago
Andrew Dolgov 8956b3a607 remove obsolete checkDate stuff 12 years ago
Andrew Dolgov c88e4a2af3 remove small_article_preview 12 years ago
Andrew Dolgov 96e3ae8cce move batchAddFeeds to pref-feeds 12 years ago
Andrew Dolgov 76f2113b35 instances: fix a few wrong calls, move genHash method from rpc 12 years ago
Daniel Andersson 4785420034 Add hook to add explanations of hotkey actions via plugins. 12 years ago
Andrew Dolgov 8d192d025b update 'no articles in label' hint 12 years ago
Andrew Dolgov ffd0786416 api: add a few logical spaces 12 years ago
Andrew Dolgov 108efe408a Merge pull request #117 from j0nson/patch-1
add sort order to API getHeadlines
12 years ago
Andrew Dolgov 129562e0b1 opml: add some data length limiting 12 years ago
Andrew Dolgov 0671359f28 make show empty cats menu item more visible, move unsubscribe to feeds dropdown 12 years ago
j0nson 0bbd14146a adds sort order to API
Allows sort by feed date or by reverse order
api Params:
order_by (string = feed_dates, date_reverse)
12 years ago
Andrew Dolgov 2faef8349c generated feeds: lower default query limit 12 years ago
Andrew Dolgov d6ba77f3ad fix 304 being returned all the time 12 years ago
Andrew Dolgov 2e35a7070b generated feeds: support if-modified-since 12 years ago
Andrew Dolgov 977580a41c remove obsolete xml stuff in pref-users infoboxes 12 years ago
Andrew Dolgov ceb7847108 add HOOK_TOOLBAR_BUTTON, HOOK_ACTION_ITEM, HOOK_HEADLINE_TOOLBAR_BUTTON 12 years ago
Andrew Dolgov 1a293f10ab improve filter overview display; replace ngettext with php gettext 12 years ago
Andrew Dolgov dc5a8a21a8 api, also hide uncategorized if empty 12 years ago
Andrew Dolgov c0a08063d6 api: do not return Labels category when there are no labels (closes #651) 12 years ago
Andrew Dolgov 417591034a remove experimental view_settings stuff from master 12 years ago
Andrew Dolgov 201bb1ca54 move batchSubscribe to pref-feeds 12 years ago
Andrew Dolgov 9d76e75451 move editPrefProfiles to pref-prefs 12 years ago
Andrew Dolgov 7a5103ae90 move addInstance call to instances plugin 12 years ago
Andrew Dolgov 00e347410e move customizeCSS to pref-prefs 12 years ago
Andrew Dolgov 1c9bda915b move several methods from dlg; fix displayed tags not updated after editing 12 years ago
Andrew Dolgov a7edcc5585 minor css cleanup 12 years ago
Andrew Dolgov fb54e3b188 remove xml stuff from backend/dlg 12 years ago
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 12 years ago
Andrew Dolgov f041932021 pref-filters: fix overview load order 12 years ago
Andrew Dolgov b895510f5c mark filters with no caption in overview 12 years ago
Andrew Dolgov 442bca2752 filters: make caption required (fix) 12 years ago
Andrew Dolgov 4aa1e31e4e filters: make caption required 12 years ago
symac e9c6e27ddb Update public.php
Adding ability to access ARTICLE_NOTE directly in themes. Needed in a project of sharing RSS with notes in a specific atom field.
12 years ago
Andrew Dolgov a86ba0a67a implement filter drag and drop sorting 12 years ago
Andrew Dolgov da46d21e88 simplify filter overview 12 years ago
Andrew Dolgov 18ad09af01 implement filter titles 12 years ago
Andrew Dolgov 3dd0306f3e subtoolbar: remove catchupPage, label confusing with upper toolbar catchup function 12 years ago
Andrew Dolgov c8b693cf7f implement catchup with selectable updated criteria 12 years ago
Andrew Dolgov b029f91621 archive: automatically subscribe user to originating feed while unarchiving 12 years ago
Andrew Dolgov aa5ac2cd3a do not create duplicate archived feeds on unsubscribe, file entries into already existing archive entry 12 years ago
Andrew Dolgov 583dbc5695 api: add author to getHeadlines 12 years ago
Andrew Dolgov a7c0e150b6 fix invisible active headline in 3pane mode 12 years ago
Andrew Dolgov a0ddecb98d remove cdm tiles; update cdm stylesheet as to stop reading on yellow 12 years ago
Andrew Dolgov f0d3c94aa7 purge orphans after deleting articles 12 years ago
Andrew Dolgov e216d3025f forgotpass: remove secretkey stuff because of new session handling; use stylesheet/javascript_tag 12 years ago
Andrew Dolgov 9a2aed9193 sharepopup: use stylesheet/javascript_tag 12 years ago
Andrew Dolgov e92a353b1f feeds: fix browsing by labels broken by pfeeds 12 years ago
Andrew Dolgov 19a206578f fix date_reverse sorting 12 years ago
Andrew Dolgov 7ef7dd31ee syndicated feeds: fix ordering for last_marked etc 12 years ago
Andrew Dolgov 5d40efc9b0 add ability to select CSS files in themes/ 12 years ago
Andrew Dolgov 8aa01d7989 disable SORT_HEADLINES_BY_FEED_DATE; replace with a toolbar newest first order 12 years ago
Andrew Dolgov b9a06a0e39 retire frankly ridiculous sorting by score/title/date/default
keep defaul and oldest first instead of REVERSE_HEADLINES
12 years ago
Andrew Dolgov 250b2e10cb use new double-date sorting in non-default sorting modes 12 years ago
Andrew Dolgov 4cf0f9a900 greaderimport: add command line mode 12 years ago
Andrew Dolgov b3575bd8e4 fix include_empty to use bool type 12 years ago
Andrew Dolgov 66ca7c3097 api: add include_empty to getCategories/getFeedTree 12 years ago
Andrew Dolgov fcef9eeae0 remove dialogNotice; tweak dialog appearance a bit 12 years ago
Andrew Dolgov 483f15d538 update utility.css related stuff some more 12 years ago
Andrew Dolgov 0bb5833beb api: add getFeedTree 12 years ago
Andrew Dolgov f231f438ba reimplement remember_me 12 years ago
Andrew Dolgov 60ed4c9ad5 add yet another workaround for stuck login due to session cookies 12 years ago
Andrew Dolgov 79bb55892b api/login: add session_destroy 12 years ago
Andrew Dolgov f79bd4397f login: add session_destroy() first 12 years ago
Andrew Dolgov cda55d67d0 add cleanup_tags/purge orphans to globalUpdateFeeds and simple update
rpc call (closes #636)
12 years ago
Andrew Dolgov 5160620c8a only autostart session if login cookie exists 12 years ago
Andrew Dolgov 919984a436 css cleanup; change notify css a bit 12 years ago
Andrew Dolgov 6deafe90db modify notify/warn/error boxes css 12 years ago
Andrew Dolgov 00df2b5f91 various utility.css updates 12 years ago
Andrew Dolgov bb5e1a328d enable 4th field in plugin->about() to serve as a more info link 12 years ago
Andrew Dolgov 65f85248ce pref-prefs: mention tt-rss forums as a plugin source 12 years ago
Andrew Dolgov a413f53ebf add experimental base for plugin vfeeds (3 pane mode not yet
implemented)
12 years ago
Andrew Dolgov af2941dbb3 truncate feed title length in vfeeds 12 years ago
Andrew Dolgov c72069b098 pref_users: do not escape password to prevent special character
mishandling; remove inconsistent trimming of passwords
12 years ago
Andrew Dolgov be574731fc modify sorting by date_entered: set date_entered per-batch; use updated as a secondary criteria 12 years ago
Andrew Dolgov 33b3db3372 for consistency, show hotkey-toggleable options relating to headlines list in preferences 12 years ago
Andrew Dolgov 744a1b0080 disable show additional preferences checkbox as repeatedly confusing 12 years ago
Andrew Dolgov 884d16505e tweak how utility.css-based stuff looks 12 years ago
Andrew Dolgov f822a8e56c experimentally rebase labels; make base index configurable 12 years ago
Andrew Dolgov 2e828a4af6 add a button to show release notes before updating; remove obsolete elements 12 years ago
Andrew Dolgov ec1f8a3d8a fix inverse rule to only mean negative regexp matching except for whole rule (refs #631) 12 years ago
Andrew Dolgov bcd4d24086 getFilterName: only show inverse rules as actually inverse 12 years ago
Andrew Dolgov a3a896a127 let us rejoice on being able to create double negative filters (refs #631) 12 years ago
Andrew Dolgov c1f6e5f865 api: fix updateFeed crashing (closes #616) 12 years ago
Andrew Dolgov d2f3467bb6 add a simple appearing preview for unexpanded cdm and normal mode 12 years ago
Andrew Dolgov d2888e8832 create_published_article: set last_published properly on creation 12 years ago
Tomas Chvatal 9a73994c5e Allow translation of notices in prefs. 12 years ago
Andrew Dolgov 8850646ff3 Merge pull request #77 from scarabeusiv/master
Fix pluralized forms and whitespace in translations and fix the l10n tools
12 years ago
Tomas Chvatal 1844694351 gettext whitespace fix 12 years ago
Tomas Chvatal f5c1fef9cd Fix plural forms on feed count. 12 years ago
Andrew Dolgov 7be3fcd5e1 api, getCategories: properly return information for categories with 0 feeds, but children categories present 12 years ago
Andrew Dolgov efc6553da4 api: implement subscribeToFeed/unsubscribeFeed (closes #623) 12 years ago
Andrew Dolgov bf1dc420b9 Revert "title escaping: do not double-encode entities"
This reverts commit d6ce708930.
12 years ago
Andrew Dolgov d6ce708930 title escaping: do not double-encode entities 12 years ago
Andrew Dolgov 68fb3c955a update reset user password to use ttrssMailer 12 years ago
Andrew Dolgov 6ef8ec84cb Merge pull request #73 from derekmurawsky/dmChanges
Centralized mail handling per post on google + community.
12 years ago
derekmurawsky 1b2afd2bd3 Additions:
classes/trssmailer.php - Created class TTRSS mailer which extends phpmailer and sets the default mail settings upon instantiation. Class includes quickmail function that allows for a quick email send with no extra configurion necessary.

Changes:
config.php-dist - Added the smtp port option

include/digest.php - Converted it to use the new ttrrssmailer class

include/sanity_config.php - Added the smtp port option to the sanity check

plugins/mail/init.php - Modified to use ttrssmailer class. This particular configuration shows a hybrid use case.

register.php = Modified to use ttrssmailer class.

All code was tested and functioned on my local machine.
12 years ago
Andrew Dolgov f43e9e97a5 add basic password recovery thing 12 years ago
Andrew Dolgov 06b0777fa7 feeds/view: periodically bump login timestamp 12 years ago
Andrew Dolgov feb9b2dfc9 generate_syndicated_feeds use last_published/last_marked 12 years ago
Andrew Dolgov 5defc29ff8 remove PTITLE kludge; use ajax 12 years ago
Andrew Dolgov 3972bf5981 db_escape_string: specify link parameter for consistency; sessions: do not force-close db connection in _close() 12 years ago