Commit graph

5067 commits

Author SHA1 Message Date
52144cfa84 chg: line wrapping 2016-12-17 15:56:23 +01:00
e04e1daeaf fix: insufficient compression of main.css 2016-12-17 15:55:57 +01:00
d69cf54e43 add: ant target for updating java libraries
using helma’s new gradlew wrapper and an extra build.gradle file
2016-12-17 15:54:47 +01:00
0e3bb7216c fix: redundant call of lessParser.parse()
to improve performance again, compromised by slow java less parser
2016-12-17 14:36:53 +01:00
d28d18c0fe chg: experimental branch using rhino’s commonjs support
needs helma’s feature/commonjs-support branch

the less-rhino-1.7.5.js implementation uses its own require() implementation which breaks rhino’s one. thus, the official java impl is used instead – which is quite slow, unfortunately… needs to be resolved in a better way before this can be merged.

however, using marked with require() works like a charm :)
2016-12-17 14:36:52 +01:00
70e55bc853 fix: wording 2016-12-17 14:35:41 +01:00
6619322053 fix: indentation 2016-12-17 14:35:19 +01:00
59377e4676 fix: output of empty locale 2016-12-17 14:34:53 +01:00
b322ac79f6 fix: redundant call of lessParser.parse()
to improve performance again, compromised by slow java less parser
2016-12-17 14:11:09 +01:00
93194492ad chg: experimental branch using rhino’s commonjs support
needs helma’s feature/commonjs-support branch

the less-rhino-1.7.5.js implementation uses its own require() implementation which breaks rhino’s one. thus, the official java impl is used instead – which is quite slow, unfortunately… needs to be resolved in a better way before this can be merged.

however, using marked with require() works like a charm :)
2016-12-17 10:30:12 +01:00
cd5cd15018 del: definition of JSON object in external module
use Rhino’s implemented JSON support instead
2016-12-17 10:01:19 +01:00
d8fdba526a fix: href processing
missing else clause caused wrong hrefs for default domain
2016-12-09 15:01:17 +01:00
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