414 Commits

Author SHA1 Message Date
Ushie
00760a0b02 chore: Merge branch dev to main (#328) 2025-09-21 04:16:32 +03:00
Ushie
25284284d9 fix: Email countdown only starts once 2025-09-21 04:15:49 +03:00
Ushie
b615f16bdd chore: Merge branch dev to main (#316) 2025-09-17 03:34:11 +03:00
oSumAtrIX
012e798aed feat: Add notice before showing e-mail (#327)
Co-authored-by: Ushie <ushiekane@gmail.com>
2025-09-17 03:33:53 +03:00
Ushie
287e45a2ad fix: Set timezone to UTC for all announcements 2025-09-17 03:25:03 +03:00
Ushie
ebe9523041 fix: Prevent FOUC and repetitive setting of about info 2025-07-03 02:45:00 +03:00
oSumAtrIX
4dfb3a2526 fix: Make analytics work again 2025-07-02 18:45:04 +02:00
oSumAtrIX
e7313442ed Merge branch 'main' into dev 2025-07-02 17:55:44 +02:00
Federico Di Leo
bbc1858014 fix: Correct import statement for DownloadCompatibilityWarningDialog (#312)
Co-authored-by: Ushie <ushiekane@gmail.com>
2025-07-02 17:52:21 +02:00
Ushie
1162f6b43e chore: Merge branch dev to main (#304) 2025-06-26 16:51:52 +03:00
Ushie
7f12c3819e feat: Improve downtime status banner description 2025-06-26 05:09:22 +03:00
Ushie
04ab5cf39f feat: Improve announcement read tracking and localStorage sync 2025-06-26 02:03:48 +03:00
oSumAtrIX
accbf09f90 ci: Add missing env variable 2025-06-25 16:50:54 +02:00
Ushie
8476b98ee2 feat: Add tooltips to buttons in Announcement management, minor UI improvements and fixes 2025-06-25 17:31:09 +03:00
Ushie
9221d8c70b feat: Announcements as an IconButton in the NavBar 2025-06-24 01:18:18 +03:00
Ushie
69b412ecc8 refactor: Simplify announcement filtering and improve archived announcements handling 2025-06-14 05:40:35 +03:00
Ushie
e2798140fc fix: Edge case media query 2025-06-14 05:23:42 +03:00
Ushie
77c37e6e11 fix: Correctly close div tag for expandable tags section 2025-06-14 05:07:54 +03:00
Ushie
7781bfdb14 feat: Improve visibility check logic and styling 2025-06-14 05:04:00 +03:00
Ushie
393d2d64b1 refactor: Clean up codebase, improve styling and structure 2025-06-14 05:02:03 +03:00
Ushie
49c7fc5af8 fix: Add default status URL value through environment variables 2025-06-14 04:58:45 +03:00
Ushie
b4eed9ac6a refactor: Rename Modals to Dialogs, Move Dialogs and Banners to layout 2025-06-14 04:58:38 +03:00
Ushie
32c0bbb3d4 refactor: Component style cleanup 2025-06-14 02:45:43 +03:00
Ushie
d29c29361c chore: Merge dev to main (#303) 2025-06-13 03:20:08 +03:00
Ushie
6f03ca3789 fix: No patches shown if no package name was selected 2025-06-13 03:19:39 +03:00
Ushie
9c7bbd9d25 chore: Merge branch dev to main (#293) 2025-06-06 02:42:20 +03:00
Ushie
d3cc36f836 fix: Archived date padding for mobile and minor cleanup 2025-06-06 02:41:59 +03:00
MadKarma
dba960aacb chore: Use HTML <dialog> component (#297) 2025-06-06 02:35:28 +03:00
Ushie
63deeeba96 fix: Set announcement as read when opened 2025-06-03 02:23:13 +03:00
Ushie
32a0d6e1e2 fix: Only show non-archived announcements 2025-06-03 02:23:08 +03:00
Ushie
b9aa54904f feat: Make Settings icon more consistent with the NavItems 2025-06-03 02:15:55 +03:00
MadKarma
c224285825 feat: Add announcements (#257)
* feat: init /announcements route

+ update dependecies
+ add types
+ add components

* fix: use page store to get the query params

* feat: filter ann by channel

+ revert queries lib to v4

* feat: use page store to select channel chip

* feat: add content slot

* feat: add top row with all channels

* feat: add Gallery component

* feat: style ChannelChip

* feat: add NewChip

* feat: add read announcement logic

* refactor: Move components to the announcements route folder

* feat: Style the announcement cards and use mansory layout

* fix: resolve errors

* chore: Minor refactor and add more placeholder announcements

* fix: Remove unused import

* fix: use correct types + import component

* fix: Announcements masonry layout not displaying anything

* feat: add unread marker to announcement card

* refactor: simplify read logic

* feat: add gap to channels select

* refactor: rename var

* feat: hide actions div if not admin

* refactor: change gear icon to 3 dots icon

* refactor: reduce content preview length

* refactor: remove parentheses and newlines

* feat: init auth module

* refactor: remove newline

* feat: add post, patch and delete methods with auth

+ move get/set token to auth module
+ add UnauthenticatedError class

* feat: add login fn

* feat: add login btn

* chore: update dependencies to fix vulnerability

* refactor: remove card banner

* feat: init login functionality in dom

* feat: add login request and token storage

* refactor: simplify login

* refactor: add comment

* feat: finish auth in dom

* refactor: remove commented code

* feat: add code-side digest auth

* fix: return initial response if 200

* refactor: remove log

* feat: init login modal

* feat: more form styles

* fix: fix auth header

* feat: hide login popup if logged in successfully

* feat: animate input label

* feat: styling (fix inputs overlap)

* fix: add body param to authored requests

* feat: add announcement-related helper functions

* fix: use ? instead of | undefined

* feat: Implement majority of UI

* feat: add Input component

* fix: fix input font size

* feat: add HA1 sha256 to session storage

* feat: add login success dialog

* fix: fix centered text

* fix: use momentjs

* fix: fix ts error

* feat: set announcement read on click

* feat: card check if user is admin

* fix: fix svg size

* feat: add mobile styling

* feat: add session expired modal

* fix: close sess exp modal on new login

* feat: Search

* refactor: Minor cleanup

* feat: Replace 'Sudo Login' with 'Admin Login' and remove icon

* feat: update api to v4

* refactor: move ApiAnnouncementCreate to types file

* fix: minor code fixes

* feat: update Announcement type to API v4 spec

* feat: add Gallery component

* feat: use NewBadge instead of UnreadDot

* feat: Prefetch announcements & use new /announcements/id endpoint

* refactor: Change all references of channels to tags

* refactor: Simplify prefetch query arguments

* fix: fix new badge

* feat: add gallery to ann page

* refactor: change image preview aspect ratio

* feat: add fullscreen image transition

* feat: move gallery inside announcement container

* refactor: use store to check for valid login

* refactor: remove unused css class

* feat: add editing and deleting announcements

TO FIX: `goto('/announcements')` doesn't work

* feat: add unsaved changes check

* feat: add warning before deleting announcement

* refactor: update texts and coloring of warning modal

* refactor: remove dot from red coloring

* refactor: remove red color

* refactor: minor tweaks

* fix: fix json parsing errors when there's no content in response

* refactor: switch buttons position

* feat: add more props to Input

* feat: add wrong credentials message

* feat: Show tags in announcement cards

* feat: Improve NEW header

* fix: Don't show 2nd swiggly line if there's no attachments

* fix: Attachment border radius on unread announcements

* feat: Add create announcement button

* fix: Hide tags section in AnnouncementCard when there's no tags

* fix: Cleanup tags handling and don't show TagsHost if there's no tags

* feat: Add editing and creating announcements and major cleanup

* feat: Managing attachments

* refactor: Split page into components and decrease repetition

* feat: Support modifying createdAt date

* fix: Ensure correct default date input value when editing announcements

* refactor: Minor cleanup

* fix: Save all changes on submit

* feat: Managing tags

* feat: Managing archived status

* refactor: Reduce repetition

* fix: Don't show cancel edit button on creation

* fix: Disable prerendering announcements to fix building

* optimize

* feat: add read announcements store + typing fixes

* refactor: add newline

* fix: add more types

* fix: Trying to write to readable and minor cleanup

* fix: Leave announcement when clicking announcement in the NavBar

* feat: Handle nullability and cleanup

* feat: Wrap icon button in Button and cleanup

* feat: Relative time within 7d and cleanup

* feat: Don't use red text on session expired dialog

* refactor: Reduce repetition

* refactor: Element -> Input

* fix: Reset preview state after cancelling and improve reactivitiy

* feat: Improve admin login in settings design

* fix: Use Moment.js for date handling to resolve timezone offsets and formatting issues

* fix: Don't display content in AnnouncementCard if undefined

* fix: Use goto instead of history

* feat: Prevent announcement submission without a title

* refactor: Minor cleanup

* fix: Unable to create attachments

* refactor: Use correct type

* chore: Remove unused CSS

* fix: Improve tag submission handling on Enter key press

I'm confused

* feat: Improve validity check

* feat: Add attachment validation and improve design

* fix: Inverted announcement validity check

* fix: Empty state for new attachments

* fix: Don't overflow ontop of bin icon

* fix: Improve invalid new attachment handling

* feat: Swap date and content in AnnouncementCard

* feat: Complete login on Enter key press in password input

* fix: Reversed validation logic

* feat: Invalidate cache on Announcement create/delete

* fix: Inline icon in Create button to display the correct color

* feat: Style AnnouncementCard content

* feat: Invalidate cache after save and ensure cache is invalidated after operation

* refactor: Use correct Utils location

* refactor: Remove unused parameter

* feat: Relative date in AnnouncementCard

* feat: Improve mobile responsivity

* feat: Hide archived announcements for non-admin viewers

* feat: Distinguish archived announcements

* refactor: update admin panel message

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>

* refactor: update admin panel title

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>

* refactor: Reduce repetition

* fix: Update content after saving

* feat: Handle nullable content

* feat: Archived posts section

* fix: Improve nullability handling

* refactor: Improve relativeTime configurability

* Merge branch 'dev' into pr/madkarmaa/257

* feat: Migrate remaining icons

* feat: Use outline icons

* feat: Wrap long titles

* fix: fix typo

* fix: don't cache creds

* refactor: remove stale time for announcements

* feat: show error alert if admin function fails

* feat: Add slugs to announcement URLs for better readability and SEO

"A site’s URL structure should be as simple as possible. Consider organizing your content so that URLs are constructed logically and in a manner that is most intelligible to humans." — Google Search Central

* feat: add announcement banner

* feat: Improve banner designs

* fix: Close button color and banner not closing

* fix: Sticky navbar, move modals to own components, tidy up CSS, use store for `passed_login_with_creds`

* chore: Delete unused icons

---------

Co-authored-by: Ushie <ushiekane@gmail.com>
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2025-06-03 02:12:05 +03:00
Federico Di Leo
6397ea1b7c fix: Do not crash site by rendering verified badge only if GPG key available (#294) 2025-05-30 18:33:37 +02:00
oSumAtrIX
4cc473b43e fix: Improve semantics and fine tune responsive layout parameters 2025-05-06 20:00:27 +02:00
Ushie
eebd9e8239 chore: Merge dev to main (#287) 2025-05-06 15:34:06 +03:00
Ushie
305d9bad06 fix: Order of z-index 2025-05-06 15:04:15 +03:00
oSumAtrIX
8d1ff38708 chore: Merge branch dev to main (#285) 2025-05-06 13:44:35 +02:00
oSumAtrIX
a0652feb36 fix: Use full instead of arbitrary height 2025-05-06 13:41:43 +02:00
oSumAtrIX
e95e22a458 chore: Merge branch dev to main (#284) 2025-05-06 13:35:40 +02:00
oSumAtrIX
5746a7d7ce fix: Make sure footer hides correctly on desktop 2025-05-06 13:34:25 +02:00
oSumAtrIX
2a6bc70cfc feat: Always show links 2025-05-06 13:26:41 +02:00
oSumAtrIX
bff902876b fix: Hide wave and socials before it overlaps with hero 2025-05-06 13:23:43 +02:00
oSumAtrIX
459e7269d2 chore: Merge branch dev to main (#283) 2025-05-06 12:45:03 +02:00
oSumAtrIX
13cda4b59f fix: Fix index page styling and overflows 2025-05-06 12:43:40 +02:00
Ushie
b3883d2460 fix: Improve socials and wave visibility condition 2025-05-06 01:47:04 +03:00
Ushie
098f610b5c chore: Merge dev to main (#282) 2025-05-05 03:07:41 +03:00
Ushie
377a5ac352 fix: Unclickable social icons
This makes the hiding animation worse, as opacity isn't transitioned anymore, this is unfortunately due to an issue where the wave overlaps other page content during the transition
2025-05-05 03:03:47 +03:00
Ushie
0db3580345 fix: Propagated clicks in PatchItems and casing 2025-05-05 03:01:27 +03:00
PalmDevs
008358975b fix: Improve layout CSS 2025-05-05 02:24:13 +03:00
PalmDevs
54a0dd7350 chore: Apply lint fixes 2025-05-05 02:23:49 +03:00