Commit graph

110 commits

Author SHA1 Message Date
Tiara Rodney
c8dffbbdf8 refactor(__init__): reset context manager for flask app
with proper bdist setup, it shouldn't be necessary to wrap path
of importlib, since the context manager will handle egg extraction
itself. Hopefully...
2022-04-08 21:01:33 +02:00
Tiara Rodney
a4116832e7 fix(build-toolchain): migrate versioning to setuptools_scm
versioning of package now handled through setuptools_scm. Git tag therefore
takes precedence and manually setting a version in setup.cfg is redundant.

In addition, setuptools_scm handles proper inclusion of sdist non-python files
and simplifies bdist packaging.
2022-04-08 21:00:51 +02:00
Tiara Rodney
c888f22b93 Merged in hotfix/HTTPASTE-35/init (pull request #27)
fix(init): again, distutils... is confusing
2022-04-03 15:18:27 +00:00
Tiara Rodney
ecd7d03a20 fix(init): again, distutils... is confusing
non-script files should now be, hopefully, included in bdist and sdist

chore: upgrade version
2022-04-03 17:15:58 +02:00
Tiara Rodney
f607529be3 Merged in master (pull request #26)
fix(init): add custom context manager for pkg resources
2022-04-03 14:51:32 +00:00
Tiara Rodney
7a7b70422f Merged in hotfix/HTTPASTE-35/init (pull request #25)
fix(init): add custom context manager for pkg resources
2022-04-03 14:50:33 +00:00
Tiara Rodney
e330bbf70a fix(init): add custom context manager for pkg resources
chore: upgrade version
2022-04-03 16:48:39 +02:00
Tiara Rodney
390791bb81 Merged in master (pull request #24)
fix(init): add importlib context to connexion init
2022-04-03 14:19:31 +00:00
Tiara Rodney
94f9063e1d Merged in hotfix/HTTPASTE-35/init (pull request #23)
fix(init): add importlib context to connexion init
2022-04-03 14:18:23 +00:00
Tiara Rodney
65f5077095 fix(init): add importlib context to connexion init
connexion openapi spec reference now provided through importlib
context manager, since file will exist inside of python egg, therefore
not being accesible through package file path

chore: upgrade version
2022-04-03 16:16:51 +02:00
Tiara Rodney
24c6602ec5 Merged in master (pull request #22)
fix(wsgi+config): fault environment setup
2022-04-03 02:34:58 +00:00
Tiara Rodney
e6c0371dcb Merged in hotfix/HTTPASTE-34 (pull request #21)
fix(wsgi+config): fault environment setup
2022-04-03 02:32:30 +00:00
Tiara Rodney
fc367ed4cb fix(wsgi+config): fault environment setup
chore: upgrade version
2022-04-03 04:30:13 +02:00
Tiara Rodney
ea03dc1018 Merged in bugfix/HTTPASTE-33 (pull request #20)
Bugfix/HTTPASTE-33
2022-04-03 02:06:04 +00:00
Tiara Rodney
d8ac419c18 fix(backend/mysql): add missing var for get_connection() 2022-04-03 04:04:56 +02:00
Tiara Rodney
809ce6522b fix(backend/mysql): load files through importlib
is required since package will be distributed as python egg
2022-04-03 04:02:08 +02:00
Tiara Rodney
4a1cf1d007 Merge branch 'master' into dev 2022-04-03 03:55:08 +02:00
Tiara Rodney
88851970d2 Merged in hotfix/HTTPASTE-33 (pull request #17)
refactor(setuptools): include sql schema
2022-04-03 01:51:25 +00:00
Tiara Rodney
bdefd7e592 refactor(setuptools): include sql schema
fix(backend/sqlite): load files through importlib

is required since package will be distributed as python egg

chore: upgrade version
2022-04-03 03:50:39 +02:00
Tiara Rodney
151add38a4 Merged in bugfix/HTTPASTE-33/backend/mysql (pull request #16)
fix(backend/mysql): isolate third-party module imports
2022-04-03 00:47:02 +00:00
Tiara Rodney
9c31f044ce fix(backend/mysql): isolate third-party module imports
currently there is a problem with loading the backends through
the httpaste.Config class, since they aren't being lazily loaded, will have to
rework this sometime later in the future.
2022-04-03 02:45:01 +02:00
Tiara Rodney
4993a5a3ea Merged in master (pull request #15)
fix(schema): add parameters to paste/private route
2022-04-02 23:37:22 +00:00
Tiara Rodney
fedd42933c Merged in hotfix/HTTPASTE-32/schema (pull request #14)
fix(schema): add parameters to paste/private route
2022-04-02 23:33:25 +00:00
Tiara Rodney
6e0229f34f fix(schema): add parameters to paste/private route
chore: upgrade version

resolves: HTTPASTE-32
2022-04-03 01:31:51 +02:00
Tiara Rodney
1a4e20ce3e Merged in bugfix/HTTPASTE-31/backend/sqlite (pull request #13)
fix(backend/sqlite): remove faulty var from load()
2022-04-02 23:11:36 +00:00
Tiara Rodney
cefbcf9318 fix(backend/sqlite): remove faulty var from load()
resolves HTTPASTE-31
2022-04-03 01:09:12 +02:00
Tiara Rodney
107ed91120 Merged in master (pull request #11)
Master
2022-04-02 22:56:55 +00:00
Tiara Rodney
5a6c6431e9 Merged in feature/HTTPASTE-10/backend/mysql (pull request #10)
feat(backend/mysql): initialize mysql backend
2022-04-02 22:34:12 +00:00
Tiara Rodney
5e25606880 feat(backend/mysql): initialize mysql backend
created prototype for backend/mysql module

feat(backend/mysql): implement interface

tested with MariaDB

docs(backend/sql): initialize docs
2022-04-03 00:33:07 +02:00
Tiara Rodney
21d8b8c541 Merged in bugfix/HTTPASTE-30/backend/sqlite (pull request #9)
refactor(backend/sqlite): normalize functions
2022-04-02 22:31:52 +00:00
Tiara Rodney
23d5128ea7 refactor(backend/sqlite): normalize functions 2022-04-03 00:29:44 +02:00
Tiara Rodney
dfff5f1523 fix(setup.cfg): add schema data path 2022-04-02 20:20:09 +02:00
Tiara Rodney
fdf69d37db Merged in hotfix/HTTPASTE-9/schema (pull request #8)
fix(schema): initialize module
2022-04-02 18:09:11 +00:00
Tiara Rodney
d367d43524 fix(schema): initialize module
chore: upgrade version
2022-04-02 20:07:28 +02:00
Tiara Rodney
55ec3a41e8 Merged in hotfix/HTTPASTE-8 (pull request #7)
Hotfix/HTTPASTE-8
2022-04-02 17:59:55 +00:00
Tiara Rodney
6c838cd2cf Merge branch 'hotfix/HTTPASTE-8' of bitbucket.org:victorykit/httpaste into hotfix/HTTPASTE-8 2022-04-02 19:57:28 +02:00
Tiara Rodney
6bef30f1f3 fix(__main__): require command argument 2022-04-02 19:55:33 +02:00
Tiara Rodney
c88e3ab17e fix: catch standalone command exception
gevent will not be installed by default, therefore print a message
explaining required steps
2022-04-02 19:55:33 +02:00
Tiara Rodney
50af1a4587 fix(__main__): require command argument 2022-04-02 19:51:52 +02:00
Tiara Rodney
678935bd0e fix: catch standalone command exception
gevent will not be installed by default, therefore print a message
explaining required steps
2022-04-02 19:51:05 +02:00
Tiara Rodney
45f53223b0 Merged release/1.0.0-beta into master 2022-04-02 17:46:13 +00:00
Tiara Rodney
3c342caa27 Merged in hotfix/HTTPASTE-7/helper (pull request #5)
fix(helper): initialize module
2022-04-02 17:45:08 +00:00
Tiara Rodney
e670f0be27 fix(helper): initialize module
chore: upgrade version
2022-04-02 19:37:38 +02:00
Tiara Rodney
b3273ee9e2 chore: update setup.cfg classifiers 2022-04-02 19:15:31 +02:00
Tiara Rodney
59823fe6d7 chore: update package version 2022-04-02 19:00:13 +02:00
Tiara Rodney
6c1ffdcc0c Merged in feature/HTTPASTE-5/backend/paste (pull request #4)
feat: add backend sanitizing
2022-04-02 16:52:26 +00:00
Tiara Rodney
ab0d3d0805 Merged dev into feature/HTTPASTE-5/backend/paste 2022-04-02 16:52:14 +00:00
Tiara Rodney
268bfaacc4 Merged in bugfix/HTTPASTE-6/model/paste (pull request #3)
fix(model/paste): remove faulty var from get_safe()
2022-04-02 16:51:32 +00:00
Tiara Rodney
dc5c644f29 fix(model/paste): remove faulty var from get_safe() 2022-04-02 18:50:19 +02:00
Tiara Rodney
27bc790d5d feat: add backend sanitizing 2022-04-02 18:47:11 +02:00