Search found 18 matches

by troyengel
21 Feb 2016, 19:53
Forum: Development
Topic: Bug in feed purging (git head) of some sort
Replies: 6
Views: 6425

Re: Bug in feed purging (git head) of some sort

Here's all I was thinking -- I haven't run it, just used your existing code (meaning I am not a programmer by trade so it's rough) that doesn't redesign the world, just truncates, re-hashes and inserts the new hash: if ($entry_current_hash == $entry_stored_hash && !isset($_REQUEST["forc...
by troyengel
21 Feb 2016, 19:06
Forum: Development
Topic: Bug in feed purging (git head) of some sort
Replies: 6
Views: 6425

Re: Bug in feed purging (git head) of some sort

OK I think I follow, what you're saying is that it's using the server cache controls (if-modified-since, etc.) and since this server works like this: $ curl -I -H 'If-Modified-Since: Sat, 20 Feb 2016 00:00:01 GMT' http://podcast.hernancattaneo.com/e/resident-episode-143-february-01-2014/ HTTP/1.1 20...
by troyengel
21 Feb 2016, 18:34
Forum: Development
Topic: Bug in feed purging (git head) of some sort
Replies: 6
Views: 6425

Bug in feed purging (git head) of some sort

I was preparing to migrate my database and noticed my tt-rss SQL was huge (compared to what it's supposed to be, single user and mark feeds read daily) so started digging in and found years old entries in ttrss_entries that *should have been* purged a long time ago. This might be an older bug that c...
by troyengel
06 Dec 2015, 00:44
Forum: Development
Topic: [Patch] Fix af_readability/init.php bad use of empty array
Replies: 8
Views: 12895

Re: [Patch] Fix af_readability/init.php bad use of empty array

Updating here after we worked together on Gitlab - in addition to the above, 3 more tasks: 1. If further changes need to be pushed up to that branch, first set the remote origin as upstream: $ git branch -u origin/<new-branch-name-with-sensible-name> Now dev and push updates as you normally would to...
by troyengel
04 Dec 2015, 23:06
Forum: Development
Topic: [Patch] Fix af_readability/init.php bad use of empty array
Replies: 8
Views: 12895

Re: [Patch] Fix af_readability/init.php bad use of empty array

I gave it a shot, think I got it right - I've not worked in this manner before so it's a slightly off-kilter method but nothing hard. :) Perhaps we could update the wiki with a sample session showing how it's done for others who are not used to this method of usage and/or Gitlab, something like... $...
by troyengel
02 Dec 2015, 03:53
Forum: Development
Topic: [Patch] Fix af_readability/init.php bad use of empty array
Replies: 8
Views: 12895

Re: [Patch] Fix af_readability/init.php bad use of empty array

Andrew, can you check my "maximum projects" setting? Attempting to fork results in: Fork Error! You tried to fork Andrew Dolgov / tt-rss but it failed for the following reason: – Limit reached Your project limit is 0 projects! Please contact your administrator to increase it I thought mayb...
by troyengel
29 Nov 2015, 21:34
Forum: Development
Topic: [Patch] Fix af_readability/init.php bad use of empty array
Replies: 8
Views: 12895

Re: [Patch] Fix af_readability/init.php bad use of empty array

troyengel (same as here) thx, I'll do the needful and submit a pull request
by troyengel
29 Nov 2015, 20:25
Forum: Development
Topic: [Patch] Fix af_readability/init.php bad use of empty array
Replies: 8
Views: 12895

[Patch] Fix af_readability/init.php bad use of empty array

I created a gitlab account but can't fork or create an issue, sorry - posting a proposed patch here. I did a fresh git pull and enabled af_readability for the first time (checking it out to try and resolve some crappy feed content) and saw this in the logs: E_WARNING (2) plugins/af_readability/init....
by troyengel
23 Aug 2015, 05:26
Forum: Support
Topic: Android tt-rss 1.146 headlines images
Replies: 2
Views: 3370

Re: Android tt-rss 1.146 headlines images

awesome thanks, latest update is fixed! :)
by troyengel
22 Aug 2015, 01:58
Forum: Support
Topic: Android tt-rss 1.146 headlines images
Replies: 2
Views: 3370

Android tt-rss 1.146 headlines images

Since the 1.146 update to the client, the No Images modes (either one, regular and compact) are not working right, they are still showing the images by accident. This is on both my Nexus 5 and 7, here are example feeds: http://beautifuldecay.com/feed/ http://www.ignant.de/feed/ It was fine the last ...
by troyengel
31 Dec 2013, 20:20
Forum: Development
Topic: Include custom nav bar on login page
Replies: 0
Views: 3399

Include custom nav bar on login page

I have my tt-rss in a subdir so wanted to integrate a simple navigation bar to link back to the rest of the site -- do y'all think this is worth submitting for inclusion to the code? I'm no HTML/CSS pro so it's not the slickest looking nav... :) A side effect is that you could use your own custom im...
by troyengel
03 Apr 2013, 00:44
Forum: Development
Topic: Safe to pull from Master?
Replies: 5
Views: 2355

Re: Safe to pull from Master?

I have no idea what you did exactly but that got dropped with all required checks. So either you are doing something very horrible with git or I'm missing something obvious. I don't have a direct answer to that -- once the DB upgraded it started working fine, I could comment it back out. Cached jav...
by troyengel
02 Apr 2013, 19:12
Forum: Development
Topic: Safe to pull from Master?
Replies: 5
Views: 2355

Re: Safe to pull from Master?

Thanks for the prompting. :) I just converted from 1.7.5 to git/master -- part of that was to diff my config.php and I deleted SESSION_EXPIRE_TIME from it since it's now gone from config.php-dist. When I first hit the URL I received: Required configuration file parameter SESSION_EXPIRE_TIME is not d...
by troyengel
28 Mar 2013, 18:50
Forum: Development
Topic: [1.7.5] session table 'leak' problem in index.php
Replies: 2
Views: 2400

Re: [1.7.5] session table 'leak' problem in index.php

Patches confirmed working. I truncated the ttrss_sessions table then watched the sessions in realtime as my monitoring, load balancer health checks and actual real session we used via: # watch -n 2 'mysql -e "select count(*) from ttrss.ttrss_sessions;"' Sessions remained at 0 until I logge...
by troyengel
28 Mar 2013, 05:55
Forum: Development
Topic: [1.7.5] session table 'leak' problem in index.php
Replies: 2
Views: 2400

[1.7.5] session table 'leak' problem in index.php

Hi all, been running tt-rss for about a week now and have had MySQL's slow-query logging enabled. A bunch of slow queries started showing up for inserts into the ttrss_sessions tables so I investigated (this is running on a 512mb cloud server so I started seeing swap use unexpectedly). The problem i...

Go to advanced search