From: Ammar Faizi <[email protected]>
To: Muhammad Rizki <[email protected]>
Cc: Ammar Faizi <[email protected]>,
GNU/Weeb Mailing List <[email protected]>,
Alviro Iskandar Setiawan <[email protected]>
Subject: [PATCH gwmail 0/7] User Profile Page
Date: Fri, 28 Feb 2025 06:22:27 +0700 [thread overview]
Message-ID: <[email protected]> (raw)
This series adds user profile page and photo profile support.
API examples can be found at:
https://github.com/GNUWeeb/mail.gnuweeb.org/blob/rework/old/profile.html
https://github.com/GNUWeeb/mail.gnuweeb.org/blob/rework/old/assets/js/api.js
You can also access it live at:
https://mail.gnuweeb.org/old/
Note: The login session is shared with the new interface. Both, old
and new interface use the same localStorage key.
There is one breaking change in the API, but it is very simple to
adapt. I also have updated the svelte code to keep up with the new
API. See patch #6 for details.
I will keep maintaining the old interface to let you know how to
use the API. It's easier that way for me rather than writing a
documentation.
Sync your git tree with master branch before start continuing the
profile page.
Signed-off-by: Ammar Faizi <[email protected]>
--
The following changes since commit 3a19417eed1530408c6a284c8747937657b27469:
feat: add settings pages (2025-02-23 15:31:17 +0700)
are available in the Git repository at:
https://github.com/GNUWeeb/mail.gnuweeb.org master
for you to fetch changes up to 0f781e613d2bc0f05ff64b1233073ad51cfd939f:
old: Use relative path to redirect (2025-02-28 05:29:15 +0700)
----------------------------------------------------------------
Ammar Faizi (8):
Merge branch 'patches-from-muhammad-rizki' into rework (patches from Muhammad Rizki)
settings/account: Add header 'change password'
public: Refactor old interface to keep up with new API
Rename 'public' to 'old'
old: Add profile page
old: Add photo profile support
routes: layout: Adjust field with new API
old: Use relative path to redirect
{public => old}/assets/css/.gitkeep | 0
old/assets/default_profile.png | Bin 0 -> 18016 bytes
old/assets/js/api.js | 239 ++++++++++++++++++++++++++++++++++++++++
{public => old}/home.html | 47 ++++----
{public => old}/index.html | 20 ++--
old/profile.html | 197 +++++++++++++++++++++++++++++++++
public/assets/js/api.js | 140 -----------------------
src/routes/(protected)/+layout.ts | 2 +-
src/routes/(protected)/settings/account/+page.svelte | 1 +
9 files changed, 478 insertions(+), 168 deletions(-)
rename {public => old}/assets/css/.gitkeep (100%)
create mode 100644 old/assets/default_profile.png
create mode 100644 old/assets/js/api.js
rename {public => old}/home.html (74%)
rename {public => old}/index.html (83%)
create mode 100644 old/profile.html
delete mode 100644 public/assets/js/api.js
--
Ammar Faizi
next reply other threads:[~2025-02-27 23:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 23:22 Ammar Faizi [this message]
2025-02-27 23:22 ` [PATCH gwmail 1/7] settings/account: Add header 'change password' Ammar Faizi
2025-02-27 23:22 ` [PATCH gwmail 2/7] public: Refactor old interface to keep up with new API Ammar Faizi
2025-02-27 23:22 ` [PATCH gwmail 3/7] Rename 'public' to 'old' Ammar Faizi
2025-02-27 23:22 ` [PATCH gwmail 4/7] old: Add profile page Ammar Faizi
2025-02-27 23:22 ` [PATCH gwmail 5/7] old: Add photo profile support Ammar Faizi
2025-02-27 23:22 ` [PATCH gwmail 6/7] routes: layout: Adjust field with new API Ammar Faizi
2025-02-27 23:22 ` [PATCH gwmail 7/7] old: Use relative path to redirect Ammar Faizi
2025-02-27 23:28 ` [PATCH gwmail 0/7] User Profile Page Ammar Faizi
2025-02-27 23:31 ` Ammar Faizi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox