8cf956c2f0
Merge branch 'python-rewrite'
...
- rewrites the software to use a python and flask based local webserver,
for initial simplicity.
2022-08-04 17:43:48 -06:00
03f2f966d7
Updates python to update tags on owncast server
...
- removes the nsfw tag function
- adds functionality to the tags update endpoint to process raw data
from client
2022-08-04 17:41:40 -06:00
ea96df1774
Implements function to pass tags updates to python
...
- also removes main function from javascript file
2022-08-04 17:40:31 -06:00
08287a9758
Simplified javascript function for updating UI
...
- breaks uiUpdate() into two functions
- uiUpdateOnce(), which contains the bulk of the UI updating code
- continuousUiUpdate(), which runs the aforementioned function once
every second.
- updates updateStreamTitle() to conform to this new change
- removes call to Main(), replacing it with a call to the new
continuousUiUpdate()
2022-08-04 17:40:04 -06:00
2306bbc2e7
Updates get_status endpoint for compatibility
...
- get_status endpoint now actually accesses two different endpoints from
the owncast server api, as some of the endpoints have changed since
development began
- adds various documentation to app.py
2022-08-04 17:33:59 -06:00
dbbf1b757c
Adds a vim modeline update to index.mustache
...
- ensures that vim doesnt wrap long lines, for readability
2022-08-04 17:31:38 -06:00
13f8648fb7
Fixes small workflow changes with update modals
...
- prevents form elements from refreshing the page or submitting requests
- ensures that the submit buttons for modals will close the modal,
insead of just spawning a page refresh
2022-08-04 17:30:27 -06:00
44b51e531a
Adds id tags for html template
...
- allows for easier navigation when template is folded, and easier
navigation for css styling
2022-08-04 17:30:01 -06:00
8cb521f53a
Adds a requirements.txt file for pip
2022-07-24 17:03:23 -06:00
6799e2513b
Pretifies index.mustache with bootstrap 5
...
- updates visual layout to be more readable
- adds basic functionality for javascript callback functions to update
various useful elements through api
- note, these updates are currently implemented through a bootstrap
modal
- note, these updates are currently commented out through mustache.
- adds a vim modeline to enable manual folding
2022-07-24 17:01:05 -06:00
c8fe794144
Fixes post endpoint for updating stream title
...
- adds python import, flask.Request
- ensures flask endpoint /api/update/streamtitle returns valid status
code response.
- updates static/script.js "updateStreamTitle" to accept variable input
2022-07-24 16:56:48 -06:00
b7fcfe2b4a
FIX: fixes path to template to reflect f2fb50e
2022-07-24 14:38:24 -06:00
224c724cc0
Added more sophisticated flask usage to app.py
...
- enables the user to simply execute the file to run the flask app
2022-07-24 14:34:08 -06:00
517c1b071d
Added a more sophisticated json loading interface
...
- this should provide more verbose output in the case that the json file
either doesn't exist or isn't formatted correctly
2022-07-24 14:33:09 -06:00
e4fe12befe
Added basic usage documentation to app.py
2022-07-24 14:32:33 -06:00
8589457c07
Adds .undodir to gitignore
2022-07-24 14:14:43 -06:00
90677ec4e3
Adds a main function static/script.js
2022-07-24 14:14:10 -06:00
97bc440ea0
Adds a few minor changes to index.mustache
...
- adds {{tags}} where necessary
- changes where the file loads the javascript code from
2022-07-24 14:12:23 -06:00
f2fb50e025
Moved files to more reflective of webapp structure
2022-07-24 14:10:00 -06:00
f9a78d9d10
Moves client side javascript to a new file
...
- creates new file, resources/script.js
- removes javascript from index.html
2022-07-22 17:17:50 -06:00
823abb4395
Adds initial client-side api interface
2022-07-22 17:15:56 -06:00
15030d01c8
Implemented full api via flask
...
- moves runner.py to app.py
- implements flask api routing & interface for app.py
- updates the various ui elements to reflect full data load
2022-07-22 17:14:19 -06:00
5632957041
More updates to the .gitignore for python
2022-07-22 12:23:24 -06:00
462b1469c4
Adds UI elements to represent full API data
2022-07-21 17:21:05 -06:00
8b823a6386
Adds barebones API skeleton using requests
2022-07-21 17:20:49 -06:00
90746d58b2
Updates .gitignore
2022-07-21 14:59:43 -06:00
3a67e98b71
Initial functionality for python
2022-07-20 23:42:38 -06:00
1c4ff4eafb
Updates .gitignore to ignore data files
2022-07-19 15:22:22 -06:00
8f27f8d216
Cleans up the visual design of the web-page.
2022-07-19 14:56:41 -06:00
658c676be8
Initial api access functionality
2022-06-26 19:15:59 -06:00
9ef10153c9
Initial Commit
...
- adds basic .gitignore
- adds basic index.html file
2022-06-25 14:52:55 -06:00