]> git.p6c8.net - pcdenotes.git/log
pcdenotes.git
2 years agoAdjusted padding on mobile layout
Patrick Canterino [Sun, 10 Jul 2022 08:59:11 +0000 (10:59 +0200)]
Adjusted padding on mobile layout

2 years agoMerge pull request #1 from pcanterino/dependabot/pip/django-4.0.6
Patrick Canterino [Wed, 6 Jul 2022 14:36:02 +0000 (16:36 +0200)]
Merge pull request #1 from pcanterino/dependabot/pip/django-4.0.6

Bump django from 4.0.5 to 4.0.6

2 years agoBump django from 4.0.5 to 4.0.6 1/head
dependabot[bot] [Wed, 6 Jul 2022 14:35:17 +0000 (14:35 +0000)]
Bump django from 4.0.5 to 4.0.6

Bumps [django](https://github.com/django/django) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.0.5...4.0.6)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoUpdated dependencies
Patrick Canterino [Sun, 3 Jul 2022 20:08:46 +0000 (22:08 +0200)]
Updated dependencies

2 years agoUpdated dependencies
Patrick Canterino [Thu, 16 Jun 2022 16:03:14 +0000 (18:03 +0200)]
Updated dependencies

2 years agoUpdated dependencies
Patrick Canterino [Fri, 27 May 2022 19:39:37 +0000 (21:39 +0200)]
Updated dependencies

2 years agoUpdated dependencies
Patrick Canterino [Sat, 14 May 2022 15:47:45 +0000 (17:47 +0200)]
Updated dependencies

2 years agoShow publication date when rendering a note
Patrick Canterino [Sat, 14 May 2022 15:46:03 +0000 (17:46 +0200)]
Show publication date when rendering a note

Show creation date if publication date is not available

2 years agoAdd publication date to database
Patrick Canterino [Sat, 14 May 2022 15:42:08 +0000 (17:42 +0200)]
Add publication date to database

The publication date is updated if the note is created and set to "published"
or if the publication status is changed to published

2 years agoUpdated dependencies
Patrick Canterino [Mon, 2 May 2022 18:51:11 +0000 (20:51 +0200)]
Updated dependencies

2 years agoDisplay number of notes in archive view
Patrick Canterino [Tue, 12 Apr 2022 09:25:04 +0000 (11:25 +0200)]
Display number of notes in archive view

2 years agoCreated manager methods for getting a list of years or months
Patrick Canterino [Mon, 11 Apr 2022 16:42:54 +0000 (18:42 +0200)]
Created manager methods for getting a list of years or months

2 years agoUpdated dependencies
Patrick Canterino [Mon, 11 Apr 2022 16:29:29 +0000 (18:29 +0200)]
Updated dependencies

2 years agoBegan to write a manager for the Note class to get some logic out of the views
Patrick Canterino [Mon, 11 Apr 2022 15:48:13 +0000 (17:48 +0200)]
Began to write a manager for the Note class to get some logic out of the views

2 years agoUpdated dependencies
Patrick Canterino [Wed, 6 Apr 2022 19:51:14 +0000 (21:51 +0200)]
Updated dependencies

2 years agoUpdated dependencies
Patrick Canterino [Fri, 25 Mar 2022 19:04:56 +0000 (20:04 +0100)]
Updated dependencies

2 years agoUpdated dependencies
Patrick Canterino [Wed, 16 Mar 2022 19:05:24 +0000 (20:05 +0100)]
Updated dependencies

2 years agoUpdated dependencies
Patrick Canterino [Tue, 8 Mar 2022 18:22:07 +0000 (19:22 +0100)]
Updated dependencies

2 years agoCount the *really* selected notes
Patrick Canterino [Sat, 5 Mar 2022 11:48:37 +0000 (12:48 +0100)]
Count the *really* selected notes

2 years agoAdded FileBrowser's "_versions" directory to Git
Patrick Canterino [Mon, 28 Feb 2022 13:00:45 +0000 (14:00 +0100)]
Added FileBrowser's "_versions" directory to Git

2 years agoAdded settings for FileBrowser
Patrick Canterino [Mon, 28 Feb 2022 12:57:06 +0000 (13:57 +0100)]
Added settings for FileBrowser

2 years agoUpdated "importlib-metadata"
Patrick Canterino [Mon, 28 Feb 2022 10:59:06 +0000 (11:59 +0100)]
Updated "importlib-metadata"

2 years agoAdded "django-filebrowser-no-grappelli" as a upload management tool
Patrick Canterino [Mon, 28 Feb 2022 10:58:15 +0000 (11:58 +0100)]
Added "django-filebrowser-no-grappelli" as a upload management tool

2 years agoRemoved trailing slash in GitHub link
Patrick Canterino [Sat, 26 Feb 2022 12:25:01 +0000 (13:25 +0100)]
Removed trailing slash in GitHub link

2 years agoAdded link to CC BY 4.0
Patrick Canterino [Sat, 26 Feb 2022 12:21:42 +0000 (13:21 +0100)]
Added link to CC BY 4.0

2 years agoAdded link to PCDENotes repository, made copyright note smaller
Patrick Canterino [Sat, 26 Feb 2022 12:00:28 +0000 (13:00 +0100)]
Added link to PCDENotes repository, made copyright note smaller

2 years agoEnabled fenced code in Markdown module and added CSS for this
Patrick Canterino [Sun, 20 Feb 2022 11:54:22 +0000 (12:54 +0100)]
Enabled fenced code in Markdown module and added CSS for this

2 years agoRemoved forgotten comment
Patrick Canterino [Sat, 19 Feb 2022 09:52:31 +0000 (10:52 +0100)]
Removed forgotten comment

2 years agoAdded "from-to" in copyright note
Patrick Canterino [Sat, 19 Feb 2022 09:51:45 +0000 (10:51 +0100)]
Added "from-to" in copyright note

2 years agoUpdated Django to 4.0.2
Patrick Canterino [Tue, 15 Feb 2022 18:35:08 +0000 (19:35 +0100)]
Updated Django to 4.0.2

Finally figured out how to install Python 3.8 in my venv ;)

