Rekushi
e4bb0b00ba
feat: port Hatena server to Python 3
...
* Update server-side database and dynamic resource code for Python 3
* Preserve existing Flipnote, UGO, NTFT, CSS, localization, and Hatena assets
* Port Flipnote upload and movie endpoints
* Update front page UGO menu generators
* Preserve existing database and sample Flipnote data
* Add regression tests for database operations and binary formats
* Add server resource loading tests
* Maintain compatibility with the original DSi Flipnote Studio protocol
2026-08-31 20:33:10 +01:00
Rekushi
687a2bcb43
Port server.py to Python 3 and modern Twisted APIs
...
* Update Python 2 syntax for Python 3 compatibility
* Replace deprecated `imp` module usage with `importlib`
* Update Twisted request handling for Python 3 `bytes`/`str` behavior
* Preserve Flipnote Hatena proxy request routing
* Keep server listening on port 8080
* Update dynamic Hatena resource loading
* Improve startup/error handling
* Maintain compatibility with the existing database, static files, and Hatena endpoints
2026-08-31 20:30:55 +01:00
Rekushi
fe44430a46
Port hatena.py to Python 3 and modern Twisted
...
* Replace Python 2 syntax and string handling with Python 3-compatible code
* Add explicit bytes/text conversion for Twisted requests and responses
* Update request paths, headers, arguments, and child resource names for modern Twisted
* Return byte responses from resource render methods
* Replace deprecated `imp.load_source()` with `importlib.util`
* Generate unique module names for dynamically loaded Hatena endpoints
* Update HTTP response/header handling
* Preserve Nintendo DSi connection-test handling
* Preserve Flipnote Hatena proxy access restrictions
* Preserve region routing for v2-xx, v2-eu, v2-us, and v2-jp
* Preserve UGOXML loading and packing behavior
* Update static file and folder resource handling
* Improve 404 query-string reconstruction
* Add compatibility fallback for modern Twisted client address APIs
* Keep the original dynamic `hatenadir` resource-tree behavior
2026-08-31 20:29:55 +01:00
Rekushi
76a9ac99e2
updated for py3 port
2026-08-31 20:28:18 +01:00
Rekushi
bc090ca461
Delete logs directory
2026-08-31 20:18:16 +01:00
Rekushi
77fe278280
Delete hatenadir directory
2026-08-31 20:18:07 +01:00
Rekushi
3382bcb6da
Delete database directory
2026-08-31 20:17:53 +01:00
Rekushi
74497d1e64
Delete Hatenatools directory
2026-08-31 20:17:40 +01:00