Commit Graph

70 Commits

Author SHA1 Message Date
0329645c37 Integrated django-dynamic-preferences library into project. Settings are now stored in the database, the ini file only contains a minimal number of settings. 2018-12-10 01:15:10 +02:00
d3b057e14e Work on settings.py 2018-12-02 16:10:10 +02:00
541adb4f2a Integrated django_dynamic_preferences for setting management. 2018-12-01 17:28:37 +02:00
chibicitiberiu
fa5760de69
Merge pull request #39 from chibicitiberiu/config-issues
Improve error handling during startup
2018-11-11 09:04:42 +02:00
105b24f648 Removed testing stuff from config.ini. 2018-11-09 13:43:43 +02:00
0a2d62b001 Improve error handling for settings. Instead of failing with an exception, an alert is displayed on the main page when something isn't set properly. 2018-11-09 13:40:48 +02:00
f3814ec281 Removed .dockerignore (no longer relevant) 2018-11-09 10:46:08 +02:00
chibicitiberiu
0b42cace8c
Merge pull request #27 from bsquidwrd/fix_docker_run
Fix docker compile and run errors
2018-11-09 10:43:28 +02:00
Brandon
22ed6a6813
Fix up Docker_README 2018-11-08 17:27:44 -08:00
Brandon
a5de3bf6cb
Changed based on feedback in chibicitiberiu/ytsm#27 2018-11-08 17:25:00 -08:00
chibicitiberiu
0becefbacf
Merge pull request #24 from chibicitiberiu/development
Import subscriptions from file
2018-11-03 23:35:08 +02:00
Brandon
82b3eb4c3c
Merge branch 'master' into fix_docker_run 2018-11-03 13:46:41 -07:00
Brandon
70a8cfeec4
Fixed volumes list 2018-11-03 13:46:01 -07:00
Brandon
8c0905e119
Merge pull request #25 from bsquidwrd/update_docker_readme
Updated Docker_README to reflect config changes that have occurred
2018-11-03 13:40:42 -07:00
Brandon
2ff2fe6fb0
Added ignore for Docker and copy config dir (aka defaults) to the volume on build 2018-11-03 12:17:27 -07:00
Brandon
85e9d11f1a
Updated Docker_README to reflect config changes that have occurred 2018-11-03 11:18:33 -07:00
Brandon
3b608b80b4
Updated Docker_README to reflect config changes that have occurred 2018-11-03 11:14:51 -07:00
7566af123b Added examples for supported import formats. 2018-11-03 14:58:19 +02:00
9d8b023560 Improved handling of comments in 'subscription list' files (basically a text file containing subscriptions, and optionally comments with #).
Properly handled case where file is opened in binary mode.
2018-11-03 14:56:16 +02:00
59a766b0fe Implemented import from file functionality. 2018-11-03 14:43:23 +02:00
cd37b2671b Make toolbar look better. 2018-11-03 14:42:27 +02:00
101fa47c58 Handle enctype="multipart/form-data" properly in modal ajax call. 2018-11-03 14:41:08 +02:00
7a87ad648a Integrated latest pytaw, which adds support for feed URLs. 2018-11-02 22:49:24 +02:00
d95cdcdd7f Revert "Integrated latest pytaw, which adds support for feed URLs."
This reverts commit 37ec395f31.
2018-11-02 22:48:27 +02:00
37ec395f31 Integrated latest pytaw, which adds support for feed URLs. 2018-11-02 22:45:20 +02:00
chibicitiberiu
d989cf4132
Merge pull request #22 from chibicitiberiu/development
Load all settings from config.ini, improve docker support and cleanup
2018-11-02 22:08:29 +02:00
9dda2965be Updated readme 2018-11-02 03:24:49 +02:00
6fd55920eb Ignored .idea workspace files. 2018-11-02 03:06:35 +02:00
08d8c71aec Ignore .directory files (generated by dolphin) 2018-11-02 02:54:43 +02:00
d8f4151242 Added /media location to nginx, so it fetches the downloaded thumbnails. 2018-11-02 02:50:49 +02:00
2a8cc8da0e Fixed problem caused by parallel downloads where ok.mkdirs would fail (when called by youtube-dl). 2018-11-02 02:50:16 +02:00
288328f538 Docker server should have multiple workers to work properly. 2018-11-02 02:32:29 +02:00
1fafd859b7 Fixed docker image. Fixed issue with environment variable interpolation (on Linux, it is case sensitive, so converting to lowercase was bad. Cleaned up directory structure. 2018-11-02 02:25:15 +02:00
ba965515e9 Replaced app/config with a symlink to config/ 2018-11-01 23:27:46 +02:00
1701cddbe9 Added some additional variables for DATA and CONFIG 2018-11-01 01:07:11 +02:00
fc59989405 Improved settings.py to read the global settings from the .ini file. 2018-11-01 01:01:21 +02:00
e230f1524f Modified database engine to sqlite3 which is the default. 2018-10-31 23:45:05 +02:00
Brandon
baaf9577da Environment Variables and Docker standalone support (#21)
* Ignore .dist folder used by visual studio code

* Add example env file

* Added environment variables

* Ignore env file

* Added default name to be ytmanager instead

* Default to postgres

* Update example env for postgres instead of sqlite

* Added default as postgres as well in settings

* Add volume for sqlite3 database storage (incase desired)

* Added example env file for sqlite3 configuration

* whitespace for sanity of my own

* Add database_url as an optional env variable

* hopefully working towards chibicitiberiu/ytsm#6

* Added default command

* Expose 8000

* Added environment variable prefixes

* added environment variable to parse for dj_database_url

* Take out command in docker-compose since it's already in the Dockerfile as a cmd

* SQLite as default

* Create Docker README with information about how to run with Docker

* Took out postgres. If people desire it, they can add it themselves.

* Took out db depenednecy for docker-compose

* Change cmd

* Fixed up commands to run better in readme

* Added underscore to Docker_README

* Change default .db file location
2018-10-31 17:57:32 +02:00
chibicitiberiu
092949ff9c
Merge pull request #2 from J-tt/master
Remove redundant command
2018-10-30 12:59:37 +02:00
Jett Jackson
192c63362a
Merge branch 'master' into master 2018-10-30 18:05:39 +08:00
chibicitiberiu
7f932e4010
Fixed issue where server was running in 2 instances (once with guinicorn and once with manage.py runserver) 2018-10-30 12:04:08 +02:00
chibicitiberiu
fc876a4bce
Added license 2018-10-30 11:58:43 +02:00
chibicitiberiu
d9dc463358
Clean up readme 2018-10-30 11:56:20 +02:00
Jett Jackson
003181eafa
Remove redundant command 2018-10-30 17:45:56 +08:00
chibicitiberiu
555707962f
Merge pull request #1 from J-tt/master
Docker integration, using gunicorn+nginx
2018-10-30 11:30:35 +02:00
Jett Jackson
7364ca8fc7
Fix missing migrate 2018-10-30 14:19:14 +08:00
Jett Jackson
9b88a75ed4
redact 2018-10-30 14:18:11 +08:00
Jett Jackson
84b0c2e861
Added docker support 2018-10-30 14:15:49 +08:00
97e7e792f8 Fixed synchronize statistics issues. Added current state to readme. 2018-10-29 23:04:10 +02:00
c07d1b61f0 Enabled video statistics (forgot to enable them), also fixed the synchronization of statistics. 2018-10-29 22:45:12 +02:00