Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: r/demo/users #3166

Draft
wants to merge 95 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
38c2b9a
update user rendering
leohhhn Nov 20, 2024
4970a59
save
leohhhn Nov 20, 2024
833576b
Merge branch 'master' into refac/users
leohhhn Nov 21, 2024
2c4f497
register
leohhhn Nov 21, 2024
6f9b787
Merge branch 'master' into refac/users
leohhhn Nov 21, 2024
74d6ae7
add gnoland/users, expand sys/users
leohhhn Nov 21, 2024
487775b
add resolving
leohhhn Nov 21, 2024
25c3fa1
pausable to sys/users
leohhhn Nov 21, 2024
d06515e
update regex & add godoc
leohhhn Nov 21, 2024
905bc10
update regex & add godoc
leohhhn Nov 21, 2024
970b3f0
save
leohhhn Nov 21, 2024
0ad5292
save
leohhhn Nov 21, 2024
3d72544
fix err name
leohhhn Nov 21, 2024
2f68087
Merge branch 'master' into refac/users
leohhhn Nov 22, 2024
114de1b
Merge branch 'master' into refac/users
leohhhn Nov 22, 2024
a3ed4e6
add paginated fetch
leohhhn Nov 22, 2024
b7cc608
add list by prefix
leohhhn Nov 22, 2024
3e58017
fix imports
leohhhn Nov 22, 2024
69cfe1c
add admin tests
leohhhn Nov 22, 2024
46fcc93
fix
leohhhn Nov 26, 2024
9ee9c41
Merge branch 'refs/heads/master' into refac/users
leohhhn Nov 26, 2024
065b2de
rename func
leohhhn Nov 26, 2024
f94a97d
save
leohhhn Nov 26, 2024
1f0f9a1
add xxx
leohhhn Nov 27, 2024
1ad9c57
add cmt
leohhhn Nov 27, 2024
c036996
username>name, add tests
leohhhn Dec 3, 2024
fc2a105
Merge branch 'refs/heads/master' into refac/users
leohhhn Dec 3, 2024
db1731e
rename files, add util_test
leohhhn Dec 3, 2024
a1b40fe
add test
leohhhn Dec 3, 2024
21f4379
move pusers
leohhhn Dec 3, 2024
de48585
simplify p/users
leohhhn Dec 3, 2024
6b39d88
add ctor
leohhhn Dec 3, 2024
408db75
pusers>susers
leohhhn Dec 3, 2024
7939469
extendeduser
leohhhn Dec 3, 2024
7a8795a
rm comment
leohhhn Dec 3, 2024
ffef138
rm error
leohhhn Dec 3, 2024
49f8c7d
Merge branch 'master' into refac/users
leohhhn Dec 3, 2024
c0067c5
rm pointer
leohhhn Dec 3, 2024
0dadb34
rm pointer
leohhhn Dec 3, 2024
2bb8e7d
rm newuser
leohhhn Dec 3, 2024
64f9455
save
leohhhn Dec 4, 2024
d9aa544
Merge branch 'refs/heads/master' into refac/users
leohhhn Dec 8, 2024
1a94d25
rm extendeduserstore
leohhhn Dec 15, 2024
5bee1ee
rm update bio
leohhhn Dec 15, 2024
5a02dc6
rm prereg
leohhhn Dec 15, 2024
0e07c53
revert prereg
leohhhn Dec 15, 2024
776e1ac
rm extuserstore
leohhhn Dec 15, 2024
411965b
lookup
leohhhn Dec 16, 2024
285b26f
rm restricted
leohhhn Dec 16, 2024
882711a
aliasstore
leohhhn Dec 16, 2024
c871060
save
leohhhn Dec 16, 2024
61d438c
rename aliasstore & regex
leohhhn Dec 16, 2024
bc02264
move verifier
leohhhn Dec 16, 2024
2454e8e
add cmt
leohhhn Dec 16, 2024
e20299d
fix verifier, comment out resolveaddress funcs
leohhhn Dec 16, 2024
d27845e
add cmt
leohhhn Dec 17, 2024
0f335e1
expose ownable & pausable apis
leohhhn Dec 17, 2024
3f3e0bd
imports
leohhhn Dec 17, 2024
ee8e670
verifiy
leohhhn Dec 17, 2024
a2a17bc
Merge branch 'refs/heads/master' into refac/users
leohhhn Dec 17, 2024
b00cc3a
update verifier
leohhhn Dec 17, 2024
b73c944
add verifier tests, modify store
leohhhn Dec 17, 2024
b34e0ea
add fetcher funcs
leohhhn Dec 18, 2024
e1d1945
update tests
leohhhn Dec 18, 2024
75a87e0
update gnoland/users
leohhhn Dec 18, 2024
e92964c
Merge branch 'master' into refac/users
leohhhn Dec 18, 2024
e1f8e58
render
leohhhn Dec 18, 2024
c4098d9
save
leohhhn Dec 18, 2024
c455438
rm aon
leohhhn Dec 19, 2024
03b246e
rm lookup ctr
leohhhn Dec 19, 2024
0abf40d
field
leohhhn Dec 19, 2024
f964e6f
ctr
leohhhn Dec 19, 2024
3e99909
rm get all names
leohhhn Dec 19, 2024
7acd8b1
update store
leohhhn Dec 19, 2024
7841aa3
store
leohhhn Dec 19, 2024
8bbf5ae
Merge branch 'refs/heads/master' into refac/users
leohhhn Dec 25, 2024
55573ee
rm cmts
leohhhn Dec 25, 2024
18a9c50
rm old impl
leohhhn Jan 4, 2025
2bf6319
add new impl, fix tests
leohhhn Jan 4, 2025
3338554
add test
leohhhn Jan 4, 2025
001d759
add events
leohhhn Jan 4, 2025
a11686a
update verifier
leohhhn Jan 4, 2025
926e50f
update comments
leohhhn Jan 4, 2025
b9f0e19
rm unused const
leohhhn Jan 4, 2025
5b557a8
add validateCall
leohhhn Jan 5, 2025
5e97815
Merge branch 'master' into refac/users
leohhhn Jan 5, 2025
ef9338f
update r/gnoland/users
leohhhn Jan 5, 2025
defba3b
update deleteuser
leohhhn Jan 5, 2025
455b724
rm comment, extra file
leohhhn Jan 6, 2025
7a0cbe3
fix verifier tests
leohhhn Jan 6, 2025
8fdc53f
fix deletion
leohhhn Jan 6, 2025
ee7b38e
add govdao verifier update
leohhhn Jan 7, 2025
742f48f
fix imports
leohhhn Jan 7, 2025
da6ae8a
switch err checks
leohhhn Jan 8, 2025
12d0101
add package desc
leohhhn Jan 8, 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
7 changes: 5 additions & 2 deletions examples/gno.land/p/demo/pausable/pausable.gno
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package pausable

