Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
d210585d
Commit
d210585d
authored
7 years ago
by
Cam Saül
Browse files
Options
Downloads
Patches
Plain Diff
Sort namespace decls in reset password and sample dataset code
parent
d8715a3c
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
reset_password/metabase/reset_password/core.clj
+3
-3
3 additions, 3 deletions
reset_password/metabase/reset_password/core.clj
sample_dataset/metabase/sample_dataset/generate.clj
+9
-7
9 additions, 7 deletions
sample_dataset/metabase/sample_dataset/generate.clj
with
12 additions
and
10 deletions
reset_password/metabase/reset_password/core.clj
+
3
−
3
View file @
d210585d
(
ns
metabase.reset-password.core
(
:gen-class
)
(
:require
[
toucan
.db
:as
db
]
[
metabase.
db
:as
mdb
]
[
metabase.models.user
:as
user
]))
(
:require
[
metabase
.db
:as
m
db
]
[
metabase.
models.user
:as
user
]
[
toucan.db
:as
db
]))
(
defn-
set-reset-token!
"Set and return a new `reset_token` for the user with EMAIL-ADDRESS."
...
...
This diff is collapsed.
Click to expand it.
sample_dataset/metabase/sample_dataset/generate.clj
+
9
−
7
View file @
d210585d
(
ns
metabase.sample-dataset.generate
"Logic for generating the sample dataset.
Run this with `lein generate-sample-dataset`."
(
:require
(
clojure.java
[
io
:as
io
]
[
jdbc
:as
jdbc
])
(
:require
[
clojure.java
[
io
:as
io
]
[
jdbc
:as
jdbc
]]
[
clojure.math.numeric-tower
:as
math
]
[
clojure.string
:as
s
]
(
faker
[
address
:as
address
]
[
company
:as
company
]
[
lorem
:as
lorem
]
[
internet
:as
internet
]
[
name
:as
name
])
[
faker
[
address
:as
address
]
[
company
:as
company
]
[
internet
:as
internet
]
[
lorem
:as
lorem
]
[
name
:as
name
]]
[
incanter.distributions
:as
dist
]
[
metabase.db.spec
:as
dbspec
]
[
metabase.util
:as
u
])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment