changeset | 4b842c1fb686 |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | refactoring: renamed `sat` package to `libervia.backend` |
files |
changeset | 524856bd7b19 |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | massive refactoring to switch from camelCase to snake_case: historically, Libervia (SàT before) was using camelCase as allowed by PEP8 when using a pre-PEP8 code, to use the same coding style as in Twisted. However, snake_case is more readable and it's better to follow PEP8 best practices, so it has been decided to move on full snake_case. Because Libervia has a huge codebase, this ended with a ugly mix of camelCase and snake_case. To fix that, this patch does a big refactoring by renaming every function and method (including bridge) that are not coming from Twisted or Wokkel, to use fully snake_case. This is a massive change, and may result in some bugs. |
files |
changeset | 7892585b7e17 |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | core (setup), jp, primitivus: update console scripts + classifiers: - console scripts have been updated following the renaming with: - "libervia-cli" and "libervia-tui" for "jp" and "primitivus" - "li" alias as a shortcut for libervia-cli - "jp" and "primitivus" are kept as alias - updated classifiers to reflect Python 3.9 support |
files |
changeset | be6d91572633 |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | date update |
files |
changeset | 2f0be2b7de68 |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | jp: replace `no_lf` argument by `end` in `disp` (same as in `print`) |
files |
changeset | 559a625a236b |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | fixed shebangs |
files |
changeset | 9d0df638c8b4 |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | dates update |
files |
changeset | fee60f17ebac |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | jp: jp asyncio port: /!\ this commit is huge. Jp is temporarily not working with `dbus` bridge /!\ This patch implements the port of jp to asyncio, so it is now correctly using the bridge asynchronously, and it can be used with bridges like `pb`. This also simplify the code, notably for things which were previously implemented with many callbacks (like pagination with RSM). During the process, some behaviours have been modified/fixed, in jp and backends, check diff for details. |
files |
changeset | ab2696e34d29 |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | Python 3 port: /!\ this is a huge commit /!\ starting from this commit, SàT is needs Python 3.6+ /!\ SàT maybe be instable or some feature may not work anymore, this will improve with time This patch port backend, bridge and frontends to Python 3. Roughly this has been done this way: - 2to3 tools has been applied (with python 3.7) - all references to python2 have been replaced with python3 (notably shebangs) - fixed files not handled by 2to3 (notably the shell script) - several manual fixes - fixed issues reported by Python 3 that where not handled in Python 2 - replaced "async" with "async_" when needed (it's a reserved word from Python 3.7) - replaced zope's "implements" with @implementer decorator - temporary hack to handle data pickled in database, as str or bytes may be returned, to be checked later - fixed hash comparison for password - removed some code which is not needed anymore with Python 3 - deactivated some code which needs to be checked (notably certificate validation) - tested with jp, fixed reported issues until some basic commands worked - ported Primitivus (after porting dependencies like urwid satext) - more manual fixes |
files |
changeset | 003b8b4b56a7 |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | date update |
files |
changeset | 56f94936df1e |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | code style reformatting using black |
files |
changeset | 26edcf3a30eb |
---|---|
branch | |
bookmark | |
tag | |
user | Goffi <goffi@goffi.org> |
description | core, setup: huge cleaning: - moved directories from src and frontends/src to sat and sat_frontends, which is the recommanded naming convention - move twisted directory to root - removed all hacks from setup.py, and added missing dependencies, it is now clean - use https URL for website in setup.py - removed "Environment :: X11 Applications :: GTK", as wix is deprecated and removed - renamed sat.sh to sat and fixed its installation - added python_requires to specify Python version needed - replaced glib2reactor which use deprecated code by gtk3reactor sat can now be installed directly from virtualenv without using --system-site-packages anymore \o/ |
files |