Commit graph

4529 commits

Author SHA1 Message Date
ceeba55018 fix: display of 401 error message 2017-04-30 09:49:31 +02:00
49b1b357a0 fix: missing support for future dates in formatDate() method 2017-04-30 09:49:03 +02:00
f6b76518ac fix: return value of deleted_macro() if no formatting should be applied
in that case, the date value is returned allowing meaningful application of format filter
2017-04-30 09:47:15 +02:00
951f9a0983 fix: path to rhino jar 2017-04-30 09:45:11 +02:00
b7d55cbc88 chg: immediately show most users 404 page for a deleted site
owners can revert the deletion request until cronjob is created, privileged users until site is removed with nightly cronjo
2017-04-29 22:07:35 +02:00
df1a87eab4 chg: improved display of various console output levels 2017-04-17 20:03:16 +02:00
59bedf9e78 fix: display of modifier in list of story updates 2017-03-18 00:12:24 +01:00
37909691e5 chg: rebuilt server-side JS file 2017-03-18 00:11:32 +01:00
901cbc7aaf fix: missing build target for server-side JS files 2017-03-18 00:10:57 +01:00
76d98b32e1 fix: stickiness of version for marked
also fixed license to be spdx conform
2017-03-17 17:17:48 +01:00
f5cff5ba44 chg: bumped versions and rebuilt client files
note: marked is sticky @0.3.3 because of issue #872https://github.com/chjj/marked/issues/872
2017-03-17 16:53:55 +01:00
97d2813df2 add: helma version to health page 2016-12-17 18:16:20 +01:00
122818697b chg: incremented version string 2016-12-17 18:15:50 +01:00
472104fa75 chg: updated client files 2016-12-17 16:03:40 +01:00
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
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