2 years agoAgain: Adjusted margin for mobile layout footer
Patrick Canterino [Tue, 15 Feb 2022 18:08:26 +0000 (19:08 +0100)]
Again: Adjusted margin for mobile layout footer

2 years agoAdjusted margin for mobile layout footer
Patrick Canterino [Mon, 14 Feb 2022 20:18:39 +0000 (21:18 +0100)]
Adjusted margin for mobile layout footer

2 years agoAdded Django logo and moved bottom links to the moddle
Patrick Canterino [Mon, 14 Feb 2022 19:01:58 +0000 (20:01 +0100)]
Added Django logo and moved bottom links to the moddle

2 years agoRemoved now unnecessary slash
Patrick Canterino [Sun, 13 Feb 2022 19:25:29 +0000 (20:25 +0100)]
Removed now unnecessary slash

2 years agoRemove a margin-bottom coming from Bootstrap
Patrick Canterino [Sun, 13 Feb 2022 11:54:36 +0000 (12:54 +0100)]
Remove a margin-bottom coming from Bootstrap

2 years agoAdded CSS for <blockquote> (still needs finetuning)
Patrick Canterino [Sun, 13 Feb 2022 10:52:30 +0000 (11:52 +0100)]
Added CSS for <blockquote> (still needs finetuning)

2 years agoConvert month numbers to month names
Patrick Canterino [Sun, 13 Feb 2022 10:34:56 +0000 (11:34 +0100)]
Convert month numbers to month names

2 years agoChanged way of generating HTML
Patrick Canterino [Sun, 13 Feb 2022 10:23:20 +0000 (11:23 +0100)]
Changed way of generating HTML

