Commit Graph

42 Commits

Author SHA1 Message Date
Matthias Portzel 30540cd2f4 Add redirect for common typo :) 2024-01-29 21:17:46 -05:00
Matthias Portzel b56e6be8c9 Calculate ETag for the index page using last modified date 2023-12-12 16:21:23 -05:00
Matthias Portzel 8fe3852040 Save HTML for each thought to the DB for performance 2022-09-17 14:00:48 -04:00
Matthias Portzel 650a845611 Some small QoL changes 2022-09-17 07:25:29 -04:00
Matthias Portzel b4b20eca12 Remove RSS support
"Adding features without removing them is"
2022-09-04 15:10:51 -04:00
Matthias Portzel d3345dc67f Move search templates 2022-05-03 13:31:01 -04:00
Matthias Portzel 1defa2b92c Rename 'main' to 'thoughts'
SQL to migrate the DB. Create migrations, migrate
`DELETE FROM django_content_type WHERE app_label='thoughts';`
`UPDATE django_content_type SET app_label='thoughts' WHERE app_label='main';`
`DROP TABLE thoughts_thought;`
`ALTER TABLE main_thought RENAME TO thoughts_thought;`
`DELETE FROM django_migrations WHERE app='main';`
Hopefully that's right, I'm not going to double check it or anything.
2022-04-30 13:34:39 -04:00
Matthias Portzel 823ee5a6c7 Add Middleware to remove slashes 2022-04-11 18:30:12 -04:00
Matthias Portzel 5922cd7629 Change to show up to 1,000,000 results on the search page 2022-04-07 21:32:19 -04:00
Matthias Portzel e7c1d17cab Remove unneeded requirement
* Pygments does syntax highlighting which we're not currently doing
* Adds version numbers for jetforce and python-decouple
2022-04-04 12:11:32 -04:00
Matthias Portzel d81c8cbda1 Search results are chronological
Also moved to search_view_factory because apparently it's thread-safe and I think Apache runs multiple threads.
2022-03-11 21:14:37 -05:00
Matthias Portzel 3eec639e45 Remove unused requirements and update README
* Remove bleach and Markdown which were used for server-side markdown
* Update README with hypothetical self-hosting steps
* Remove install_xapian from version control (since I can't license it)
2022-02-07 13:48:15 -05:00
Matthias Portzel 1ad106d05d License
* Add Unlicense
* Color tweak for About page
* Whitespace and code linting
2022-01-11 19:14:39 -05:00
Matthias Portzel 293ac50d98 Remove JS from login page
* Okay so we're not doing HTTP Basic Auth, that was an awful experience with those pop-ups.
* But we set the cookie with Django on the server-side, instead of needing JS
* So this should improve browser compatibility. No promises.
2022-01-06 12:05:18 -08:00
Matthias Portzel 0674bfee54 Revert to working
* Remove HTTP Basic auth
* Keep changes to timezone input
* Re-add all views
2022-01-06 11:20:47 -08:00
Matthias Portzel c503bb6127 I can't do this.
Maybe I should step away and keep my frustration inside and try to be a better person, a more reliable person. But I just. How do I fix this? What is the issue?
2022-01-05 21:24:55 -08:00
Matthias Portzel e03a98cda7 Switch to HTTP Basic Auth 2022-01-05 16:58:50 -08:00
Matthias Portzel 48496ec839 Search but it actually works
* Point to my fork of xapian-haystack
2021-12-22 23:13:27 -08:00
MatthiasSaihttam 13dd18b28a A little bit of progress on search
* Created a README
* Included instructions on how to apply the Inkscape patch, so that we can actually handle Thoughts of length
* Restyled the search results page
2021-12-15 09:29:30 -05:00
MatthiasSaihttam db607ec4b1 Move colors to settings, style tweaks
* Drastically decreased the line width
* Add vertical margin above the time stamp
* Change the Permalink button to Link
* Move the link button to the right of the timestamp
*
2021-10-21 15:44:14 -04:00
MatthiasSaihttam ef4f7d7aca Super beta search 2021-10-21 10:00:25 -04:00
MatthiasSaihttam 07284eb087 Undo URL change that got committed WAY too early 2021-10-12 09:11:43 -04:00
MatthiasSaihttam 913e7ad0b5 Change Gemini port to 1973
* I use it behind a reverse proxy. I would be suprised if *this* was the 
only Gemini server someone was running. 1973 is the first prime after 
1965.
* Remove unused important
* Add Secure Cookie option, in-line with Django recommendations
2021-10-03 19:42:52 -04:00
MatthiasSaihttam 635bc32ef2 Refactor password validation
* Just removes the plaintext password from the source code, instead 
reading it from an enviroment file. No password hashing here. No-JS 
login is still on the timeline
2021-10-03 00:25:17 -04:00
MatthiasSaihttam 2aa2ca65dc Add check to sub-process
* Add pages file to gitignore
2021-09-11 10:56:54 -04:00
Matthias 0de66e124f Get Gemini working again 2021-06-25 07:22:48 +00:00
MatthiasSaihttam 58ace6ccaf Add forgoten quotes 2021-06-24 23:55:12 -07:00
MatthiasSaihttam 56e6d66582 Add python-decouple
I need to be able to auto-update the code on the server without losing config
2021-06-24 23:47:05 -07:00
MatthiasSaihttam 36d0d3b325 Basic Gemini support 2021-06-11 10:31:07 -07:00
MatthiasSaihttam 32c8cc5476 Add basic displaying of extra media 2021-04-27 22:47:33 -04:00
MatthiasSaihttam 118614eeff Add media upload
- Create requirements file
2021-04-25 13:09:30 -04:00
MatthiasSaihttam e661b29b52 Refactored templates, explained everything 2021-04-20 01:10:31 -04:00
MatthiasSaihttam 7f52c5de98 Allow all hosts in debug mode 2020-11-24 10:43:13 -08:00
MatthiasSaihttam 7016dcab91 Add h1 to header
- accessability
- terminal browsers

settings.py
- Remove unused os import
- Update my local ip for testing
2020-11-13 11:13:35 -05:00
MatthiasSaihttam b101cdd28b Add manifest static files storage 2020-11-04 13:07:06 -05:00
MatthiasSaihttam 89fa8efd87 RSS support 2020-09-12 13:04:34 -04:00
MatthiasSaihttam 775e9ce72f Improvements
- Titles on pages
- Time display is no longer awful
- Add favicon and apple-touch-icon
- Remove default django installed apps
- Make sure static directory is version controlled
2020-09-08 12:01:03 -04:00
Matthias 940fb88def Setting changes for production 2020-09-06 22:49:09 -04:00
Matthias 2218b808c5 Basic CSS! 2020-09-06 12:39:00 -04:00
Matthias b20826ed35 Basic view/form code 2020-09-05 23:38:15 -04:00
Matthias 93710fe834 Start adding code 2020-09-05 23:12:54 -04:00
Matthias 7cbf9f9e3a Initial Commit 2020-09-05 22:27:11 -04:00