renovate[bot]
8382cce0d1
fix(deps): update dependency sass to v1.83.0
2024-12-12 23:29:03 +00:00
Darren Nathanael
60cd179c18
Fixes : #256 - Plain Text Renderer ignores whitespace ( #260 )
...
Text aligns to the left when there *should* be whitespaces.
Signed-off-by: Darren Nathanael <github@darrennathanael.com>
2024-11-15 20:08:25 +07:00
realies
7015be1355
add minimal.docker-compose.yml example ( #252 )
2024-07-05 07:45:13 +00:00
Darren Nathanael
ef1a5da22a
API Escape ( #241 )
...
* chore: add pycaches to gitignore
* fix: correct escaping of api responses
The API did not respond as intended. :D
Co-authored-by: <Brian Ferri brian.ferri19@gmail.com>
2023-11-18 11:34:59 -05:00
Darren Nathanael
288e9236d0
Revert 239 CSP ( #240 )
...
* Revert "CSP - Upstream Patch (#239 )"
This reverts commit 2ed25cc843
.
* Remove 32bit
2023-11-17 11:53:35 -05:00
Darren Nathanael
2ed25cc843
CSP - Upstream Patch ( #239 )
...
* Remove 32bit
Docker does not support 32bit anymore.
* Fix CSP mistake from 6 years ago.
https://content-security-policy.com/unsafe-inline/
* CSP Vun oversight fix
2023-11-17 11:00:00 -05:00
Darren Nathanael
6856572a5d
Support 32bit
2023-11-13 05:31:26 -05:00
Lixeiden
e4047a986c
Fixed a typo @ Makefile ( #228 )
2023-02-17 14:29:43 -05:00
Lixeiden
1de5afc1a7
Typo at apps.py ( #227 )
...
injeted > injected
2023-02-16 02:07:41 -05:00
Darren
30a06dc47c
Skip Problematic version
2023-02-16 02:05:41 -05:00
renovate[bot]
2c52c96b55
chore(deps): update actions/setup-python action to v4 ( #212 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 11:19:11 -05:00
renovate[bot]
094d2895ab
chore(deps): update python docker tag to v3.10 ( #216 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 11:18:48 -05:00
Darren
25019615b9
Addresses typo in ( #192 ) @ clean up snippets
...
See (https://github.com/DarrenOfficial/dpaste/issues/215 )
2022-08-09 19:29:09 -05:00
Darren
245f93cca6
dependabot
2022-07-14 06:16:54 -05: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
Darren
5ec8e0507e
Revert "add the posibility of specifying a url prefix ( #143 )" ( #205 )
...
This reverts commit 5510329a99
.
2022-05-29 09:40:46 -04:00
Juanjo Gutiérrez
5510329a99
add the posibility of specifying a url prefix ( #143 )
...
this commit implements a prefix for urls, which allows easily deploying
dpaste into a "subdirectory". It adds a url_prefix to be read by default
from the environment which makes it especially suitable for using for
docker containers. For example, running
docker run -e PREFIX_URL=dpaste/ -p 8000:8000 barttc/dpaste
will make dpaste available on
http://localhost:8000/dpaste/
instead of the default http://localhost:8000
This is specially useful if you want to proxy dpaste from another host
and let it live in a sub-url. Without this commit all urls would be
incorrectly generated in this case.
2022-05-27 20:17:08 -04:00
Darren
246f8239f5
deps update ( #204 )
...
* perf: update sass to v1.52.1
* perf: update workflows version
Signed-off-by: Darren <git@darrennathanael.com>
2022-05-26 03:28:25 -04:00
renovate[bot]
10f1175596
fix(deps): update dependency sass to v1.51.0 ( #199 )
...
Co-authored-by: Darren Nathanael <git@darrennathanael.com>
2022-04-26 04:44:14 -05:00
renovate[bot]
e800e50323
fix(deps): update dependency sass to v1.50.1 ( #193 )
...
Co-authored-by: Darren Nathanael <github@darrennathanael.com>
2022-04-19 00:02:30 -04:00
renovate[bot]
433bf16389
chore(deps): update node.js to v12.22.12 ( #197 )
...
Co-authored-by: Darren <git@darrennathanael.com>
2022-04-08 20:28:03 -04:00
Darren
3d4baa46dd
revert: js
...
revert until I figured out a better way if detecting client. https://github.com/DarrenOfficial/dpaste/issues/196
2022-04-08 07:19:47 -05:00
renovate[bot]
6017a208e5
chore(deps): update node.js to v12.22.11 ( #184 )
...
Co-authored-by: DarrenOfficial <github@darrennathanael.com>
2022-04-03 18:34:03 -05:00
Darren
1718d53b1f
make it only run on master branch
2022-04-03 01:50:39 -04:00
Darren
a9e843367a
perf: updated lib, typing issues ( #195 )
...
Fixes deduplication of stuff
and fixes the deprecated warnings by changing the methods to use the new one.
Signed-off-by: Darren <git@darrennathanael.com>
2022-04-03 01:38:37 -04:00
Darren
8dfbb2e352
Run when test is done
...
docker push
2022-03-31 18:21:21 -05:00
Darren
2a5514631c
run after everything is complete
2022-03-31 18:05:35 -05:00
Darren
84ba7afcc9
build for multiple arc ( #194 )
2022-03-31 18:03:50 -05: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
Florian Cech
7a64572cc1
Addresses bug in cleanup_snippets script related to non-integer values for EXPIRE_DEFAULT ( #192 )
...
See https://github.com/DarrenOfficial/dpaste/issues/191
Co-authored-by: Darren <github@darrennathanael.com>
2022-03-22 17:30:24 -05: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
renovate[bot]
ef278fa1d8
chore(deps): update actions/checkout action to v3 ( #188 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 16:10:25 -04:00
renovate[bot]
f8f05d96cb
chore(deps): update actions/setup-python action to v3 ( #189 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 16:09:52 -04:00
Darren
17be448727
contributing ( #183 )
2022-03-03 12:53:50 -05:00
Darren
3e67f886df
COC ( #182 )
2022-03-03 12:53:24 -05:00
renovate[bot]
29861ec8b1
Pin dependencies ( #174 )
...
* Pin dependencies
* Repo Link
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Darren <github@darrennathanael.com>
2022-03-03 12:37:16 -05:00
Darren
969df9eaeb
Additional information
2022-03-03 12:31:59 -05: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
b88bf7c4f9
Changelog 3.6
2022-03-03 12:27:30 -05:00
Darren
365f7af437
feat: Badge
...
Signed-off-by: Darren <git@darrennathanael.com>
2022-03-03 03:44:32 -05:00
Darren
1b35c3b8bc
feat: CI CD
...
Signed-off-by: Darren <git@darrennathanael.com>
2022-03-03 03:41:34 -05:00
Darren
b61b3f3e5e
Merge branch 'master'
2022-03-03 03:32:11 -05:00
Darren
3809545536
remove pycache
2022-03-03 03:29:49 -05:00
Darren
6e5d3c8489
merge master into dp4
...
Signed-off-by: Darren <git@darrennathanael.com>
2022-03-03 03:27:35 -05:00
Darren
f27e439ad0
feat: node-version
...
Signed-off-by: Darren <git@darrennathanael.com>
2022-03-03 03:15:03 -05:00
Darren
f40b01d2e4
delete package-lock.json
2022-03-03 03:12:50 -05:00
Darren
0ce78d752e
feat: build css & js
...
CSS and JS file for docker-compose users.
Signed-off-by: Darren <git@darrennathanael.com>
2022-03-03 02:30:30 -05:00
Darren
fe336b9bde
fix: there is no module with the namespace "math"
...
Signed-off-by: Darren <git@darrennathanael.com>
2022-03-03 02:16:51 -05:00