The site is now running on Django 3. No user-facing changes, just staying current. Enjoy!
Reminder: There will be approximately 20 minutes of server downtime starting at 7:00AM UTC, It is currently 1:50AM UTC.
Advance notice of scheduled downtime: A scheduled server upgrade will cause dpaste.com to be unavailable for approximately 20 minutes starting Thursday 2021-03-11 at 07:00 AM UTC.
These countries currently have active dpaste users, _and_ have zero entries on the TOS-violators blocklist. Thanks, good guys!
Benin, Bosnia and Herzegovina, Cameroon, Cayman Islands, Cuba, Egypt, El Salvador, Ethiopia, Ghana, Guatemala, Hashemite Kingdom of Jordan, Kyrgyzstan, Lebanon, Mauritius, Montenegro, Puerto Rico, Slovenia, Sri Lanka, Syria, Tajikistan, Togo, Uganda, Uzbekistan, and Zimbabwe!
The style-preference feature is now live. See the choices in the style gallery: https://dpaste.com/styles
(Feel free to bookmark that as a general purpose Pygments style reference; good ones are not easy to find.)
Soon, registered users will be able to change the color theme for all pastes they look at.
Feature update: There's now a single interface for changing syntax, expiry, or title of existing items. Get to it via the new "Edit Properties" button.
Counts for the top ten #Django errors shared from the debug view to dpaste.com, 2021-02-02 to 2021-02-12:
2063 DisallowedHost
154 OperationalError
133 ValueError
123 DoesNotExist
121 ImproperlyConfigured
113 TemplateDoesNotExist
105 TypeError
105 AttributeError
54 ProgrammingError
52 KeyError
Today the site hit 500 registered users! To celebrate, here's a soft-launched present for all registered users: any Markdown or reStructuredText items you post can be rendered as HTML by adding ".html" to the URL.
@pleiades Congrats!
A few more options for you to weigh in on.
I'm adding examples to the API help page. So far we have curl and JavaScript. What should I add next?
Added a JS example to the API help. Uses 'fetch' because that seems to be the right way to do it these days. https://dpaste.com/api/
Update to the dpaste.sh helper script - it now uses $DPASTE_API_TOKEN if set. https://hg.sr.ht/~paulbissex/dpaste-tools/browse/dpaste.sh?rev=tip
Another milestone -- while most users are still anonymous, the site now has 400 registered users. It's been fun building features for account holders, like API auth and favorites.
Registered users can now use token auth with the API to "own" created items. Anonymous use is still the default. TLDR: On your dashboard, click the "Generate" button; use the token in an Authorization header on your requests, e.g. `Authorization: Bearer a1b2c3d4e5f6g7h8`