Commit Graph

  • bff6095ff3 Update the about block in the admin panel. main KKlochko 2024-04-19 11:23:05 +0300
  • 0bef11c82c Fix the update form for the article in the admin panel. KKlochko 2024-04-19 11:06:59 +0300
  • a0ecb1dc58 Update the format for server module. KKlochko 2024-04-19 10:54:57 +0300
  • 2d9add29e6 Update to remove unused variable for the validation route. KKlochko 2024-04-19 10:54:46 +0300
  • 0c3aa99918 Fix the query for the brief article. KKlochko 2024-04-19 10:49:26 +0300
  • 84b37695a6 Add the template for article edit content. KKlochko 2024-04-19 10:33:36 +0300
  • e10530507e Add the article rows template. KKlochko 2024-04-19 10:32:56 +0300
  • 09bfe9b9a5 Add the articles briefly template. KKlochko 2024-04-19 10:32:20 +0300
  • 8f4d83d486 Add the about page template. KKlochko 2024-04-19 10:30:10 +0300
  • eabd17eb67 Add the templates for the update form validation. KKlochko 2024-04-19 10:26:19 +0300
  • 782d66aed0 Update the handler to get a article's row briefly. KKlochko 2024-04-19 09:53:09 +0300
  • 88a9eb7749 Add a validation for the edit article form. KKlochko 2024-04-19 09:41:31 +0300
  • 4e6d36d98c Update the main layout to ignore validation htmx requests. KKlochko 2024-04-19 09:40:04 +0300
  • f493b47320 Add a validation for the create form. KKlochko 2024-04-19 09:20:57 +0300
  • 634f7e41e2 Add a validation for the about form in the admin panel. KKlochko 2024-04-19 08:09:27 +0300
  • a8fc0ab70c Add the example of .env. KKlochko 2024-04-19 07:48:03 +0300
  • 6206b211ec Add the README. KKlochko 2024-04-19 07:47:27 +0300
  • b14171da7b Update the footer's text for the white theme. KKlochko 2024-04-18 22:45:12 +0300
  • 60f943d2ca Add the about page and the about content form to the admin panel. KKlochko 2024-04-18 22:09:28 +0300
  • 38e89bc2db Add CRU for the about content. KKlochko 2024-04-18 22:07:58 +0300
  • a5ffc29eba Update the article blocks to make the content uncentered. KKlochko 2024-04-18 17:44:08 +0300
  • da7b6e6122 Add the validation for the /login page. KKlochko 2024-04-18 17:27:04 +0300
  • 0d2566c8ce Update the white theme for the login page. KKlochko 2024-04-18 17:02:06 +0300
  • 153ccabd23 Update the white theme for the navbar and the footer. KKlochko 2024-04-18 16:57:07 +0300
  • f26e028fc4 Update the login template to prevent login if authorized. KKlochko 2024-04-18 16:47:39 +0300
  • 69ef4e3069 Add the logout item to the navbar and the footer. KKlochko 2024-04-18 16:45:08 +0300
  • 16d8e1f140 Add cookie-parser and session to use authorization. KKlochko 2024-04-18 16:42:17 +0300
  • 3f1ba5a556 Add the middleware to prevent access to the admin panel if authorized. KKlochko 2024-04-18 16:28:12 +0300
  • d70f03aee4 Add the authorization to login and logout as the admin. KKlochko 2024-04-18 15:36:53 +0300
  • a1d48ceb64 Add a function to get the SECRET enviroment variable. KKlochko 2024-04-18 15:09:12 +0300
  • 89d6fa229c Add cookie-parser and express-session for the authorization. KKlochko 2024-04-18 15:07:04 +0300
  • 6c64fd5609 Update the values for the primary css classes. KKlochko 2024-04-18 08:52:09 +0300
  • 8f9f47c73e Update the preview drawer's size to the update drawer's size. KKlochko 2024-04-15 19:09:01 +0300
  • 8ee9b5b595 Add a drawer, routes, handlers to update an article. KKlochko 2024-04-15 19:07:49 +0300
  • 09ce47614a Add the function to update an article. KKlochko 2024-04-15 18:27:43 +0300
  • 74f220bcc8 Update ids for the preview modal in the admin panel. KKlochko 2024-04-15 16:15:45 +0300
  • 7991d55600 Update the search to update without override other parameters and use alpinejs. KKlochko 2024-04-15 11:15:17 +0300
  • 6d3eefcd35 Add the search for articles for the admin panel. KKlochko 2024-04-14 22:09:00 +0300
  • dd72f8d489 Update the index page to save the search in the query parameters. KKlochko 2024-04-14 21:36:36 +0300
  • cc3456fa3b Update the index page to the partial for articles. KKlochko 2024-04-11 21:29:57 +0300
  • 9d2f940a07 Add the urls of main pages for navbar. KKlochko 2024-04-11 21:19:11 +0300
  • 2f82f419d7 Add the search for articles on the index page. KKlochko 2024-04-11 21:17:52 +0300
  • e464e9d70f Add auto-creating tables if they do not exists. KKlochko 2024-04-11 17:12:01 +0300
  • df371f50a6 Update templates to move the navbar to the main layout. KKlochko 2024-04-11 17:10:31 +0300
  • 65c8a49182 Update the navbar to highlight depend on the page. KKlochko 2024-04-11 17:02:06 +0300
  • b79c1e4134 Add the separators between articles on the index page. KKlochko 2024-04-11 14:30:34 +0300
  • 76cd096f70 Add the lazy loading for articles on the index page. KKlochko 2024-04-11 14:29:01 +0300
  • c24fce08f3 Update the queries to get articles in the order new first. KKlochko 2024-04-11 12:49:46 +0300
  • 9d7ec9888b Add a helper to format an article's timestamp. KKlochko 2024-04-11 11:17:42 +0300
  • cbc813924e Update the article_row template to use helpers to make rows concise. KKlochko 2024-04-10 21:49:22 +0300
  • 9c0e888284 Add the helpers for timestamp and brief contents. KKlochko 2024-04-10 21:47:10 +0300
  • 5ce17d3aa8 Update the admin panel to show brief contents. KKlochko 2024-04-10 21:42:27 +0300
  • 72b9e604ca Add functions to get an article or articles with the brief content. KKlochko 2024-04-10 21:41:46 +0300
  • d8d8340aa2 Add the route and handler to delete a article. KKlochko 2024-04-10 12:48:32 +0300
  • 9177e42fb0 Add the create modal, a route, a handler to create a article. KKlochko 2024-04-10 12:46:09 +0300
  • 657d58d15f Update the admin panel to show the article counters. KKlochko 2024-04-09 22:28:32 +0300
  • 75b7d84806 Fix that a new article row added as element instead of a child. KKlochko 2024-04-09 22:02:30 +0300
  • 3bfe008326 Fix the dialog components won't toggle when a created row is added. KKlochko 2024-04-09 21:55:09 +0300
  • 94e2ff7609 Add a feature to delete an article for the admin panel. KKlochko 2024-04-09 21:52:55 +0300
  • 72cbb71d55 Add the delete-article to delete an article by the id. KKlochko 2024-04-09 20:44:54 +0300
  • 75a3f7737d Add the date-fns as a dependency for date formating. KKlochko 2024-04-09 19:52:24 +0300
  • 20ed9e09dc Add a feature to preview a article for the admin panel. KKlochko 2024-04-09 17:57:27 +0300
  • f78df3d232 Add the routes and handlers for the admin panel. KKlochko 2024-04-02 14:52:24 +0300
  • 947381b229 Add the HTMX's head tag to the main layout. KKlochko 2024-04-02 14:47:58 +0300
  • 80ea6f85d8 Add templates for the admin panel. KKlochko 2024-04-02 14:47:27 +0300
  • 2b1ea5d806 Add function to insert a new article. KKlochko 2024-04-02 13:28:27 +0300
  • 46f017d716 Add the handler factories for index and article pages. KKlochko 2024-04-01 21:32:00 +0300
  • bfef190c91 Update the get-article to return data as a cljs map without arrays. KKlochko 2024-04-01 21:19:59 +0300
  • 00895abe0c Add views and partials for the index page and the article block. KKlochko 2024-04-01 21:16:17 +0300
  • 1abc086b29 Update the shadow-cljs config to move index.js to the project's root. KKlochko 2024-04-01 20:56:32 +0300
  • ff2ad7de9d Add the express-handlebars as a template engine. KKlochko 2024-04-01 20:55:41 +0300
  • 1ad0610f19 Add a function to get an article by id. KKlochko 2024-03-27 17:08:41 +0200
  • c7223f0a00 Add the get-articles to read all articles. KKlochko 2024-03-27 16:17:44 +0200
  • 3b70a1a497 Add a function to create tables. KKlochko 2024-03-27 16:16:49 +0200
  • 5954224327 Add the db module with functions to create the connection. KKlochko 2024-03-27 15:57:55 +0200
  • 50521a8cc9 Add the environment variables for database credentials. KKlochko 2024-03-27 15:55:56 +0200
  • af1e2adbc4 Add the pg as the postgres client to the dependencies. KKlochko 2024-03-27 15:53:41 +0200
  • 39b8c633b0 Update to move server logic to the server module. KKlochko 2024-03-27 14:40:25 +0200
  • a092283cf2 Add the environment variables support. KKlochko 2024-03-27 14:28:44 +0200
  • bd8d737758 Add the simple endpoint and the configuration. KKlochko 2024-03-26 21:07:26 +0200
  • 614bed7899 Add the express to the dependencies. KKlochko 2024-03-26 21:06:39 +0200
  • 99f13dd320 Project initialization. KKlochko 2024-03-26 21:01:21 +0200