Commit Graph

16 Commits

Author SHA1 Message Date
7fbe648d99 Import current_app from pillar instead of flask 2017-05-24 15:48:27 +02:00
663627358f Ran 2to3 on pillar + some manual fixups
The 'manual fixups' are:

- incorrect use of dict.items() where dict.iteritems() was meant; this
  results in list(dict.items()), which I changed to dict.items().
- removal of 'from __future__ import' lines, which 2to3 changes into
  empty lines; I removed the empty lines.
2017-03-22 15:49:51 +01:00
11197e669c Remove /about endpoint 2016-12-02 18:02:29 +01:00
6bb491aadc Support for page urls
Now we can access pages with the following url
/p/<project_url>/<page-url>. Internally we use the existing view_node,
but if we detect that the node_id is not an object id we try to treat
it as a page url and therefore we try to define node and project using
render_node_page().
2016-12-02 16:57:51 +01:00
f75c43055f Blog on frontpage 2016-11-25 13:32:05 +01:00
1e1d9e57e7 Show description/content of posts/assets 2016-11-24 19:03:43 +01:00
6910d3da49 We always include the picture now 2016-11-24 18:14:07 +01:00
b9c3d6b0fb Merge featured assets and blog posts into one activity stream 2016-11-24 18:13:46 +01:00
f99869f57e 10 featured/latest items 2016-11-24 18:12:38 +01:00
5dd49fa5dd Pillar Extensions can now add links to the sidebar. 2016-10-11 16:33:44 +02:00
6429c3df21 Modernised flask.ext.login imports → flask_login 2016-10-11 15:23:40 +02:00
e2921c8da8 nodes_latest was missing the content_type 2016-09-30 18:07:36 +02:00
e58f29a9d0 Fix missing pictures on latest blog posts and node updates 2016-09-05 16:00:45 +02:00
04c9c010f0 p.view_node(): check node_id for validity, before sending it to the API
This prevents a pillarsdk.exceptions.MethodNotAllowed exception, which
would result in a 500 Internal Server Error on the frontend.
2016-08-24 14:49:30 +02:00
b6c623cca8 Don't import every function from pillar.web.utils individually.
Instead, just "from pillar.web import utils" and then use utils.X to
get to the util function.
2016-08-24 14:26:47 +02:00
2c5dc34ea2 Introducing Pillar Framework
Refactor of pillar-server and pillar-web into a single python package. This
simplifies the overall architecture of pillar applications.

Special thanks @sybren and @venomgfx
2016-08-19 09:19:06 +02:00