Compare commits
4 commits
27c2e9c849
...
ff0c9b8221
Author | SHA1 | Date | |
---|---|---|---|
ff0c9b8221 | |||
13d6f7e316 | |||
262e3f29e0 | |||
00194f13ba |
5 changed files with 6 additions and 11 deletions
|
@ -7,7 +7,7 @@
|
|||
We recommend to run pan.do/ra inside of LXD or LXC or dedicated VM or server.
|
||||
You will need at least 2GB of free disk space
|
||||
|
||||
pan.do/ra is known to work with Debian/11 (bullseye) and Ubuntu 20.04,
|
||||
pan.do/ra is known to work with Debian/12 (bookworm) and Ubuntu 20.04,
|
||||
other distributions might also work, let us know if it works for you.
|
||||
|
||||
Use the following commands as root to install pan.do/ra and all dependencies:
|
||||
|
|
|
@ -308,7 +308,7 @@ def find(request, data):
|
|||
responsive UI: First leave out `keys` to get totals as fast as possible,
|
||||
then pass `positions` to get the positions of previously selected items,
|
||||
finally make the query with the `keys` you need and an appropriate `range`.
|
||||
For more examples, see https://wiki.0x2620.org/wiki/pandora/QuerySyntax.
|
||||
For more examples, see https://code.0x2620.org/0x2620/pandora/wiki/QuerySyntax.
|
||||
see: add, edit, get, lookup, remove, upload
|
||||
'''
|
||||
if settings.JSON_DEBUG:
|
||||
|
|
|
@ -190,9 +190,9 @@ pandora.ui.apiDialog = function() {
|
|||
+ '<p>If you are using the API in JavaScript, you may want to'
|
||||
+ ' take a look at <a href="https://oxjs.org/#doc/Ox.API">'
|
||||
+ ' OxJS</a>, and if you are using Python, there is'
|
||||
+ ' <a href="https://wiki.0x2620.org/wiki/python-ox">'
|
||||
+ ' <a href="https://code.0x2620.org/0x2620/python-ox">'
|
||||
+ ' python-ox</a>, which is used by'
|
||||
+ ' <a href="https://wiki.0x2620.org/wiki/pandora_client">'
|
||||
+ ' <a href="https://code.0x2620.org/0x2620/pandora_client">'
|
||||
+ ' pandora_client</a> to automate certain tasks.</p>\n'
|
||||
+ '<p>To get started, just open the console and paste the'
|
||||
+ ' following snippet. For the first ten items that are'
|
||||
|
|
|
@ -179,7 +179,7 @@
|
|||
"Go to Position": "",
|
||||
"Grid View": "",
|
||||
"Groups": "",
|
||||
"<h1><b>API Documentation</b></h1>\n<p><b>{0}</b> uses a JSON API to communicate between the browser and the server. This API is 100% public, which means that there is virtually no limit to what you can do with the site, or build on top of it — from writing simple scripts to read or write specific information to including data from <b>{0}</b> (not just videos, but also metadata, annotations, lists, or a custom search interface) in your own website.</p>\n<p>If you are using the API in JavaScript, you may want to take a look at <a href=\"https://oxjs.org/#doc/Ox.API\"> OxJS</a>, and if you are using Python, there is <a href=\"https://wiki.0x2620.org/wiki/python-ox\"> python-ox</a>, which is used by <a href=\"https://wiki.0x2620.org/wiki/pandora_client\"> pandora_client</a> to automate certain tasks.</p>\n<p>To get started, just open the console and paste the following snippet. For the first ten items that are both shorter than one hour and whose title does not start with \"X\" (sorted by duration, then title, both in ascending order), it will return their duration,undefined": "",
|
||||
"<h1><b>API Documentation</b></h1>\n<p><b>{0}</b> uses a JSON API to communicate between the browser and the server. This API is 100% public, which means that there is virtually no limit to what you can do with the site, or build on top of it — from writing simple scripts to read or write specific information to including data from <b>{0}</b> (not just videos, but also metadata, annotations, lists, or a custom search interface) in your own website.</p>\n<p>If you are using the API in JavaScript, you may want to take a look at <a href=\"https://oxjs.org/#doc/Ox.API\"> OxJS</a>, and if you are using Python, there is <a href=\"https://code.0x2620.org/0x2620/python-ox\"> python-ox</a>, which is used by <a href=\"https://code.0x2620.org/0x2620/pandora_client\"> pandora_client</a> to automate certain tasks.</p>\n<p>To get started, just open the console and paste the following snippet. For the first ten items that are both shorter than one hour and whose title does not start with \"X\" (sorted by duration, then title, both in ascending order), it will return their duration,undefined": "",
|
||||
"<h1><b>pan.do/ra</b></h1><sub>open media archive</sub><p><b>{0}</b> is based on <b>pan.do/ra</b>, a free, open source platform for media archives.</p><b>pan.do/ra</b> includes <b>OxJS</b>, a new JavaScript library for web applications.</p><p>To learn more about <b>pan.do/ra</b> and <b>OxJS</b>, please visit <a href=\"https://pan.do/ra\">pan.do/ra</a> and <a href=\"https://oxjs.org\">oxjs.org</a>.</p><sub><b>{0}</b> is running <b>pan.do/ra</b> revision {1}.</sub>": "",
|
||||
"Help...": "",
|
||||
"Help": "",
|
||||
|
|
|
@ -297,15 +297,10 @@ if __name__ == "__main__":
|
|||
run_sql(sql)
|
||||
run(join(base, 'pandora/manage.py'), 'migrate', 'system')
|
||||
run(join(base, 'pandora/manage.py'), 'update_geoip')
|
||||
if old <= 6383:
|
||||
run('./bin/pip', 'install', '-r', 'requirements.txt')
|
||||
if old < 6442:
|
||||
run('./bin/pip', 'install', 'yt-dlp>=2022.3.8.2')
|
||||
if old < 6465:
|
||||
run('./bin/pip', 'install', '-r', 'requirements.txt')
|
||||
if old < 6500:
|
||||
run('./bin/pip', 'install', '-r', 'requirements.txt')
|
||||
if old <= 6517:
|
||||
run('./bin/pip', 'install', '-U', 'pip')
|
||||
run('./bin/pip', 'install', '-r', 'requirements.txt')
|
||||
else:
|
||||
if len(sys.argv) == 1:
|
||||
|
|
Loading…
Add table
Reference in a new issue