Commit Graph

121 Commits

Author SHA1 Message Date
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
MatthiasSaihttam 987774999c Reworks post page to use a ModelForm
* Adds media-alt textbox
* Improves styling on media textbox
* Removes some unused JS for dynamically padding textboxes
* Remove rows=2 from the extended textbox, since it wasn't being used
2021-10-03 02:14:08 -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 81275588d0 Change input/textarea line-height to 1.5 2021-10-02 23:04:25 -04:00
MatthiasSaihttam 9d548ef55f Update line endings
* Ensure that both textbox's heights are updated properly after typing 
over 140 characters in the first box
* Normalize line endings on text before storing it in the database. To 
update the database, I also ran:

for t in Thought.objects.all():
    t.extended_text = t.extended_text.replace("\r\n", "\n")
    t.text = t.text.replace("\r\n", "\n")
    t.save()
2021-09-11 21:45:56 -04:00
MatthiasSaihttam be2bcf2770 Tweak extended text textbox
* Made it look better when empty
2021-09-11 21:03:48 -04:00
MatthiasSaihttam 65fc30a717 Accessibility improvements
* Make the accent color in the dark theme lighter
* Change the selected tab to an h1 (and CSS changes)
* Change the main wrap to a `main` tag
2021-09-11 15:18:34 -04:00
MatthiasSaihttam 2aa2ca65dc Add check to sub-process
* Add pages file to gitignore
2021-09-11 10:56:54 -04:00
MatthiasSaihttam a611fc1789 Fix JS bug 2021-09-01 20:06:15 -04:00
MatthiasSaihttam 61c2e018d0 Remove empty extended text on server-side 2021-09-01 00:31:33 -04:00
MatthiasSaihttam 70d1316103 Changed code blocks to take the whole width
* This fixes an issues with calculating the width of co, ya know, just check the repoduction example:
=> https://ourjseditor.com/program/CKtLzi
* Changes the background color of code blocks to black with a 30% alpha channel, to let some color bleed through.
2021-07-27 18:04:11 -07:00
MatthiasSaihttam 8a28e20504 Re-do code block styling for like the 3rd time 2021-07-04 12:50:54 -07:00
MatthiasSaihttam 72e3efb6b7 Remove <br> from gemini about page 2021-06-25 16:13:35 -07:00
MatthiasSaihttam 2c1eed4731 Add about.gmi
Fix some typo's in about.html
2021-06-25 00:49:28 -07: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