public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH gwmail 0/7] User Profile Page
@ 2025-02-27 23:22 Ammar Faizi
  2025-02-27 23:22 ` [PATCH gwmail 1/7] settings/account: Add header 'change password' Ammar Faizi
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Ammar Faizi @ 2025-02-27 23:22 UTC (permalink / raw)
  To: Muhammad Rizki
  Cc: Ammar Faizi, GNU/Weeb Mailing List, Alviro Iskandar Setiawan

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-02-27 23:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 23:22 [PATCH gwmail 0/7] User Profile Page Ammar Faizi
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox