Commit Graph

171 Commits (95e70320a60ad12a6562c28a906714e754b40fad)

Author SHA1 Message Date
Andrew Dolgov 9dd336a2c3 generate base css files using lessc 7 years ago
Andrew Dolgov 2352c320c2 fix possible sql injection in public/forgotpass 7 years ago
Gilles Grandou 81d96c0dee makes 'order by title' to sort by title and by ascending date
* this allows to chronologically browse all articles with the
  same title.
7 years ago
Andrew Dolgov 8b73bd28d8 remove apache-specific x-sendfile stuff
implement a hook (HOOK_SEND_LOCAL_FILE) which plugins may use to send files
via httpd-specific implementation to increase performance typically on larger files
7 years ago
Andrew Dolgov b2d42e960b replace some usages of SELF_URL_PATH with get_self_url_prefix() 7 years ago
Andrew Dolgov 5b6ea1ef91 remove pubsubhubbub: dead 8 years ago
Andrew Dolgov 2ed0d6c433 move counter cache to a separate class
fix references to get_article_tags
8 years ago
Andrew Dolgov aeb1abedb2 move a bunch of functions into Feeds/Article namespaces
+       static function catchupArticlesById($ids, $cmode, $owner_uid = false) {
+       static function getLastArticleId() {
+       static function queryFeedHeadlines($params) {
+       static function getParentCategories($cat, $owner_uid) {
+       static function getChildCategories($cat, $owner_uid) {

move the rest of functions2.php back to functions.php as it is of more manageable size, remove the former
8 years ago
Andrew Dolgov a230bf88a9 move to Article:
+       static function purge_orphans($do_output = false) {

move to Feeds

+       static function getGlobalUnread($user_id = false) {
+       static function getCategoryTitle($cat_id) {
+       static function getLabelUnread($label_id, $owner_uid = false) {
8 years ago
Andrew Dolgov 86a8351ca2 move the following to Feeds:
+       static function catchup_feed($feed, $cat_view, $owner_uid = false, $mode = 'all', $search = false) {
+       static function getFeedArticles($feed, $is_cat = false, $unread_only = false,
+       static function subscribe_to_feed($url, $cat_id = 0,
+       static function getFeedIcon($id) {
+       static function getFeedTitle($id, $cat = false) {
+       static function getCategoryUnread($cat, $owner_uid = false) {
+       static function getCategoryChildrenUnread($cat, $owner_uid = false) {
8 years ago
Andrew Dolgov 7e5f8d9fb3 move the following to Article:
+       static function format_article_enclosures($id, $always_display_enclosures,
+       static function format_article($id, $mark_as_read = true, $zoom_mode = false, $owner_uid = false) {
+       static function get_article_tags($id, $owner_uid = 0, $tag_cache = false) {
+       static function format_tags_string($tags) {
+       static function format_article_labels($labels) {
+       static function format_article_note($id, $note, $allow_edit = true) {
+       static function get_article_enclosures($id) {
8 years ago
Andrew Dolgov ea79a0e033 remove some redundant php closing tags 8 years ago
Andrew Dolgov 41bead9baa remove local file extensions and generalize some method names for cached media
file extensions may still be present in urls, but are ignored by the backend

MIGRATION (if you have any cached data worth keeping, not required):
in cache/images run "rename 's/\..*$//' *" i.e. strip file extensions
8 years ago
Andrew Dolgov 4daaf23491 allow user plugins to expose public methods out in a limited fashion 8 years ago
Andrew Dolgov 38b3998bbc af_zz_imgproxy: use inline disposition, misc updates 8 years ago
Andrew Dolgov 9c7ebaa08c cached_image: remove unnecessary basename() 8 years ago
Andrew Dolgov 0442cbb6c1 image cache: send files as content-disposition: attachment; add .png suffix to image urls 8 years ago
Andrew Dolgov 2f1a29d9c8 generate_syndicated_feed: sanitize content excerpt 9 years ago
Andrew Dolgov 977cea1438 actually check for failures properly in the dbupdater 9 years ago
Andrew Dolgov 9232283815 pass feed information to hook_article_export_feed 9 years ago
Andrew Dolgov 399678a14e add PluginHost.HOOK_ARTICLE_EXPORT_FEED 9 years ago
Andrew Dolgov 3261dbfa21 generate_syndicated_feed: pass article id to sanitize() 9 years ago
Andrew Dolgov b87744534a add plugin-based filter actions (see example plugin in attic)
bump schema
9 years ago
Andrew Dolgov f5a0fb8b64 queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating 9 years ago
Andrew Dolgov 9090b874ab simplify search, remove search_mode as useless
remove dialog to select by tags, simplify browsing by tag query
10 years ago
Andrew Dolgov 27f7b59353 add a wrapper for standard error codes returned by backend, also add explanation to the error object if possible 10 years ago
Andrew Dolgov f75e7c6446 rename url_to_tag_uri to a more relevant name 10 years ago
Andrew Dolgov 4b7391de7b generated feed: use tag: instead of the public.php URL as an entry ID; set enclosure length to 1 if unknown 10 years ago
Andrew Dolgov 0c6f7b314a remove image.php; put cached image endpoint to public.php 10 years ago
Andrew Dolgov 9b1e591854 include subcategories in generated category feeds 10 years ago
Andrew Dolgov 4b19d4ac91 properly show cached images in syndicated feeds 11 years ago
Andrew Dolgov d1e631f301 generated feeds, add ts= (strtotime) start timestamp 11 years ago
Andrew Dolgov 5303f9a71a rework password reset to work through temporary link 11 years ago
Andrew Dolgov f7439d69cd comment out subtest 11 years ago
Andrew Dolgov 97b7d5c038 split functions php into two parts because syntastic is too slow
get_feeds_from_html: stricter feed detection based on whatwg guidelines
11 years ago
Andrew Dolgov 38e063418d public: remove subscribe2 (unused?) 11 years ago
Andrew Dolgov 4a80c57c50 remove some unused code reported by phpmd 11 years ago
Andrew Dolgov 6214a0768a reinstate scriptaculous controls (needed for ajax.autocomplete) 11 years ago
Andrew Dolgov cdbcb2778a move Zoom stylesheet to a separate file
update stylesheet/javascript tag helpers to return output instead of
printing it
11 years ago
Andrew Dolgov fd94d63122 mention username in login failed syslog message 11 years ago
Andrew Dolgov bf5bcb8e27 queryFeedHeadlines: remove obsolete content_preview 11 years ago
Andrew Dolgov 5bcb7b61b0 syndicated feeds: default to change exported guid 11 years ago
Andrew Dolgov 43d790f054 pubsubhubbub: disable feed url checking when subscribing for the time being, expand error messages a bit 11 years ago
Andrew Dolgov 0ee126ee8f remove a few parser warnings from generated feeds 11 years ago
Andrew Dolgov 84c53d0e1d fix http 304 header being calculated incorrectly for published and starred feeds 11 years ago
Andrew Dolgov d0ee0f52b7 use favicon in some auxiliar dialogs 11 years ago
Andrew Dolgov bc262b6778 unfuck headlines_hook for syndicated feeds 11 years ago
Andrew Dolgov 4e5ddeafa6 make cache starred plugin use hook_house_keeping 11 years ago
Andrew Dolgov 910592b49a add plugin to cache images in starred articles; pass article_id to
sanitize
11 years ago
Andrew Dolgov 113c3dec9e make globalUpdateFeeds handler use simple update mechanism to prevent script timeouts 11 years ago
justauser 3b96b0ed7c Merge branch 'master' into hookhead
Conflicts:
	include/functions.php

changes for conflicts with master
12 years ago
Julien Tardot 39119f0216 Correct feed ID in feeds self URL. 12 years ago
Andrew Dolgov 62e7136b74 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 12 years ago
Andrew Dolgov 356e13b161 rename orig_guid to no_orig_guid 12 years ago
Andrew Dolgov fcf6bfba32 syndicated feeds: add orig_guid to optionally alter item id to workaround duplicate checking for syndicated content; add <link> element to <source> 12 years ago
guillaume-uH57J9 c4cab4ecf4 Report failed login attemps using user_error 12 years ago
shibuya246 ab10707fac add <source><title> to feed rss output 12 years ago
justauser 575a52874c fixed a typo 12 years ago
justauser 6763143835 Changed the implementation of HOOK_QUERY_HEADLINES to deal with issue Fox raised 12 years ago
justauser 891e36f57e Changes to add a new hook: HOOK_QUERY_HEADLINES. An example is provided. 12 years ago
Roland Angerer 0806d68bac bugfix: list correct profile IDs on login page 12 years ago
Andrew Dolgov 25051fb84b support custom order in generated feeds (closes #709) 12 years ago
Andrew Dolgov 67e0cf9a37 add startup_gettext() calls to several endpoints for unregistered users so the output would be translated based on accept-language header 12 years ago
Andrew Dolgov 5bbc4bb4b0 move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
12 years ago
Rasmus Lerdorf 6f7798b643 Fixing bugs found by static analysis 12 years ago
Andrew Dolgov b18d109f22 only get USER_LANGUAGE on schema 120 and up 12 years ago
Andrew Dolgov 7b149552cb remove language selector from the login form, store language in the database per-user 12 years ago
Andrew Dolgov e2cf81e214 unify houskeeping stuff, increase spawn interval 12 years ago
Andrew Dolgov 3c200461f8 more notice css tweaks 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 0630a100d5 revert OO-db access in dbupdater, create DbUpdater() correctly 12 years ago
Andrew Dolgov d9c85e0f11 classes: use OO DB interface 12 years ago
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 12 years ago
Andrew Dolgov 6322ac79a0 remove $link 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 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 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
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 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 7ef7dd31ee syndicated feeds: fix ordering for last_marked etc 12 years ago
Andrew Dolgov 8aa01d7989 disable SORT_HEADLINES_BY_FEED_DATE; replace with a toolbar newest first order 12 years ago
Andrew Dolgov 483f15d538 update utility.css related stuff some more 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 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 00df2b5f91 various utility.css updates 12 years ago
Andrew Dolgov 884d16505e tweak how utility.css-based stuff looks 12 years ago
Andrew Dolgov f43e9e97a5 add basic password recovery thing 12 years ago
Andrew Dolgov feb9b2dfc9 generate_syndicated_feeds use last_published/last_marked 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
Joschasa ca5d9be49f Remove deprecated $match_on 12 years ago
Andrew Dolgov 6b3f228fdc ignore VFEED_GROUP_BY_FEED when generating syndicated feeds 12 years ago