import (
"errors"
"std"

"gno.land/p/demo/ownable"
Expand All @@ -11,6 +12,8 @@ type Pausable struct {
paused bool
}

var ErrPaused = errors.New("pausable: realm is currently paused")

// New returns a new Pausable struct with non-paused state as default
func New() *Pausable {
return &Pausable{
Expand Down Expand Up @@ -39,7 +42,7 @@ func (p *Pausable) Pause() error {
}

p.paused = true
std.Emit("Paused", "account", p.Owner().String())
std.Emit("Paused", "by", p.Owner().String())

return nil
}
Expand All @@ -51,7 +54,7 @@ func (p *Pausable) Unpause() error {
}

p.paused = false
std.Emit("Unpaused", "account", p.Owner().String())
std.Emit("Unpaused", "by", p.Owner().String())

return nil
}
1 change: 0 additions & 1 deletion examples/gno.land/p/demo/users/gno.mod

This file was deleted.

14 changes: 0 additions & 14 deletions examples/gno.land/p/demo/users/types.gno

This file was deleted.

31 changes: 0 additions & 31 deletions examples/gno.land/p/demo/users/users.gno

This file was deleted.

23 changes: 0 additions & 23 deletions examples/gno.land/r/demo/boards/z_0_b_filetest.gno

This file was deleted.

1 change: 0 additions & 1 deletion examples/gno.land/r/demo/users/gno.mod

This file was deleted.

Loading
Loading