Commit Graph

104 Commits

Author SHA1 Message Date
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
MatthiasSaihttam 13064a5640 Add link to About page
Refactor the header into a nav bar
Remove unused footer styles
2021-06-24 23:32:05 -07:00
MatthiasSaihttam bcb2240c93 Add line to about page 2021-06-24 22:35:35 -07:00
MatthiasSaihttam 36d0d3b325 Basic Gemini support 2021-06-11 10:31:07 -07:00
MatthiasSaihttam f087113400 Edited a final version of the About page 2021-06-06 22:29:15 -07:00
MatthiasSaihttam 484fb76611 CSS Tweaks for code blocks and media 2021-05-10 14:21:15 -04:00
MatthiasSaihttam af3d3a57c5 Fix a bug so that old audio files are deleted correctly 2021-05-10 00:19:47 -04:00
MatthiasSaihttam 7183ca8317 Add pasting with the new media system 2021-05-03 02:00:50 -04:00
MatthiasSaihttam 0583ee40f0 Disable a bunch of markdown rules
Most were unused, there were a times where "..." was being transformed to a single ellipse character.
And I used strikethrough once, but that's dumb
2021-05-02 20:51:37 -04:00
MatthiasSaihttam fe01d3913f Wide code blocks horizontally scroll 2021-05-01 18:28:36 -04:00
MatthiasSaihttam a604284510 Re-add line-height to about page. 2021-05-01 16:14:20 -04:00
MatthiasSaihttam a9a02bae61 Re-add line-height to the timestamp of a thought. 2021-05-01 16:11:20 -04:00
MatthiasSaihttam bcd3456cb2 Tweak padding on extended media 2021-05-01 16:03:31 -04:00
MatthiasSaihttam 980f94cd7f Add field for media alt 2021-05-01 16:02:52 -04:00
MatthiasSaihttam f7ab61cbee Re-encode audio 2021-04-29 01:50:37 -04:00
MatthiasSaihttam 32c8cc5476 Add basic displaying of extra media 2021-04-27 22:47:33 -04:00
MatthiasSaihttam 09d6ddff46 Add to the about page 2021-04-27 02:00:39 -04:00
MatthiasSaihttam 118614eeff Add media upload
- Create requirements file
2021-04-25 13:09:30 -04:00