Commit graph

5055 commits

Author SHA1 Message Date
dd49a26a57 add: app property for overriding the scheme used in hrefs
e.g. hrefScheme = https generally renders urls starting with https://
2016-12-09 14:48:12 +01:00
9748633b78 add: current location as referrer
to make up for missing information in the user agent
2016-09-04 00:34:06 +02:00
7f6584dcbd fix: use simplified user agent
works better e.g. with nytimes.com because this site always redirects to its login form when a user agent starting with `Mozilla/5.0 (c` is detected:

```python
import os
import pprint

from google.appengine.api import memcache
from google.appengine.api import mail
from google.appengine.api import urlfetch
from google.appengine.ext import db

url = 'http://www.nytimes.com/2016/09/03/technology/nso-group-how-spy-tech-firms-let-governments-see-everything-on-a-smartphone.html?utm_source=pocket&utm_medium=email&utm_campaign=pockethits&_r=0'

response = urlfetch.fetch(url, headers={
  'User-Agent': 'Mozilla/5.0 (c u got me'
}, follow_redirects=True)

pprint.pprint(response.content)
```
2016-09-04 00:33:51 +02:00
02371689c8 chg: add log output 2016-07-10 18:24:11 +02:00
313833ecce fix: enable real utf-8 for mysql database
source: https://mathiasbynens.be/notes/mysql-utf8mb4
2016-07-10 18:23:27 +02:00
f27a4cf5ac fix: do not create or drop obsolete tables 2016-07-10 18:22:16 +02:00
c58bedeb0b chg: allow instant articles for all sites 2016-06-26 20:46:53 +02:00
3ead0b8019 add: basic support for Google’s accelerated mobile pages (AMP) 2016-06-26 20:36:28 +02:00
4be343d768 chg: sped up execution of sql deletion 2016-06-26 14:20:46 +02:00
1fc175018a fix: revert accidental commit of commented code 2016-06-26 14:13:45 +02:00
2d61c0dafa fix: ignore any origin without either http, https or ftp protocol 2016-06-26 14:12:53 +02:00
d75e3437a9 fix: respect default parameter in description macro 2016-06-26 13:40:29 +02:00
fdfee2e50d fix: display of file origin in File and Image prototypes
* ignore origins with c:\fakepath\ (i.e. uploaded from local file system)
 * use `description_macro()` for output of either this.description or this.origin (if available) or nothing, instead of macro default
 * prevent setting this.description in `update()` methods or from formica bookmarklet
2016-06-26 13:21:57 +02:00
2eeb4549ce fix: do not create a helma.Image instance if constraints are fulfilled
obviously, helma.Image already compresses image data and a recent change actually removed code preventing this for images fulfilling the max width and height constraints

see http://help.antville.org/stories/2239244/
2016-05-26 12:36:42 +02:00
79d6c265e2 new: skin for instant article 2016-05-25 17:21:29 +02:00
2d0b1d6790 change: added support for instant articles in rss feeds
currently only enabled for a few sites
2016-05-25 17:20:39 +02:00
a8b37e39ba fix: do not resize original image 2016-04-22 22:13:11 +02:00
ee28a1466a fix: don’t resize layout images (except their thumbnails) 2016-04-09 18:24:20 +02:00
4b451cd84c fix: automatically set og:image from formica 2016-03-28 18:29:53 +02:00
0fe4d4b160 fix: replaced getURL() with corresponding helma.Http methods for more configuration options and better results 2016-03-28 18:28:41 +02:00
b5851313b9 fix: reset the response before sending JSONP data 2016-03-28 18:27:47 +02:00
e9c9fb7ae5 fix: custom message for error when retrieving url 2016-03-25 20:06:55 +01:00
2e16d8b179 fix: disable debugging mode 2016-03-25 19:58:24 +01:00
780ad73c2a fix: catch various errors and give a litte bit of feedback in the gui 2016-03-25 19:57:19 +01:00
ac64092624 fix: replaced hard-coded site url with macro 2016-03-25 16:36:07 +01:00
a4b85d40e6 fix: disabled debugging code 2016-03-18 22:32:34 +01:00
8b3a41191e updated formica bookmarklet
fix: layout in uikit style
fix: gui for in/excluding image
add: support for open graph title and description
chg: emoji in bookmarklet code with support for custom cookie (useful e.g. for nyt)
2016-03-18 22:27:38 +01:00
4d2867d744 fix: added missing change in $Image#embed skin for improved formica image link 2016-01-16 23:43:11 +01:00
7644cc4ec0 chg: improved responsive formica image with custom link to source URL 2016-01-16 23:39:41 +01:00
95297f5f14 fix: styled image from formica bookmarklet as thumbnail to maintain responsive layout 2016-01-15 21:20:45 +01:00
6180ee475c fix: refactored for latest update in Helma’s format() method to prevent huge gaps in <pre> elements 2015-08-14 14:25:53 +02:00
aeb13485e9 fix: date formatting 2015-08-14 14:24:50 +02:00
342974fdc9 chg: added hints to Java and JavaScript to the first sentence about Helma 2015-08-14 14:24:33 +02:00
34af2b0bd9 fix: missing simple linebreaks in story 2015-08-14 11:29:47 +02:00
22bd98fb06 Merge branch 'develop' 2015-08-10 20:20:29 +02:00
e6ccacbbf7 fix: updated JARs needed for build 2015-08-10 20:20:13 +02:00
fd8c4676bc chg: typo 2015-08-10 20:19:37 +02:00
8d0fff20b5 chg: updated H2 databse to version 1.3.176 2015-08-10 20:18:43 +02:00
2bd529a5b7 Finish 1.5 2015-08-10 19:34:20 +02:00
14b6256809 Finish 1.5 2015-08-10 19:34:20 +02:00
2559f4a3b1 chg: rebuilt JS files 2015-08-10 19:33:24 +02:00
c8f63546bf chg: cleaned up 2015-08-10 19:33:03 +02:00
6c532c5e82 Merge branch 'release/1.5' 2015-08-10 17:23:17 +02:00
eb8e1dbd8b fix: replaced arbitrary patterns with specific ones 2015-08-10 17:15:01 +02:00
5f87f9a7af chg: updated message files 2015-08-10 16:32:19 +02:00
b2e72f533f chg: output OpenGraph data in the main action of an image 2015-08-10 16:22:10 +02:00
5b7a409dd1 fix: encode URLs 2015-08-10 16:21:21 +02:00
04643c1f6a del: obsolete code block 2015-08-10 16:00:35 +02:00
dc6bc652cc chg: combined text with arrow icon to link to public sites 2015-08-10 15:40:44 +02:00
aa7b66ba90 fix: corrected link to story from list of recent updates 2015-08-10 15:40:00 +02:00