-  Use python-markdown directly without django-markdownify
- Don't use linebreaksbr template filter
- Linebreaks are now created using <p> and so on
- blockquotes work now (they didn't work because of linebreaksbr)

2 years agoSet max-width for images
Patrick Canterino [Sun, 13 Feb 2022 09:13:47 +0000 (10:13 +0100)]
Set max-width for images

2 years agoUpdated dependencies
Patrick Canterino [Fri, 11 Feb 2022 19:18:51 +0000 (20:18 +0100)]
Updated dependencies

2 years agoAutomatically select the current user when creating a note
Patrick Canterino [Sun, 6 Feb 2022 13:33:03 +0000 (14:33 +0100)]
Automatically select the current user when creating a note

2 years agoAutomatically generate slug using the title
Patrick Canterino [Sun, 6 Feb 2022 13:25:25 +0000 (14:25 +0100)]
Automatically generate slug using the title

2 years agoAdded license file
Patrick Canterino [Sat, 5 Feb 2022 19:46:47 +0000 (20:46 +0100)]
Added license file

2 years agoAdded sample for .env file
Patrick Canterino [Sat, 5 Feb 2022 19:44:27 +0000 (20:44 +0100)]
Added sample for .env file

2 years agoUpdated Django to 3.2.12
Patrick Canterino [Sat, 5 Feb 2022 16:35:48 +0000 (17:35 +0100)]
Updated Django to 3.2.12

2 years agoMoved more styles to CSS file
Patrick Canterino [Sat, 5 Feb 2022 12:29:06 +0000 (13:29 +0100)]
Moved more styles to CSS file

2 years agoMoved more styles to CSS file
Patrick Canterino [Sat, 5 Feb 2022 12:20:59 +0000 (13:20 +0100)]
Moved more styles to CSS file

2 years agoCenter copyright note only on large screens
Patrick Canterino [Thu, 3 Feb 2022 20:30:19 +0000 (21:30 +0100)]
Center copyright note only on large screens

2 years agoChanged <div id="content"> to <main>
Patrick Canterino [Mon, 31 Jan 2022 19:59:30 +0000 (20:59 +0100)]
Changed <div id="content"> to <main>

2 years agoCSS and template tweaks
Patrick Canterino [Mon, 31 Jan 2022 19:50:39 +0000 (20:50 +0100)]
CSS and template tweaks

2 years agoMoved CSS file to "notes" subdirectory
Patrick Canterino [Mon, 31 Jan 2022 18:35:12 +0000 (19:35 +0100)]
Moved CSS file to "notes" subdirectory

2 years agoBottom nav looks good now
Patrick Canterino [Mon, 31 Jan 2022 18:33:33 +0000 (19:33 +0100)]
Bottom nav looks good now

2 years agoMoved more styles to CSS file
Patrick Canterino [Mon, 31 Jan 2022 18:15:24 +0000 (19:15 +0100)]
Moved more styles to CSS file

2 years agoAdded "static" directory
Patrick Canterino [Sun, 30 Jan 2022 20:12:31 +0000 (21:12 +0100)]
Added "static" directory

2 years agoFixed <h2> CSS classes in archive views
Patrick Canterino [Sun, 30 Jan 2022 20:09:10 +0000 (21:09 +0100)]
Fixed <h2> CSS classes in archive views

2 years agoRemoved needless double quote
Patrick Canterino [Sun, 30 Jan 2022 20:05:39 +0000 (21:05 +0100)]
Removed needless double quote

2 years agoReplaced some hard-coded URLs in templates with "url"
Patrick Canterino [Sun, 30 Jan 2022 18:00:01 +0000 (19:00 +0100)]
Replaced some hard-coded URLs in templates with "url"

2 years agoMoved some styles into a CSS file
Patrick Canterino [Sun, 30 Jan 2022 17:47:36 +0000 (18:47 +0100)]
Moved some styles into a CSS file

2 years agoBegan work on footer navigation
Patrick Canterino [Sun, 30 Jan 2022 17:26:33 +0000 (18:26 +0100)]
Began work on footer navigation

Still needs work...

2 years agoAnd now we can list the notes in a certain month
Patrick Canterino [Sun, 30 Jan 2022 14:03:05 +0000 (15:03 +0100)]
And now we can list the notes in a certain month

2 years agoNow we can list the months in archive
Patrick Canterino [Sun, 30 Jan 2022 13:55:49 +0000 (14:55 +0100)]
Now we can list the months in archive

2 years agoFilter drafts when creating year list
Patrick Canterino [Sun, 30 Jan 2022 13:16:23 +0000 (14:16 +0100)]
Filter drafts when creating year list

2 years agoBegan to implement archive view
Patrick Canterino [Sun, 30 Jan 2022 13:08:31 +0000 (14:08 +0100)]
Began to implement archive view

You can already list the years

2 years agoRedirect /notes/ to /
Patrick Canterino [Sat, 29 Jan 2022 12:20:36 +0000 (13:20 +0100)]
Redirect /notes/ to /

2 years agoFlipped title of detail view
Patrick Canterino [Sat, 29 Jan 2022 12:06:23 +0000 (13:06 +0100)]
Flipped title of detail view

2 years agoWhen an admin is logged on, display drafts
Patrick Canterino [Fri, 28 Jan 2022 19:50:09 +0000 (20:50 +0100)]
When an admin is logged on, display drafts

2 years agoAdded copyright notice
Patrick Canterino [Mon, 24 Jan 2022 18:10:01 +0000 (19:10 +0100)]
Added copyright notice

2 years agoAllow a title of a note used be more than once
Patrick Canterino [Sun, 23 Jan 2022 21:05:01 +0000 (22:05 +0100)]
Allow a title of a note used be more than once

2 years agoDo pagination only if there is more than one page
Patrick Canterino [Sun, 23 Jan 2022 21:02:33 +0000 (22:02 +0100)]
Do pagination only if there is more than one page

2 years agoMade footer stay at the bottom
Patrick Canterino [Sun, 23 Jan 2022 20:41:16 +0000 (21:41 +0100)]
Made footer stay at the bottom

Found at:
https://www.codegrepper.com/code-examples/css/how+to+take+footer+in+bottom+but+not+fixed+in+bootstrap

2 years agoUsing <header> and <footer> in HTML
Patrick Canterino [Sun, 23 Jan 2022 20:36:44 +0000 (21:36 +0100)]
Using <header> and <footer> in HTML

2 years agoModified templates
Patrick Canterino [Sun, 23 Jan 2022 20:24:31 +0000 (21:24 +0100)]
Modified templates

2 years agoFixed some things in the templates
Patrick Canterino [Sun, 23 Jan 2022 20:08:50 +0000 (21:08 +0100)]
Fixed some things in the templates

2 years agoAdded pagination
Patrick Canterino [Sun, 23 Jan 2022 20:01:20 +0000 (21:01 +0100)]
Added pagination

2 years agoChanged the way the .env file is loaded
Patrick Canterino [Sun, 23 Jan 2022 17:26:22 +0000 (18:26 +0100)]
Changed the way the .env file is loaded

2 years agoSwitched from SQLite3 to MariaDB / MySQL
Patrick Canterino [Sun, 23 Jan 2022 16:53:38 +0000 (17:53 +0100)]
Switched from SQLite3 to MariaDB / MySQL

2 years agoGet SECRET_KEY and DEBUG from .env
Patrick Canterino [Sun, 23 Jan 2022 15:01:09 +0000 (16:01 +0100)]
Get SECRET_KEY and DEBUG from .env

Also set ALLOW_HOSTS to '*'

2 years agoAdded STATIC_ROOT
Patrick Canterino [Sun, 23 Jan 2022 14:10:11 +0000 (15:10 +0100)]
Added STATIC_ROOT

2 years agoAdded basic bootstrap layout
Patrick Canterino [Sun, 23 Jan 2022 14:04:54 +0000 (15:04 +0100)]
Added basic bootstrap layout

2 years agoUse template inheritance
Patrick Canterino [Sun, 23 Jan 2022 13:44:35 +0000 (14:44 +0100)]
Use template inheritance

2 years agoMoved venv
Patrick Canterino [Fri, 21 Jan 2022 16:05:30 +0000 (17:05 +0100)]
Moved venv

2 years agoFirst commit of my notes Django application
Patrick Canterino [Thu, 20 Jan 2022 19:38:50 +0000 (20:38 +0100)]
First commit of my notes Django application

It's mainly a very simple blog without comments and other stuff.
Main purpose is to post short articles, called "notes".

It's loosely based on some Django tutorials.

This is the very first commit. The application is able to list the
notes and to display a single note.

patrick-canterino.de