pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/HabitRPG/habitica/pull/15466/commits/f33e256b573792a53efaef6588e1d3a231fe9a03

tps://github.githubassets.com/assets/global-d10a1ef1d5e1.css" /> Phillip/admin deleter by phillipthelen · Pull Request #15466 · HabitRPG/habitica · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
b00f463
refactor sending jobs to worker server
phillipthelen May 13, 2025
6b8e6ed
remove unused imports
phillipthelen May 13, 2025
6ebf3d0
add delete button to adminpanel
phillipthelen May 29, 2025
5540c6e
June 2025 content build (#15437)
CuriousMagpie May 13, 2025
eede13f
fix(script): don't use extremely costly regex
SabreCat May 19, 2025
aa8af15
fix(logging): don't spam empty error events
SabreCat May 19, 2025
b2b2d0f
Translated using Weblate (Ukrainian)
weblate May 19, 2025
7c81b71
5.36.4
SabreCat May 19, 2025
cb2b837
chore(deps): bump serialize-javascript in /website/client (#15395)
dependabot[bot] May 20, 2025
fcb1d06
chore(deps-dev): bump axios from 1.7.4 to 1.8.2 (#15401)
dependabot[bot] May 20, 2025
625db6b
chore(deps): bump prismjs from 1.29.0 to 1.30.0 (#15403)
dependabot[bot] May 20, 2025
787f64a
chore(deps): bump @babel/runtime-corejs2 in /website/client (#15406)
dependabot[bot] May 20, 2025
a3b3b28
chore(deps): bump @babel/helpers in /website/client (#15407)
dependabot[bot] May 20, 2025
0e99142
chore(deps): bump @babel/runtime from 7.23.9 to 7.26.10 (#15410)
dependabot[bot] May 20, 2025
b959731
chore(deps): bump http-proxy-middleware in /website/client (#15427)
dependabot[bot] May 20, 2025
7dd3ca4
Optimize database access for some use cases (#15444)
phillipthelen May 29, 2025
1aba2be
correct worker call
phillipthelen May 29, 2025
bc77c76
remove unused priority
phillipthelen May 29, 2025
0a6f138
fix tests
phillipthelen May 29, 2025
f33e256
don’t use body with delete
phillipthelen May 29, 2025
f4f964b
Merge remote-tracking branch 'origen/develop' into phillip/admin_deleter
phillipthelen Aug 8, 2025
9b52198
Merge branch 'phillip/admin_deleter' of github.com:HabitRPG/habitica …
phillipthelen Aug 8, 2025
71c2e19
add detailed information about sub payment for google and apple
phillipthelen Aug 11, 2025
ba99a65
Support paypal details for subscription in admin panel
phillipthelen Aug 11, 2025
c00aaec
stripe payment details
phillipthelen Aug 11, 2025
af3c37a
fix imports
phillipthelen Aug 11, 2025
7220006
fix tests
phillipthelen Aug 11, 2025
18239b7
fix deleting account
phillipthelen Aug 18, 2025
91ccba9
begin building group admin panel
phillipthelen Aug 19, 2025
6409c4c
fix convertig sub to group plan
phillipthelen Aug 19, 2025
5ba6d24
improve sub status display
phillipthelen Aug 19, 2025
5dbd10e
fix lint
phillipthelen Aug 19, 2025
2e4c0e1
fix long line
phillipthelen Aug 19, 2025
ef66387
fix sub state display
phillipthelen Aug 19, 2025
0e8ca11
lint fix
phillipthelen Aug 19, 2025
375ca3e
fix
phillipthelen Aug 19, 2025
02d4d2d
delete amplitude data by default
phillipthelen Aug 19, 2025
58ec028
improve searching for email in admin panel
phillipthelen Aug 20, 2025
92b4c10
correctly call method
phillipthelen Aug 20, 2025
faa1db4
move delete button in admin panel
phillipthelen Aug 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
don’t use body with delete
  • Loading branch information
phillipthelen committed May 29, 2025
commit f33e256b573792a53efaef6588e1d3a231fe9a03
7 changes: 2 additions & 5 deletions website/client/src/store/actions/hall.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ export async function getHeroGroupPlans (store, payload) {
}

export async function deleteHero (store, payload) {
const url = `/api/v4/members/${payload.uuid}`;
const response = await axios.delete(url, {
deleteAccount: payload.deleteHabiticaAccount,
deleteAmplitude: payload.deleteAmplitudeData,
});
const url = `/api/v4/members/${payload.uuid}?deleteAccount=${payload.deleteAccount}&deleteAmplitude=${payload.deleteAmplitude}`;
const response = await axios.delete(url);
return response.data.data;
}
8 changes: 4 additions & 4 deletions website/server/controllers/api-v4/members.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ api.deleteMember = {
url: '/members/:memberId',
async handler (req, res) {
req.checkParams('memberId', res.t('memberIdRequired')).notEmpty().isUUID();
req.checkBody('deleteAccount').optional().isIn(['true', 'false']);
req.checkBody('deleteAmplitude').optional().isIn(['true', 'false']);
req.checkQuery('deleteAccount').optional().isIn(['true', 'false']);
req.checkQuery('deleteAmplitude').optional().isIn(['true', 'false']);
const validationErrors = req.validationErrors();
if (validationErrors) throw validationErrors;
sendJob('delete-user', {
data: {
userId: req.params.memberId,
deleteAccount: req.body.deleteAccount === 'true',
deleteAmplitude: req.body.deleteAmplitude === 'true',
deleteAccount: req.query.deleteAccount === 'true',
deleteAmplitude: req.query.deleteAmplitude === 'true',
},
});
res.respond(200, {});
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy