Darren Nathanael
afac29cd2f
Update misaka lib to fix ( #229 ); and fix compatibility with pygments ( #208 )
...
Lift off setup.cfg;
replaced misaka with mistune; thanks to papoteur-mga suggestion.
Create a new formatter instance for each highlight call to avoid the pygments >= 2.12.0 issue
Signed-off-by: Darren Nathanael <github@darrennathanael.com>
2024-12-04 02:42:03 +07:00
Darren
0e89d18bc5
fix: pygment crashes ( #209 )
...
Dpaste crashes when something else than plain text is stored.
https://user-images.githubusercontent.com/428000/171509933-116ea4d2-105e-4d75-b731-0d2fad1c8fd7.png
!! This is a temporary fix for the problem described above.
This fixes it by downgrading the pygment version.
Note: I also remove mysqlclient as was an accidental commit.
---
Fixes: https://github.com/DarrenOfficial/dpaste/issues/208
Origin: https://github.com/pygments/pygments/issues/2119
Signed-off-by: Darren <git@darrennathanael.com>
2022-06-02 13:35:20 -04:00
Darren
51e9172479
Revert "Revert "add the posibility of specifying a url prefix"" ( #206 )
...
* Revert "Revert "add the posibility of specifying a url prefix (#143 )" (#205 )"
* mysql client
2022-05-29 13:56:56 -04:00
renovate[bot]
3b1c7f91fe
chore(deps): update dependency django-webserver to v1.2.0 ( #185 )
...
Co-authored-by: DarrenOfficial <github@darrennathanael.com>
2022-03-30 01:25:46 -05:00
Darren
8aa1d51146
feat: 3.6
...
- Added support for Python 3.9.
- Added support for Python 3.10.
- Removed cache headers for all views except 404. Due to that snippets can be
deleted, it's not trivial to have them removed from upstream caches.
- Bump pygments version to 2.11.
- update dependency psycopg2-binary to v2.9.3
- Addresses bug in cleanup_snippets script [#191 ](https://github.com/DarrenOfficial/dpaste/issues/191 )
- Removed docs, since it's moved to [docs.dpaste.org](https://docs.dpaste.org ), [darrenofficial/dpaste-docs](https://github.com/darrenofficial/dpaste-docs ) and will be updated there.
- Removed changelog from main branched, it's moved to https://docs.dpaste.org/changelog/
Signed-off-by: Darren <git@darrennathanael.com>
2022-03-27 09:17:23 -04:00
renovate[bot]
d56fd5cfa8
chore(deps): update dependency psycopg2-binary to v2.9.3 ( #186 )
...
Co-authored-by: Darren <github@darrennathanael.com>
2022-03-18 06:27:19 -04:00
Darren
3d4d18799e
Add author
...
Thanks stackoverflow https://stackoverflow.com/questions/9999829/how-to-specify-multiple-authors-emails-in-setup-py
2022-03-03 12:31:02 -05:00
Darren
6bb64b096f
fix: DEPRECATION on columnGap.
...
division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Signed-off-by: Darren <git@darrennathanael.com>
2022-03-03 02:14:28 -05:00
Darren
ec696040a5
build: django 4, pygments 2.11
...
Signed-off-by: Darren <git@darrennathanael.com>
2022-03-03 02:08:29 -05:00
Martin Mahner
b1bdbf2a1a
New dependencies
2021-12-13 07:31:26 +01:00
Martin Mahner
d0f7e2eda6
Use Black's default line length of 88
2020-01-08 13:19:52 +01:00
Martin Mahner
02a6812c80
Dependency updates and cleanup.
2020-01-08 13:12:28 +01:00
Martin Mahner
bd3186cced
Press docs theme.
2019-12-09 09:13:48 +01:00
Martin Mahner
c9ab955545
Drop pipenv in favor of Docker/Virtualenv.
...
Basically https://chriswarrick.com/blog/2018/07/17/pipenv-promises-a-lot-delivers-very-little/
2019-12-07 11:37:30 +01:00
Martin Mahner
dc3e797be8
Further cleanup along settings and debris.
2019-12-07 09:38:07 +01:00
Martin Mahner
9307d5f0a3
Fixed sphinx docs
2019-12-05 12:32:46 +01:00
Martin Mahner
634861bc04
Drop support for Py3.5 and Django <2.2
2019-12-05 12:27:51 +01:00
Martin Mahner
6592815288
Current Sphinx fails with latest docutils.
2019-12-05 11:35:18 +01:00
Martin Mahner
7759df5158
Use pytest for testsuite runs.
2019-12-05 09:40:39 +01:00
Martin Mahner
81a4a5f7b5
Remove local config from package.
2019-09-12 09:13:17 +02:00
Martin Mahner
275addaca4
isort config that's aligned with black settings.
2019-07-23 11:09:45 +02:00
Martin Mahner
39e45c8344
Added JS/React Lexer. Fixes #124
2019-06-24 11:27:25 +02:00
Martin Mahner
2666c90400
Pyformat and changelog fixes.
2019-05-16 10:49:58 +02:00
Martin Mahner
a6c4d8f6ba
Pypi Description Fixes
2019-05-16 10:07:21 +02:00
Martin Mahner
7eb6543d8b
Minor clenaup
2019-03-16 10:40:56 +01:00
Martin Mahner
b63660ba3c
Updated Lexer List
2019-02-03 12:25:47 +01:00
Martin Mahner
a65dd3226e
Wording and version fixes.
2019-01-25 14:02:34 +01:00
Martin Mahner
42812855b2
Code cleanup and setup.cfg
2019-01-25 13:47:00 +01:00