From fc979330dc2c62a77acc1722282b7a5be086bbcb Mon Sep 17 00:00:00 2001
From: Henil Panchal
help
; + return (First of all, you will need to register a user account:
+For uploading your package to the registry, you will have to step by step follow the following points:
+Register yourself as a user. You will require a unique username, email & password to set up your account.
+For uploading a package from fpm, you will have to first create a namespace. A namespace represents a collection of packages. Each package is published under a namespace in order to avoid collision of same package names. Namespace names will be unique always. + Now, that you will have created a namespace with a unique name and a nice description. You can go to dashboard by from the dropdown options in the Navigation bar on top. + In the dashboard, you can see the namespace that has been created by you. You can now generate a token for this namespace.
+Use this token to upload packages from the fpm using the CLI:
+fpm publish --token token-here
+ After completing the above steps, you will receive a response in the fpm command line interface whether your upload was successful or not. + + If your upload was successful, you can now again go to the registry frontend and check the dashboard. It should display the package uploaded by you. + You can now Add/Remove maintainers to your package. Mantainers have the rights to operate on the same package.
For uploading a package from fpm, you will have to first create a namespace. A namespace represents a collection of packages. Each package is published under a namespace in order to avoid collision of same package names. Namespace names will be unique always. Now, that you will have created a namespace with a unique name and a nice description. You can go to dashboard by from the dropdown options in the Navigation bar on top. In the dashboard, you can see the namespace that has been created by you. You can now generate a token for this namespace.
+This token will be valid for 1 week , but you can always generate a new token.
Use this token to upload packages from the fpm using the CLI:
fpm publish --token token-here
After completing the above steps, you will receive a response in the fpm command line interface whether your upload was successful or not.
From 0024731bc27d544938031d391a43cd03a9536b3a Mon Sep 17 00:00:00 2001
From: Henil Panchal Install Repository Homepage License First of all, you will need to register a user account: For uploading your package to the registry, you will have to step by step follow the following points: Register yourself as a user. You will require a unique username, email & password to set up your account. For uploading a package from fpm, you will have to first create a namespace. A namespace represents a collection of packages. Each package is published under a namespace in order to avoid collision of same package names. Namespace names will be unique always.
- Now, that you will have created a namespace with a unique name and a nice description. You can go to dashboard by from the dropdown options in the Navigation bar on top.
- In the dashboard, you can see the namespace that has been created by you. You can now generate a token for this namespace. This token will be valid for 1 week , but you can always generate a new token. Use this token to upload packages from the fpm using the CLI: After completing the above steps, you will receive a response in the fpm command line interface whether your upload was successful or not.
-
- If your upload was successful, you can now again go to the registry frontend and check the dashboard. It should display the package uploaded by you.
- You can now Add/Remove maintainers to your package. Mantainers have the rights to operate on the same package.
setdeprecatePackageNamespaceName(e.target.value)}
+ name="namespaceName"
+ value={formData.namespaceName}
+ onChange={handleInputChange}
style={{ width: 300 }}
/>
setdeprecatepackageName(e.target.value)}
+ name="packageName"
+ value={formData.packageName}
+ onChange={handleInputChange}
style={{ width: 300 }}
/>
setdeletenamespaceName(e.target.value)}
+ name="namespaceName"
+ value={formData.namespaceName}
+ onChange={handleInputChange}
+ style={{ width: 300 }}
+ />
+
+
setdeletepackagenamespaceName(e.target.value)}
+ name="namespaceName"
+ value={formData.namespaceName}
+ onChange={handleInputChange}
style={{ width: 300 }}
/>
setdeletepackageName(e.target.value)}
+ name="packageName"
+ value={formData.packageName}
+ onChange={handleInputChange}
style={{ width: 300 }}
/>
setdeleteuserName(e.target.value)}
+ placeholder="Namespace Name"
+ name="namespaceName"
+ value={formData.namespaceName}
+ onChange={handleInputChange}
style={{ width: 300 }}
/>
setdeletereleasepackageName(e.target.value)}
- style={{ width: 300 }}
- />
- setdeletereleasenamespaceName(e.target.value)}
- style={{ width: 300 }}
- />
- setdeletereleaseName(e.target.value)}
+ placeholder="User Name"
+ name="userName"
+ value={formData.userName}
+ onChange={handleInputChange}
style={{ width: 300 }}
/>
setUserName(e.target.value)}
+ name="userName"
+ value={formData.userName}
+ onChange={handleInputChange}
style={{ width: 300 }}
/>
-
setNewPassword(e.target.value)}
+ name="newPassword"
+ value={formData.newPassword}
+ onChange={handleInputChange}
style={{ width: 300 }}
/>
@@ -364,7 +329,7 @@ const AdminSection = () => {
>
Change Password
- {fromValidationErrors.password} {errorMessage}
Don't have an account? Sign up
fpm install {data.namespace}/{data.name}
fpm publish --token token-here
- Help
+
+
+
In the dashboard, you can see the namespace that has
+ been created by you. You can now generate a token for this namespace.
+
+
+ fpm publish --token token-here
+
+
Admin Settings
Deprecate package release
+ Delete package
Delete namespace
+
+ Delete package version
Delete package
+
+ Deprecate package
Delete user
+
+ Delete Namespace
Delete release
+
+ Delete user
Change password
Change password
Welcome to fpm Registry!
@@ -77,7 +76,7 @@ const Login = () => {
{fromValidationErrors.password}
)} {errorMessage != null ?{errorMessage}
: null} - +Already have an account? Log in
@@ -100,14 +99,8 @@ const Register = () => { Forgot passwordfpm publish --token token-here
- {message}
From 0cd68d903f53845fdd8bbbfea30c701df6e1509f Mon Sep 17 00:00:00 2001 From: Henil PanchalThe Page you are looking for doesn't exist or an other error occured. Go to Home Page.
-+ The Page you are looking for doesn't exist or an other error occured. Go + to Home Page. +
+ {email}
.
+ {email}
.{fromValidationErrors.password}
- )} -{successMsg}
-{error}
- -{fromValidationErrors.password}
+ )} ++ {error ? error : successMsg} +
+ +{fromValidationErrors.email}
+ )} ++ {message} +
+ +{fromValidationErrors.password}
)} {errorMessage != null ?{errorMessage}
: null} + {message != null ?{message}
: null}
Already have an account? Log in
diff --git a/registry/src/store/actions/authActions.js b/registry/src/store/actions/authActions.js
index aeacd28b..74c1c1ae 100644
--- a/registry/src/store/actions/authActions.js
+++ b/registry/src/store/actions/authActions.js
@@ -126,8 +126,7 @@ export const signup = (username, email, password) => async (dispatch) => {
dispatch({
type: SIGNUP_SUCCESS,
payload: {
- uuid: result.data.uuid,
- username: result.data.username,
+ message: result.data.message,
},
});
} else {
diff --git a/registry/src/store/reducers/authReducer.js b/registry/src/store/reducers/authReducer.js
index 72f7014f..ee10e9fe 100644
--- a/registry/src/store/reducers/authReducer.js
+++ b/registry/src/store/reducers/authReducer.js
@@ -17,6 +17,7 @@ const initialState = {
error: null,
username: null,
isLoading: false,
+ message: null,
};
const authReducer = (state = initialState, action) => {
@@ -73,9 +74,7 @@ const authReducer = (state = initialState, action) => {
case SIGNUP_SUCCESS:
return {
...state,
- isAuthenticated: true,
- uuid: action.payload.uuid,
- username: action.payload.username,
+ message: action.payload.message,
isLoading: false,
};
From 0aee1a4d727a11a9657610a14516079b65008350 Mon Sep 17 00:00:00 2001
From: Henil Panchal {message} {fromValidationErrors.email}
- {message}
- {message} {fromValidationErrors.password}
- {error ? error : successMsg}
+ {error ? error : messageEmail}
{fromValidationErrors.password}
- {error ? error : messageEmail}
- {error} {messageEmail}Welcome to fpm Registry!
-
+
{message &&
(statuscode !== 200 ? (
Archives
+
+ fpm - registry Archives
+
+
+
+ {archives.map((archive) => (
+
+
- @{username}
+ />
+
+
+
+ @{username}
+
We use gravatar.com to generate
your profile picture based on your primary email address —
-
{email}
.
-
+ {email}
.
+
+
+
@@ -230,7 +238,7 @@ const Account = () => {
Close
@@ -258,9 +266,7 @@ const Account = () => {
{fromValidationErrors.email && (