Commit Graph

71 Commits (4eb3de7b4e5f4fa27d4e61da247da258dfc1699e)

Author SHA1 Message Date
Andre Borie 79e99908de Allow providing 12-Factor-style Database URL in config
saltycrys b566c4ba1a
Untrack config.yml ()
* Untrack config.yml

`config/config.yml` has been untracked and moved to `config/config.example.yml`.

The Dockerfile has been updated to copy all `config/config.*` files and to try
to move `config/config.example.yml` to `config/config.yml`. If a user supplied
`config/config.yml` exists it is not overwritten.

* Update Dockerfile to use `shard.lock`

* Fix tests
Omar Roth 074497b0f6
Add migration script for polymer redesign
Omar Roth 1eca969cf6
Add support for polymer redesign
Omar Roth 61150c74d2
Move privacy type into playlists.sql
Omar Roth be055d9dcb
Add support for custom playlists
Silvan Mosberger 418526af16
Provide db user in migrate-db-3646395.sh
Omar Roth 18d66ddded
Add 'needs_update' column for scheduling feed refresh
Omar Roth 64464f23ae
Add 'views' to channel_videos
Omar Roth 42dd6326d5 Remove unnecessary index
Omar Roth 698dfca319 Add migrate script for annotations.sql
Omar Roth 3bcb98e644 Add config option to cache annotations from IA
Omar Roth c5001f3620 Add role to psql scripts
Omar Roth 591a6b330a Remove 'crawl_threads', fix sleep in fibers
Omar Roth a1f49b279f Rename migrate scripts
Omar Roth fd26f9f34e Add support for premieres to search and feed
Omar Roth f0658bbd09 Add 'liveNow' to subscription feed
Omar Roth 90715467a2 Set default value for 'subscribed' date
Omar Roth 7425700009 Update pubsub to support lease_seconds
Omar Roth 64cfd2296c Add support for subscribing to channels via PubSubHubbub
Omar Roth 17cf0772fb Set domain to be nil by default
Omar Roth 52cad8d6da Update change index for channel_videos and add index for nonces
Omar Roth ff563a70a5 Fix typo in session_ids
Omar Roth 5528a130b6 Mark migrate-db-3646395.sh as executable
Omar Roth a384f6e5fd Add migrate script and update README
Omar Roth 3646395f1d Store session_ids in separate table
Omar Roth 0d509c82ee Rename migrate-db-e1aa1ce.sh to migrate-db-30e6d29.sh
Omar Roth 30e6d29106 Add 'deleted' to channel info
Omar Roth 5cb57fb176 Move 'domain' into config.yml
Omar Roth 32e4ad0784 Update default config
Omar Roth a242390fc1 Fix typo in nonces.sql
Omar Roth ad20d6359b Add 'expire' to filter invalid tokens
Omar Roth 94c92b68a2 Add flat list of proxies for geo-bypass
Omar Roth d185ba84bf Remember nonce to prevent replay attacks
Omar Roth 19632511d5 Update SQL
Omar Roth c55c553725 Fix channel_videos schema
Omar Roth 8794e26e67 Add length_seconds to channel_videos
Omar Roth f88697541c Add author_thumbnail to '/api/v1/videos'
Omar Roth 1a39faee75 Add subCountText and add XHR alternative for subscribing to channels
Omar Roth bcc8ba73bf Fix update_feeds job
Omar Roth 35e63fa3f5 Use materialized views for subscription feeds
Omar Roth f83e9e6eb9 Add config option for geo-bypass
Omar Roth 51d00b16c3 Use hash instead of btree for channel_videos_ucid_idx
Omar Roth 5b2c228bb6 Add 'license'
Omar Roth 62f023c50f Add 'https_only' default
Omar Roth 40028e1462 Update SQL and remove migration points
Omar Roth 74cf3d18d0 Remove ID constrant for users
Omar Roth 8adb4650a0 Add support for multiple sessions
Omar Roth 6d8caaee65 Add option to pull all videos
Omar Roth b5c92c1a2f Add watch history