Sybren A. Stüvel
c2c19bd6f3
Removed development requirements and unused secondary requirements.
2017-03-22 15:49:51 +01:00
Sybren A. Stüvel
1266d4b5d9
Made requirements.txt py36-compatible
...
Some packages had to be removed; they are deployment-specific anyway,
and may not even be needed any more.
I've also added some secondary requirements that weren't specified yet.
The next steps will be to split into runtime and development requirements.
2017-03-22 15:49:51 +01:00
Sybren A. Stüvel
647ae0f3d6
Fixed create_from_file(filename) bug (should be file obj, not name)
2017-03-01 08:56:26 +01:00
Sybren A. Stüvel
e5b4ce0890
GoogleCloudStorageBucket.gcs_bucket → _gcs_bucket
...
Added a few FIXME comments where _gcs_bucket is used outside of the class.
2017-03-01 08:56:26 +01:00
Francesco Siddi
27df603299
Started moving processing function in subclasses
2017-03-01 08:56:26 +01:00
Francesco Siddi
4d6bf65a99
Attempt at proper naming
...
Using Bucket and Blob as base classes.
2017-03-01 08:56:26 +01:00
Sybren A. Stüvel
c06533db5b
Breaking stuff by introducting decorator & abstract base class stuff.
2017-03-01 08:56:26 +01:00
Sybren A. Stüvel
b3b9c68486
Fixed uploading of images.
...
Thumbnailing is still broken, though.
2017-03-01 08:56:26 +01:00
Francesco Siddi
aecab0561e
WIP introducing STORAGE_BACKEND
...
We introduce two new classes StorageBackend and FileInStorage, which
are subclassed by CGS and local Pillar. This makes supporting multiple
storage solutions easier.
2017-03-01 08:56:26 +01:00
Francesco Siddi
4570b4637b
Move attachment parsing on the node level
last-py27
2017-02-27 16:23:21 +01:00
Francesco Siddi
e381ca774e
On Page load use replaceState instead of pushState
...
Fix T50797 and replace the id-based url with a custom url for page in the browser's history.
2017-02-27 13:08:56 +01:00
Francesco Siddi
6765276519
Introducing attachments fixes for blog posts and assets.
...
Requires migration of attachments schema using
python manage.py maintenance upgrade_attachment_schema --all
2017-02-21 18:08:42 +01:00
Sybren A. Stüvel
eca4ade9d8
Linking to Blender Cloud add-on (and no longer to bundle)
...
Added a note that states the add-on requires Blender 2.78+. Even though
this isn't strictly true (it also supports 2.77a if you manually install
the Blender ID add-on), it simplifies things greatly.
Fixes T49721
2017-02-21 11:14:46 +01:00
Pablo Vazquez
2e00e81b30
Raise z-index of col_right by 1
2017-02-14 16:03:37 +01:00
Pablo Vazquez
0a86ad357f
Analytics for videojs
2017-02-08 16:27:52 +01:00
Pablo Vazquez
02f736dcc4
Hide missing summaries on projects homepage
2017-02-08 15:27:20 +01:00
Pablo Vazquez
d8eae2c44b
Fix OG crash on projects without picture_header
2017-02-08 15:26:56 +01:00
Pablo Vazquez
c98cd82b3f
OpenGraph: Check if we have a description/post content
2017-02-08 14:48:55 +01:00
Pablo Vazquez
69b3e06b1c
Use project picture as fallback if og_picture/node is undefined
2017-02-07 18:03:35 +01:00
Pablo Vazquez
7b9fef2fc8
Update caches
2017-02-06 14:44:05 +01:00
Pablo Vazquez
528887b1a6
Unify Twitter cards and Open Graph data
2017-02-06 14:37:53 +01:00
Pablo Vazquez
10df0af355
Fix search list not scrolling
2017-02-06 14:35:51 +01:00
Pablo Vazquez
ae38bec218
Fix project header videos
2017-02-06 12:07:05 +01:00
Pablo Vazquez
3ef0bf6761
Typo
2017-02-02 18:08:21 +01:00
Pablo Vazquez
1e56ca5227
Only load videojs when there are sources, and minor style tweaks
2017-02-02 18:05:30 +01:00
Pablo Vazquez
b8ad0cd18f
Update cache version
2017-02-02 17:40:32 +01:00
Pablo Vazquez
e049ab0a08
Fire videojs via js
2017-02-02 17:40:04 +01:00
Pablo Vazquez
089b0f1535
Own copy of videojs 5.8.8
2017-02-02 16:57:31 +01:00
Pablo Vazquez
bf0ebce81a
Videojs for project video headers
2017-02-02 16:57:18 +01:00
Pablo Vazquez
eb02fa5eec
Replace Flowplayer with the open source Video.js library
2017-02-02 16:06:41 +01:00
Sybren A. Stüvel
bc6f526b72
Don't use ?format=amp after url_for()
...
url_for() is smart enough to add variables to the query string if there is
no route parameter for them.
2017-01-24 16:35:02 +01:00
Pablo Vazquez
0e07cb2b1d
Link to AMP view if we're in a node
2017-01-24 16:01:05 +01:00
Sybren A. Stüvel
2b528f0fff
Added pillar.api.utils.bsonify(some_dict)
...
It was used in an experiment in Flamenco as an alternative to JSON; it
might still be used in the future if BSON turns out to be significantly
faster to generate.
2017-01-24 09:19:24 +01:00
Pablo Vazquez
9b90070191
AMP: break too long words
2017-01-23 16:15:53 +01:00
Pablo Vazquez
68fcae64ae
AMP: Use srcset to load different headers depending on screen size
2017-01-23 15:56:41 +01:00
Pablo Vazquez
e3fc5d1b9b
Initial support for AMP (Accelerated Mobile Pages)
...
https://www.ampproject.org/
Basic implementation. Still needs the node description to be parsed,
as <img> tags need to be <amp-img> with special tags.
2017-01-23 15:47:14 +01:00
Pablo Vazquez
85988bb8c9
Fix for some project names breaking javascript
2017-01-20 17:35:08 +01:00
Pablo Vazquez
85dba5e9e9
Blog: Re-order hideOverlay to be re-used
2017-01-20 13:13:11 +01:00
Pablo Vazquez
350577033c
Blog: Expand images when clicking on them (and the link is an image)
...
Duplicated in both index/view post to get it out for today's Cycles post, wrote a note to fix this.
2017-01-20 12:38:50 +01:00
Pablo Vazquez
eb5fb4eb09
Fix undefined projectTree
2017-01-20 12:10:23 +01:00
Pablo Vazquez
181cbc07d6
Blog: Center images on posts
2017-01-20 12:05:28 +01:00
Pablo Vazquez
784c1ed0bb
CSS: top border for active status on table rows
2017-01-19 16:57:41 +01:00
Sybren A. Stüvel
604d6c1a07
Added pillar.web.utils.last_page_index()
...
This returns the last page number (base-1) of a paged Eve result.
2017-01-19 15:13:01 +01:00
Sybren A. Stüvel
129ec94608
Renamed flamenco.jobs to flamenco_jobs
2016-12-14 14:48:37 +01:00
Sybren A. Stüvel
01cc52bba9
Allow user updates in create_service_account() calls.
2016-12-14 14:41:06 +01:00
Sybren A. Stüvel
8115bc2ad5
Collections are now named flamenco_xxx instead of flamenco.xxx
...
The dot notation disallowed Eve hooks, as the collection names weren't
valid Python identifiers.
2016-12-14 14:40:38 +01:00
Sybren A. Stüvel
a100d73a8b
Collections in extension eve_settings now should start with the ext name.
...
Instead of Pillar automagically prepending 'attract.' or 'flamenco.' to the
names this should now be done explicitly in the extension's Eve settings.
This allows for more explicit configuration, and ensures foreign key
definitions are unambiguous.
2016-12-14 11:26:28 +01:00
Francesco Siddi
11197e669c
Remove /about endpoint
2016-12-02 18:02:29 +01:00
Pablo Vazquez
7a6e1d3386
refresh css
2016-12-02 17:54:12 +01:00
Francesco Siddi
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