Aaron Suen
7b12f24b1d
Upgrade deps, fix package lock
2022-04-11 09:49:10 -04:00
Aaron Suen
f0042e11a1
Enable video URL editing
2022-04-05 21:12:57 -04:00
Aaron Suen
4c37af231b
Oops, more missed config options
2021-12-22 16:55:17 -05:00
Aaron Suen
719dfc79ad
Fix dev_state support
2021-12-22 16:43:15 -05:00
Aaron Suen
587aa81e79
Add support for advzip
...
Allow recompressing archives before upload for
fastest possible download speeds.
2021-12-22 16:13:27 -05:00
Aaron Suen
55dde646fb
Oops
2021-09-10 08:25:30 -04:00
Aaron Suen
13b2802cb9
More JSON handling fixes
2021-09-10 08:23:22 -04:00
Aaron Suen
0cbcea29dd
More thorough escaping for JSON control chars
2021-09-10 08:19:20 -04:00
Aaron Suen
4f6575a987
Try to debug JSON parsing failure
2021-09-10 08:08:00 -04:00
Aaron Suen
425e716d17
Expanded debugging
2021-06-24 22:02:38 -04:00
Aaron Suen
aa7dce4247
Fix optional JSON configs
...
Missing files are allowed, invalid JSON is not.
Also refactor some filesystem handling.
2021-02-28 08:27:05 -05:00
Aaron Suen
0029e9a3cf
Fix broken --edit option
...
Also, only do screenshots if metadata editing
is enabled.
2021-02-28 08:17:48 -05:00
Aaron Suen
84b1aabf85
Don't support renaming packages
...
Not even sure this would even work, or what
implications it would have on future cdbrelease
runs for that package.
2021-02-28 08:11:17 -05:00
Aaron Suen
ec93a46884
Add a template for .cdbrelease.lua
...
Hopefully working off this should make typos and
such less common.
2021-02-28 08:08:37 -05:00
Aaron Suen
987dbaa9c5
Throw error on unsupported setting
...
This should help weed out old junk settings from
old versions of CDB config.
2021-02-28 08:04:14 -05:00
Aaron Suen
f0bd56193c
Remove debugging junk code
2021-02-27 19:40:45 -05:00
Aaron Suen
9d17b96bd9
Merge majority-rewrite using new CDB JSON API
2021-02-27 18:26:17 -05:00
Aaron Suen
0cd6f8d911
Screenshots, handle array cmdline opts
2021-02-27 18:25:03 -05:00
Aaron Suen
4e6a8ea05b
Fix metadata editing
2021-02-27 14:25:00 -05:00
Aaron Suen
79f1b01506
Code cleanup
2021-02-27 11:23:33 -05:00
Aaron Suen
8362e41b0e
Metadata editing, releasing via the API
...
Left to do:
- test out including commit hash, when ruben
finishes implementing this in the API.
- screenshot reconciliation.
2021-02-27 11:20:52 -05:00
Aaron Suen
8f06601e86
Begin rebuilding to use new CDB API
...
Since writing cdbrelease, CDB has added a new set
of stable APIs suitable for creating releases. Major
changes planned:
- Use the JSON API and token auth for everything
instead of scraping site HTML.
- Switch to using CDB's standard mechanisms for
some config, such as *.conf for versions and
.cdb.json for static settings.
- Switch to zip uploads so we can locally control
exports, since CDB uses git-export-all which does
not properly support .gitattributes export-subst.
This also involves a significant rework of the
configuration interfaces to support the new
.cdb.json source, and mirroring the git repo is now
mandatory, as using zip upload, we cannot rely on
CDB to access the repo itself directly.
New configuration interfaces are ostensibly done,
CDB components need to be reworked still.
2021-02-27 09:31:13 -05:00
Aaron Suen
a1109c2970
Fix more bugs caused by upstream changes
2020-12-28 21:15:03 -05:00
Aaron Suen
303a9c3cc9
Login page was apparently renamed
2020-12-28 21:04:44 -05:00
Aaron Suen
8423da7c27
Always delay before retry, even on non-429 errors.
2020-07-17 07:01:29 -04:00
Aaron Suen
ebb9fdc1a1
Automatic retry on transient HTTP failures
2020-07-17 06:50:50 -04:00
Aaron Suen
b61471ae6c
Remove extra debug output
2020-07-17 06:20:53 -04:00
Aaron Suen
0c0835e5cd
Don't crash on missing tags
2020-07-05 21:13:37 -04:00
Aaron Suen
e5cc52c680
Fix broken mod scan
2020-07-05 21:08:57 -04:00
Aaron Suen
0c2cad6964
Fix forum link.
2020-07-05 21:03:31 -04:00
Aaron Suen
5c0c2ab842
Approve new releases if we have access.
2020-05-31 10:10:23 -04:00
Aaron Suen
f04585eb1b
Screenshot handling simplification
...
- Log in preemptively; non-approved screenshots
may not be visible to some users.
- Run all access sequentially; unsure of CDB's
concurrency handling for a given single user
(e.g. are CSRF tokens invalidated).
2020-03-28 11:35:38 -04:00
Aaron Suen
0b72f05d16
Add support for screenshots.
2020-03-28 11:23:38 -04:00
Aaron Suen
d091c0b5f0
Do not lazy-load any modules
...
This may mask errors that might cause a crash
later in the middle of the process.
2020-03-28 10:16:06 -04:00
Aaron Suen
e521a29232
Typo
2020-03-28 08:59:54 -04:00
Aaron Suen
e507be98a6
Handle not-found option cases.
2020-03-28 08:51:41 -04:00
Aaron Suen
2730f17dc9
Preserve original tag order.
2020-03-28 08:49:46 -04:00
Aaron Suen
27b75a7803
Saner file reading API
2020-03-28 07:54:08 -04:00
Aaron Suen
3504f704cb
Include export-ignore files in metadata load
...
For running .cdbrelease.lua, do a checkout first
(to include all files) and then write the export over
it (to apply substitutions).
The mod scan is still done on the export only,
to avoid including excluded paths.
2020-03-28 07:28:06 -04:00
Aaron Suen
e3a93ceef4
Debug output tidying
2020-03-28 07:21:46 -04:00
Aaron Suen
ff59fd7df1
Keep explicit blanks, auto-fill repo if missing.
2020-03-28 06:53:31 -04:00
Aaron Suen
7bbb5fb816
Fix JSON newline serialization.
2020-03-27 23:53:40 -04:00
Aaron Suen
5795bef3a4
Add dry run, mod scan.
2020-03-27 23:43:56 -04:00
Aaron Suen
86569d426b
Handle unified licenses.
2020-03-27 23:27:45 -04:00
Aaron Suen
113423ca35
Load metadata from lua instead of JSON.
2020-03-27 23:24:33 -04:00
Aaron Suen
9546ae147e
Beautify, code standards.
2020-03-27 22:22:51 -04:00
Aaron Suen
c583e8dd2c
Beef up lua hook, more extensive JSON support.
2020-03-27 22:06:00 -04:00
Aaron Suen
3cd90c517b
Oh, more typos.
2020-03-27 18:23:30 -04:00
Aaron Suen
e100ae3fe2
Load long desc from README.md if .cdbdesc.md not found.
2020-03-27 18:21:57 -04:00
Aaron Suen
98bef24f94
Fix broken "provides" for simple mods.
2020-03-27 18:15:27 -04:00