Commit Graph

187 Commits

Author SHA1 Message Date
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 18300386cd Add title to Search page
* Fix typo
* Add currently used Xapian version
* Change Xapian version link
2022-04-04 12:12:56 -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 a544c89752 Move bottom history nav inside the main block
* Add a CSS charset
2022-04-04 10:28:58 -04:00
Matthias Portzel 6408c3db55 Fix bug that prevented editing alt-text
* If there was already an uploaded file, it doesn't get re-uploaded when editing, and doesn't show up in request.FILES. The file name is still in thought.media so we can use that to tell if there's a image and if we should allow media_alt
2022-03-29 13:27:49 -04:00
Matthias Portzel 4c2251a460 Save and restore scroll position
* This is a big deal when typing thoughts that are over a page long, it will jump you to the bottom of the input box every time and it's a little jarring.
2022-03-28 23:45:18 -04:00
Matthias Portzel 3c05647689 Transcript CSS tweaks
* Indents media/transcript if the thought is highlighted
* Increases the line-height on transcripts on 1.5
2022-03-27 21:51:49 -04:00
Matthias Portzel dbe6ee78c7 Add max_age of 1 year to password cookie 2022-03-26 22:44:02 -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 e72d87415c Lower case disclaimer in license because we are not savages 2022-03-02 23:01:42 -05:00
Matthias Portzel 0bb02abf4a Update to Django 4.0
* Also update to the master version of django-haystack, since versions 
before that don't support Django 4.0
2022-02-08 12:21:28 -05:00
Matthias Portzel a01d586b55 Remove debug print 2022-02-07 22:03:26 -05:00
Matthias Portzel 220c5e91e8 Remove unused templatetags 2022-02-07 21:43:02 -05:00
Matthias Portzel 0e3d61cada Add link to source code to About page. 2022-02-07 14:05:34 -05:00
Matthias Portzel 064bbce73e Actually remove install_xapian.sh
* I can't license it so it's easiest to move it out of source
2022-02-07 13:51:49 -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 7da4921d32 Fix bugs around editing and time
* Pre-fill the timezone with the offset in hours (correct), instead of minutes, like the DB stores
* Only change the timezone in JS if you're not editing
* Redirect back to a Thought after editing it
2022-01-12 11:08:56 -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 07214df87d Audio transcript
If this website keeps getting more complicated, I'm going to have to add a front-end library.
2022-01-09 16:28:48 -08:00
Matthias Portzel 3fa5f2f89a Add a bit of color to the About page
This is controversial, but the best argument against is that the About page shouldn't change. But I think this purely visual change doesn't alter anything significantly.
2022-01-09 16:09:48 -08:00
Matthias Portzel c213f67b88 Ability to edit Thoughts 2022-01-09 15:57:37 -08: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 c49b7c47c4 Remove debug code and add README note 2022-01-02 11:23:24 -08:00
Matthias Portzel bd3094e221 Fix bug with pagination around year-boundries 2021-12-31 21:17:15 -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 d67ea3f498 Fix bug with scroll bars and wrapping content 2021-10-23 00:28:15 -04:00
MatthiasSaihttam d77d8d7f39 Clean up nav html 2021-10-22 00:59:14 -04: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 7392532f71 Make pagination dates aware to avoid warnings 2021-10-21 09:58:23 -04:00
MatthiasSaihttam f7f3f9955e Fix bug with font-weight on iOS 2021-10-16 20:19:16 -04:00
MatthiasSaihttam 87933af7ed Urlize/linkify thoughts
* Changes to put css on the existing span rather than use a "pre", to fix an issue with wrapping long words
2021-10-14 12:59:32 -04:00
MatthiasSaihttam 5dd070b043 Remove markdown
I can't take it.
2021-10-14 12:45:09 -04:00
MatthiasSaihttam 1411762ca1 Merge branch 'master' into server-side-markdown 2021-10-13 23:46:40 -04:00
MatthiasSaihttam 465bbb0fb1 Update history nav styling 2021-10-13 23:34:16 -04:00
MatthiasSaihttam 36279ab94c Fix placeholder color on all inputs 2021-10-12 17:15:05 -04:00
MatthiasSaihttam 0647597ef9 Duplicate the history nav bar on the top of the page 2021-10-12 12:54:22 -04:00
MatthiasSaihttam 9d49698394 show= links show the correct page & permalink button 2021-10-12 12:47:35 -04:00
MatthiasSaihttam b2241c6ab9 CSS and styling for pagination 2021-10-12 12:05:41 -04:00
MatthiasSaihttam 81ee2b368f Super basic Pagination 2021-10-12 09:30:25 -04:00
MatthiasSaihttam 07284eb087 Undo URL change that got committed WAY too early 2021-10-12 09:11:43 -04:00
MatthiasSaihttam de79cba49d Refactor timezone logic into methods of Thought 2021-10-12 09:11:24 -04:00
MatthiasSaihttam c5dc1cbc05 Assume localhost/rev.proxy Gemini
* Typos
2021-10-12 00:12:27 -04:00
MatthiasSaihttam d09da5cab0 Gemini display tweaks 2021-10-03 19:51:54 -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