Commit Graph

73 Commits

Author SHA1 Message Date
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
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
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
a5de3bf6cb
Changed based on feedback in chibicitiberiu/ytsm#27 2018-11-08 17:25:00 -08:00
57c2265f71 Added a basic notification system. Long processes will call the notification API, and the notification events are registered. For now, notifications are pushed to the client by polling (client polls every second for new events). A basic status message is now displayed when the sync process starts and ends. 2018-11-04 23:32:18 +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
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
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
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