vesta-web 1.1.6__py3-none-any.whl → 1.1.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
vesta/db/UNIAUTH.sql CHANGED
@@ -55,4 +55,10 @@ create table if not exists unibridge(
55
55
  name varchar(256) NOT NULL,
56
56
  related_table varchar(256),
57
57
  value jsonb DEFAULT '{}'
58
- )
58
+ );
59
+
60
+ create table if not exists additional_mail (
61
+ id bigserial NOT NULL PRIMARY KEY,
62
+ account integer NOT NULL,
63
+ email varchar(319)
64
+ );
vesta/http/baseServer.py CHANGED
@@ -83,6 +83,8 @@ class BaseServer:
83
83
  res = func(self, *args, **kwargs)
84
84
  self.response.ok()
85
85
  if res:
86
+ if isinstance(res, bytes):
87
+ return res
86
88
  return res.encode()
87
89
  else:
88
90
  return b""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vesta-web
3
- Version: 1.1.6
3
+ Version: 1.1.8
4
4
  Summary: An extensive web framework adding every feature needed for Carbonlab
5
5
  Project-URL: Homepage, https://gitlab.com/Louciole/vesta
6
6
  Project-URL: Issues, https://gitlab.com/Louciole/vesta/-/issues
@@ -1,5 +1,5 @@
1
1
  vesta/__init__.py,sha256=6aOfxktSRs50uhCMF-473xwmK9Z15uFfvoRXZN2cMos,17865
2
- vesta/db/UNIAUTH.sql,sha256=Aroke4pBNrvOh2wZlA09--awCs17BdsyymSVEgLtjDQ,1985
2
+ vesta/db/UNIAUTH.sql,sha256=3R8Si3rcXfRFC5idmaKTixDWXMazXQzdC9u1BCPCovY,2126
3
3
  vesta/db/db_service.py,sha256=E2r6LxxycMOBtpUXWbVIge_363QUCOIJg-MK-Z5dzmw,10058
4
4
  vesta/emptyProject/.gitignore,sha256=9ImxEbKZYcw6fZv2coknCwBdmfY7xWkrOgfBWR03VG0,206
5
5
  vesta/emptyProject/.gitlab-ci.yml,sha256=N3XrdO2CWlAoTOzaX6Gh_vaPRyUdr78Sc9OdKTOnFGQ,310
@@ -45,7 +45,7 @@ vesta/emptyProject/static/translations/fr.mjs,sha256=ouMluPVTgB4Q5vmb7zGE6YGTH4U
45
45
  vesta/emptyProject/static/translations/translation.mjs,sha256=JxJ2peSlYVQK-bUKpfddPLXm0XZiz2yu6A6iWIqpKyM,1422
46
46
  vesta/emptyProject/static/ws/onMessage.mjs,sha256=ow5nwSEdiBcvm-Y2zOUMhnqLp-5xWgo11kHviaTRlTw,658
47
47
  vesta/emptyProject/tests/example/foo.py,sha256=NS9oIXFBOvIyWK1LHwkJm9amJuSMN4cxJwouBrJlh2I,115
48
- vesta/http/baseServer.py,sha256=IpWjPAKiB4yIybKFKYy4MaFWyC1cV682huv7emLHlpU,15009
48
+ vesta/http/baseServer.py,sha256=ltfXhkqJQPcvKlUX1u5jUguPnodDslmM4t1BOO0ZVR8,15083
49
49
  vesta/http/error.py,sha256=fWdp-oI2ObJD2mHHuxs1yVJvhON5oHYgYFRLAcUMs-I,180
50
50
  vesta/http/redirect.py,sha256=OiDeOmU-X5Mos8a0BQIeOIJqvgWjDEtaYrM4-x4MXl0,177
51
51
  vesta/http/response.py,sha256=G7cmbrXFNbIbQoqNxNkR06I5VymIwjFSAe3LtVa56Ok,3760
@@ -55,8 +55,8 @@ vesta/scripts/initDB.py,sha256=TKaK4RZM6CycBEsHeGb9Q9PdphkQgaJDnEWhvRnGC9k,1659
55
55
  vesta/scripts/install.py,sha256=GvH_HHx5aU5_54RQ1_2vz4DaLCh42AHfUKy-m0q21vY,2125
56
56
  vesta/scripts/testsRun.py,sha256=bXJImdexKQUDW8CR8F9VIKTrgkd7QfnvHQPENEV4x38,2463
57
57
  vesta/scripts/utils.py,sha256=PR2XPonaoZEbegzV3QX1EHfyq67sU-cbDEUexCuJp9Q,6013
58
- vesta_web-1.1.6.dist-info/METADATA,sha256=2lREXAMLlRrVihlOucHfZ-KqNlFvY_8kLKM2SzjnnkE,1584
59
- vesta_web-1.1.6.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
60
- vesta_web-1.1.6.dist-info/entry_points.txt,sha256=MHMrWJwtkb4FmNz0CTpxZzwQ3LTqndXBh8YBPDfXlW4,49
61
- vesta_web-1.1.6.dist-info/licenses/LICENSE.md,sha256=zoPFEFUUoSgosmDBK5fGTWGRHHBaSVuuJT2ZQIYXuIk,177
62
- vesta_web-1.1.6.dist-info/RECORD,,
58
+ vesta_web-1.1.8.dist-info/METADATA,sha256=vehaiLPTKBlrLE7FJIA7uKEdcYMjqgOu5T_V2BoUX68,1584
59
+ vesta_web-1.1.8.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
60
+ vesta_web-1.1.8.dist-info/entry_points.txt,sha256=MHMrWJwtkb4FmNz0CTpxZzwQ3LTqndXBh8YBPDfXlW4,49
61
+ vesta_web-1.1.8.dist-info/licenses/LICENSE.md,sha256=zoPFEFUUoSgosmDBK5fGTWGRHHBaSVuuJT2ZQIYXuIk,177
62
+ vesta_web-1.1.8.dist-info/RECORD,,