List of commits:
Subject Hash Author Date (UTC)
Lots of html/css changes bde37682fac058f68806b3342ba043a2f72458ba Catalin(ux) M. BOIE 2021-10-21 06:00:29
Lots of tests updated 40e01f4db4d341d4e2dceb4407ea7d6ff523ac9e Catalin(ux) M. BOIE 2021-10-21 06:00:02
Big changes to add rpm packages repositories 5e07ff440d6ad7f0ef9900a634b2f39f0e7fa1e4 Catalin(ux) M. BOIE 2021-10-21 05:59:26
Cosmetic 02376344f7d7d321d824ab7978de2ad49c007167 Catalin(ux) M. BOIE 2021-05-23 12:57:06
Added FIDO2 support for SSH 04186abe13896ad4f4ea7126691d0a2b1798de1a Catalin(ux) M. BOIE 2021-05-23 12:30:43
ssh: show the id of the key both on web and when connecting ab95ccfa2819d6ac9f427209ee61c75aad8a3661 Catalin(ux) M. BOIE 2021-05-23 10:52:44
Some events are doing some queries, and we need to cover them in transaction, not only the subevents 4768ffec303961971cc0c3732a24e858f47dd381 Catalin(ux) M. BOIE 2020-12-15 07:33:36
Added rate limit for ssh and git connections b667130e6c5721a3d30193863a5defd8bbff50f1 Catalin(ux) M. BOIE 2020-11-30 10:49:27
cosmetic abe44edadda9da7c639b7bd8c9e13e6058555669 Catalin(ux) M. BOIE 2020-11-30 10:21:01
gpg functions and test ecb9e05c99a2b73edfba5014329e362d8c6e9246 Catalin(ux) M. BOIE 2020-11-09 07:38:11
Stats page is not rendered for bots. 29ca3f62ac460b64eb0a10fbb8bdfdf4a1767dc5 Catalin(ux) M. BOIE 2020-10-13 05:48:43
Added rate limit options 60e939a52577a01603f9f386ffaf1a9712f99ab6 Catalin(ux) M. BOIE 2020-10-07 05:02:25
Improved bots list and clean old entries 9da0a014040753734beabfecb298b8956fc25fe3 Catalin(ux) M. BOIE 2020-10-05 06:34:43
builder: use secrets only if available 4fe47afc60435508ad90f62c51d489ac3c20b4d0 Catalin(ux) M. BOIE 2020-08-28 07:29:14
worker: use secrets only if available 5371e918e294a46cc38c765371a1caf7a3083eef Catalin(ux) M. BOIE 2020-08-28 07:28:12
builder: do not break meta variable 1d8207b1a782ab039406dbd087cdc9bb5ea0b898 Catalin(ux) M. BOIE 2020-08-28 07:27:48
Whitespace 86086337c5323b073f517bc59c18aba0808fb4f3 Catalin(ux) M. BOIE 2020-08-24 07:22:13
Bump version to 0.73 7cac4d7a31116ac9ad86e0babeb0c1aace5dd852 Catalin(ux) M. BOIE 2020-08-23 15:32:03
duilder update f691d84aa0aa70ef60a7487f247ed1a9ab1e3ab1 Catalin(ux) M. BOIE 2020-08-23 15:31:38
Bot prevention should not be active for edit operation 371c60a486ea989fafb66266cab71ea9f7db0269 Catalin(ux) M. BOIE 2020-08-23 15:02:13
Commit bde37682fac058f68806b3342ba043a2f72458ba - Lots of html/css changes
Author: Catalin(ux) M. BOIE
Author date (UTC): 2021-10-21 06:00
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2021-10-21 06:00
Parent(s): 40e01f4db4d341d4e2dceb4407ea7d6ff523ac9e
Signer:
Signing key:
Signing status: N
Tree: 2440f7e81d7f37caaaa6374a74c637493032ecd8
File Lines added Lines deleted
root/themes/default/admin/init.html 1 1
root/themes/default/admin/ldap/list/line.html 1 1
root/themes/default/admin/menu.html 1 0
root/themes/default/admin/plans/list/line.html 1 1
root/themes/default/admin/settings/ssh/hints.html 6 12
root/themes/default/doc/demo/demos/TODO/1.html 2 2
root/themes/default/doc/demo/demos/artifacts/0/main.html 7 7
root/themes/default/doc/demo/demos/artifacts/blendergraph/main.html 3 3
root/themes/default/doc/demo/demos/artifacts/define/main.html 23 18
root/themes/default/doc/demo/demos/artifacts/rights/main.html 12 0
root/themes/default/doc/demo/demos/artifacts/rights/name.html 1 0
root/themes/default/doc/demo/demos/artifacts/see/main.html 1 1
root/themes/default/doc/demo/demos/ci-1/python1/main.html 2 2
root/themes/default/doc/demo/demos/ci-1/trigger/main.html 2 2
root/themes/default/doc/demo/list.html 8 1
root/themes/default/features.html 5 3
root/themes/default/hints/rights/edit_pkgrepo.html 2 0
root/themes/default/hints/rights/edit_repo.html 2 0
root/themes/default/hints/rights/edit_repo_path.html 37 0
root/themes/default/hints/rights/edit_repo_refs.html 56 0
root/themes/default/hints/rights/edit_rights.html 10 0
root/themes/default/index.html 13 9
root/themes/default/mail/user/econf.body.txt 2 2
root/themes/default/mail/user/welcome.body.txt 2 2
root/themes/default/main.css 27 4
root/themes/default/repo/artifacts/list/header.html 1 1
root/themes/default/repo/artifacts/list/line.html 2 17
root/themes/default/repo/bug/search/list/line.html 1 1
root/themes/default/repo/main.html 9 9
root/themes/default/repo/menu.html 1 1
root/themes/default/rights/delete_ok.html 3 0
root/themes/default/rights/deny.html 1 0
root/themes/default/rights/form_repo.html 2 2
root/themes/default/rights/form_repo_path.html 7 2
root/themes/default/rights/form_repo_refs.html 7 2
root/themes/default/rights/grant_ok.html 3 0
root/themes/default/rights/invalid_user.html 1 0
root/themes/default/rights/list_repo/footer.html 0 0
root/themes/default/rights/list_repo/header.html 0 0
root/themes/default/rights/list_repo/line.html 1 1
root/themes/default/rights/list_repo/nodata.html 0 0
root/themes/default/rights/list_repo_path/footer.html 0 0
root/themes/default/rights/list_repo_path/header.html 3 2
root/themes/default/rights/list_repo_path/line.html 2 1
root/themes/default/rights/list_repo_path/nodata.html 0 0
root/themes/default/rights/list_repo_refs/footer.html 0 0
root/themes/default/rights/list_repo_refs/header.html 3 2
root/themes/default/rights/list_repo_refs/line.html 2 1
root/themes/default/rights/list_repo_refs/nodata.html 0 0
root/themes/default/user/add_edit.html 1 1
root/themes/default/user/hints/econf.html 2 1
root/themes/default/user/home.html 2 2
root/themes/default/user/settings/apikeys/hints.html 2 2
root/themes/default/user/settings/menu.html 9 8
root/themes/default/user/settings/wh/list/header.html 2 5
root/themes/default/user/settings/wh/list/line.html 6 5
root/themes/default/user/settings/wh/subtype.html 1 1
root/themes/default/user/settings/workers/list/header.html 1 2
root/themes/default/user/settings/workers/list/line.html 2 3
File root/themes/default/admin/init.html changed (mode: 100644) (index 43464db..3cf272c)
29 29 </p> </p>
30 30
31 31 <p> <p>
32 <label for="email">E-mail (not public)</label><br />
32 <label for="email">E-mail (not public, mandatory)</label><br />
33 33 <input type="text" name="init::email" id="email" value="@@init::email@@" /> <input type="text" name="init::email" id="email" value="@@init::email@@" />
34 34 </p> </p>
35 35
File root/themes/default/admin/ldap/list/line.html changed (mode: 100644) (index 475c373..1f7015c)
16 16 <td>@@admin_group@@</td> <td>@@admin_group@@</td>
17 17 <td>@@timeout@@</td> <td>@@timeout@@</td>
18 18 <td>@@ca_cert@@</td> <td>@@ca_cert@@</td>
19 <td><a href="/op/admin/ldap/edit/@@id@@">[Edit]</a></td>
19 <td><a href="/op/admin/ldap/edit/@@id@@"><span class="but">Edit</span></a></td>
20 20 </tr> </tr>
21 21
File root/themes/default/admin/menu.html changed (mode: 100644) (index e70a5de..26920ef)
8 8 <li@@if(@@admin_menu::repos@@ == 1){{ class="selected"}}{{}}><a href="/op/admin/repos">Repos</a></li> <li@@if(@@admin_menu::repos@@ == 1){{ class="selected"}}{{}}><a href="/op/admin/repos">Repos</a></li>
9 9 <li@@if(@@admin_menu::ldap@@ == 1){{ class="selected"}}{{}}><a href="/op/admin/ldap">LDAP</a></li> <li@@if(@@admin_menu::ldap@@ == 1){{ class="selected"}}{{}}><a href="/op/admin/ldap">LDAP</a></li>
10 10 <li@@if(@@admin_menu::workers@@ == 1){{ class="selected"}}{{}}><a href="/op/admin/workers">Workers</a></li> <li@@if(@@admin_menu::workers@@ == 1){{ class="selected"}}{{}}><a href="/op/admin/workers">Workers</a></li>
11 <li@@if(@@admin_menu::distros@@ == 1){{ class="selected"}}{{}}><a href="/op/admin/distros">Distributions</a></li>
11 12 <li@@if(@@admin_menu::mails@@ == 1){{ class="selected"}}{{}}><a href="/op/admin/mails">Mails</a></li> <li@@if(@@admin_menu::mails@@ == 1){{ class="selected"}}{{}}><a href="/op/admin/mails">Mails</a></li>
12 13 </ul> </ul>
13 14 </div> </div>
File root/themes/default/admin/plans/list/line.html changed (mode: 100644) (index 4719b12..ade8513)
9 9 <td>@@if(@@disk_mb@@ == 0){{Unlimited}}{{@@disk_mb@@}}</td> <td>@@if(@@disk_mb@@ == 0){{Unlimited}}{{@@disk_mb@@}}</td>
10 10 <td>@@if(@@max_public_repos@@ == 0){{Unlimited}}{{@@max_public_repos@@}}</td> <td>@@if(@@max_public_repos@@ == 0){{Unlimited}}{{@@max_public_repos@@}}</td>
11 11 <td>@@if(@@max_private_repos@@ == 0){{Unlimited}}{{@@max_private_repos@@}}</td> <td>@@if(@@max_private_repos@@ == 0){{Unlimited}}{{@@max_private_repos@@}}</td>
12 <td><a href="/op/admin/plans/edit/@@id@@">[Edit]</a></td>
12 <td><a href="/op/admin/plans/edit/@@id@@"><span class="but">Edit</span></a></td>
13 13 </tr> </tr>
14 14
File root/themes/default/admin/settings/ssh/hints.html changed (mode: 100644) (index 62cbab1..b2a0a6c)
1 1 <br /> <br />
2 AuthorizedKeysCommand - Provides a faster way to authenticate users by ssh protocol (recommended).<br />
2 AuthorizedKeysCommand - Provides a faster way to authenticate users by ssh
3 protocol.<br />
3 4 If you choose 'Yes', RocketGit will not generate the authorized_keys If you choose 'Yes', RocketGit will not generate the authorized_keys
4 file anymore; instead, it will provide a helper to OpenSSH that will look-up directly in
5 the database the fingerprint provided by the user.<br />
5 file anymore; instead, it will provide a helper to OpenSSH that will look-up
6 directly in the database the key provided by the user.<br />
6 7 See 'man sshd_config' for more info.<br /> See 'man sshd_config' for more info.<br />
7 Before choosing 'Yes', you must <b>append</b> to <b>/etc/ssh/sshd_config</b> file the following lines
8 (use tab key to indent):
9 <div class="xcode">
10 Match User rocketgit<br />
11 &nbsp;&nbsp; AuthorizedKeysCommand /usr/sbin/rg_authorize %f<br />
12 &nbsp;&nbsp; AuthorizedKeysCommandUser rocketgit<br />
13 &nbsp;&nbsp; AuthenticationMethods publickey
14 </div>
15 Then, restart the ssh daemon: <b>service sshd restart</b> or <b>systemctl restart sshd</b>.
8 Before choosing 'Yes', you must be sure you restarted sshd after RocketGit
9 installation (<b>service sshd restart</b> or <b>systemctl restart sshd</b>).
File root/themes/default/doc/demo/demos/TODO/1.html changed (mode: 100644) (index 3c16e96..a885a8d)
... ... We assume you already created a repository on rocketgit.com, named
14 14 <b>prj1</b>.<br /> <b>prj1</b>.<br />
15 15
16 16 Now, clone your repository: Now, clone your repository:
17 <div class="term">git clone @@base_url@@@@login_ui::homepage@@/prj1
17 <div class="term">git clone @@base_url@@@@FUNC:UI_LOGIN:homepage@@/prj1
18 18 cd prj1 cd prj1
19 19 </div> </div>
20 20 <br /> <br />
 
... ... setuptools.setup(
45 45 description="A small example package", description="A small example package",
46 46 long_description="bla bla bla", long_description="bla bla bla",
47 47 long_description_content_type="text/markdown", long_description_content_type="text/markdown",
48 url="@@base_url@@@@login_ui::homepage@@/prj1",
48 url="@@base_url@@@@FUNC:UI_LOGIN:homepage@@/prj1",
49 49 packages=setuptools.find_packages(), packages=setuptools.find_packages(),
50 50 classifiers=[ classifiers=[
51 51 "Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
File root/themes/default/doc/demo/demos/artifacts/0/main.html changed (mode: 100644) (index dd2dc04..34d6027)
1 1 <div class="demo_page_title">@@demo::page_name@@</div> <div class="demo_page_title">@@demo::page_name@@</div>
2 2
3 3 This tutorial will teach you how to make available to you and to others This tutorial will teach you how to make available to you and to others
4 the output of running your code (artifacts).<br />
5 For example, you can push your repository and, automatically, generate
6 a .PDF, an archive, a .rpm or a .deb file and then expose them on your
7 repository page.<br />
4 the output generated by running your code.<br />
5 For example, you can push commits to your repository and, automatically,
6 generate a .pdf, an archive, a .rpm or a .deb file and then expose them
7 on your repository page.<br />
8 8 <br /> <br />
9 9
10 Check first the <a href="/op/doc/demo/ci-1" target="_blank">
11 Continuous Integration tutorial</a>
12 to learn the how to trigger a build when you push your code.<br />
10 Check first the
11 <a href="/op/doc/demo/ci-1" target="_blank">Continuous Integration tutorial</a>
12 to learn how to trigger a build when you push your code.<br />
13 13 <br /> <br />
14 14
File root/themes/default/doc/demo/demos/artifacts/blendergraph/main.html changed (mode: 100644) (index d7c5bbe..b51392b)
... ... available for your users just by pushing your Python script.<br />
9 9 <br /> <br />
10 10
11 11 Go to Go to
12 <a href="@@base_url@@@@login_ui::homepage@@/op/repo/create" target="_blank">My repositories / Create</a>
12 <a href="@@base_url@@@@FUNC:UI_LOGIN:homepage@@/op/repo/create" target="_blank">My repositories / Create</a>
13 13 and create a private repository named <b>blendergraph</b>.<br /> and create a private repository named <b>blendergraph</b>.<br />
14 14 <br /> <br />
15 15
16 16 Go to Go to
17 <a href="@@base_url@@@@login_ui::homepage@@/op/settings/wh/add/build/generic" target="_blank">Settings / Webhooks / Add</a>
17 <a href="@@base_url@@@@FUNC:UI_LOGIN:homepage@@/op/settings/wh/add/build/generic" target="_blank">Settings / Webhooks / Add</a>
18 18 to add a webhook. This is the way your code will be run and will to add a webhook. This is the way your code will be run and will
19 19 generate the image when you push into your repository.<br /> generate the image when you push into your repository.<br />
20 20 Set repository filter to <b>blendergraph</b>, add a description, Set repository filter to <b>blendergraph</b>, add a description,
 
... ... cd blendergraph
30 30 </div> </div>
31 31 And change the origin remote to yours: And change the origin remote to yours:
32 32 <div class="term">git remote remove origin <div class="term">git remote remove origin
33 git remote add origin @@base_url@@@@login_ui::homepage@@/blendergraph
33 git remote add origin @@base_url@@@@FUNC:UI_LOGIN:homepage@@/blendergraph
34 34 </div> </div>
35 35 <br /> <br />
36 36
File root/themes/default/doc/demo/demos/artifacts/define/main.html changed (mode: 100644) (index feaf1c2..f46056a)
1 1 <div class="demo_page_title">@@demo::page_name@@</div> <div class="demo_page_title">@@demo::page_name@@</div>
2 2
3 3 Defining artifacts is a very simple operation. Defining artifacts is a very simple operation.
4 To achieve this, you need to have a file named <b>artifacts</b>
5 in <b>rocketgit</b> directory, in your project directory.<br />
6 You can have this file in git or you can generate it at build time.<br />
4 To achieve this, you need to have a file named
5 <b>rocketgit</b>/<b>artifacts</b>
6 inside your project directory.<br />
7 You can keep this file in git or you can generate it at build time
8 - it is your choice.<br />
7 9 <br /> <br />
8 10
9 11 The format of the file is:<br /> The format of the file is:<br />
10 <div class="term">local_file_path
12 <div class="term">local_path
11 13 map = where to map the file in the artifacts web space map = where to map the file in the artifacts web space
12 map = another place where to map the same file
13 14 content_type = put_here_a_content_type # optional content_type = put_here_a_content_type # optional
14 regex = \.(png|gif|jpg)$ # optional, used only if local_file_path ends with '/'
15 regex = \.(png|gif|jpg)$ # optional, used only if local_path ends with '/' (is a directory)
15 16 </div> </div>
16 17
17 <b>local_file_path</b> is a file or a directory relative to the repository root
18 <b>local_path</b> is a file or a directory relative to the repository root
18 19 directory. Its use is to specify where to look for files. directory. Its use is to specify where to look for files.
19 20 If it is a directory, you must append a <b>/</b> char.<br /> If it is a directory, you must append a <b>/</b> char.<br />
20 21 Indent the attributes with any amount of spaces/tabs.<br /> Indent the attributes with any amount of spaces/tabs.<br />
22
21 23 The <b>map</b> attribute will map your artifacts to a hierarchy which will be The <b>map</b> attribute will map your artifacts to a hierarchy which will be
22 available in <b>Artifacts</b> sectorion of your repository.
23 If the <b>map</b> line ends with '/' char, the file name will not be changed.<br />
24 Inside the <b>map</b> line, you can use the following variables, which will
24 available in <b>Artifacts</b> section of your repository.
25 If the <b>map</b> line ends with the '/' char, the original file name will
26 be appended to it. Else, the name will be changed.<br />
27 For the <b>map</b> line, you can use the following variables, which will
25 28 be replaced by their values: be replaced by their values:
26 29 <ul> <ul>
27 30 <li>env - The environment string (example: debian-10-amd64)</li> <li>env - The environment string (example: debian-10-amd64)</li>
28 31 <li>head - hash of the last commit (example: 58139c7a3b50e08815d5ae97dd6d15dcbfd96000)</li> <li>head - hash of the last commit (example: 58139c7a3b50e08815d5ae97dd6d15dcbfd96000)</li>
29 <li>refname - referance name where the commits were pushed (example: ref/heads/main)</li>
32 <li>refname - reference name where the commits were pushed (example: ref/heads/main)</li>
30 33 <li>refname_short - short reference name where the commits were pushed (example: main)</li> <li>refname_short - short reference name where the commits were pushed (example: main)</li>
31 34 <li>hook_id - The id of the hook which triggered the build (example: 734)</li> <li>hook_id - The id of the hook which triggered the build (example: 734)</li>
32 35 <li>uid - The uid of the user which pushed (example: 34)</li> <li>uid - The uid of the user which pushed (example: 34)</li>
33 <li>original_path - the local_file_path string</li>
34 <li>original_path_no_ext - the local_file_path string, but without extention</li>
36 <li>original_path - the local_path string</li>
37 <li>original_path_no_ext - the local_path string, but without extension</li>
35 38 </ul> </ul>
36 39
37 40 Variables must be enclosed between <b>@@</b> chars (example: @@env@@).<br /> Variables must be enclosed between <b>@@</b> chars (example: @@env@@).<br />
41 You can have as many <b>map</b> lines as you need.<br />
38 42 <br /> <br />
39 43
40 Optionaly, you can add <b>regex</b> attribute to filter what files you want to
41 declare as artifacts. It makes sense when <b>local_file_path</b>
44 Optionaly, you can add the <b>regex</b> attribute to filter what files you
45 want to declare as artifacts. It makes sense when <b>local_path</b>
42 46 is a directory.<br /> is a directory.<br />
47 If <b>regex</b> is missing, all files will be processed.<br />
43 48 <br /> <br />
44 49
45 Again, optionaly, you can also set a proper content type by adding
50 Again optionaly, you can also set a proper content type by adding
46 51 a <b>content_type</b> attribute. a <b>content_type</b> attribute.
47 It will be usefull when someone will try to download your artifacts,
52 It is useful when someone will try to download your artifacts
48 53 to allow a proper application to be used to open the file. to allow a proper application to be used to open the file.
49 54 If not specified, it will be autodetected.<br /> If not specified, it will be autodetected.<br />
50 55 <br /> <br />
 
... ... to the server in the directory <b>dir1/debian-10-amd64/main/my_cool_script.sh</b
71 76 Also, it will upload the file <b>my_docs.pdf</b> in two places, changing Also, it will upload the file <b>my_docs.pdf</b> in two places, changing
72 77 the name at the same time.<br /> the name at the same time.<br />
73 78 Finally, it will scan the root project directory (<b>./</b>), select all files Finally, it will scan the root project directory (<b>./</b>), select all files
74 with <b>.xyz</b> extention and set the content type to <b>application/xyz</b>.
79 with <b>.xyz</b> extension and set the content type to <b>application/xyz</b>.
75 80 Please note that the search is not recursive: only the files in the specified Please note that the search is not recursive: only the files in the specified
76 81 directory are tested. directory are tested.
File root/themes/default/doc/demo/demos/artifacts/rights/main.html added (mode: 100644) (index 0000000..652351b)
1 <div class="demo_page_title">@@demo::page_name@@</div>
2
3 If your repository is public, by default the artifacts are visible
4 to anyone.<br />
5
6 If is private, you may need to grant rights
7 for others to be able to access your artifacts.<br />
8
9 For this, you need to go to your repository page, follow the <b>Admin</b>
10 menu, and then the <b>Repo rights</b> menu. There you can grant
11 the <b>Access artifacts</b> right to any user/IP address combination.
12
File root/themes/default/doc/demo/demos/artifacts/rights/name.html added (mode: 100644) (index 0000000..6a313fe)
1 Granting rights to the artifacts
File root/themes/default/doc/demo/demos/artifacts/see/main.html changed (mode: 100644) (index 5cf807a..d020ad3)
1 1 <div class="demo_page_title">@@demo::page_name@@</div> <div class="demo_page_title">@@demo::page_name@@</div>
2 2
3 3 Now, that the artifacts were defined, at the next run of the hook, Now, that the artifacts were defined, at the next run of the hook,
4 the artifacts file (<b>rocketgit/artifacts</b>) file will be taken in
4 the artifacts file (<b>rocketgit/artifacts</b>) will be taken in
5 5 consideration and the artifacts will be upload to the server.<br /> consideration and the artifacts will be upload to the server.<br />
6 6 <br /> <br />
7 7
File root/themes/default/doc/demo/demos/ci-1/python1/main.html changed (mode: 100644) (index e53a384..c778e02)
... ... Copy the API token to clipboard because you will need it later.<br />
24 24 <br /> <br />
25 25
26 26 Clone your repository: Clone your repository:
27 <div class="term">git clone @@base_url@@@@login_ui::homepage@@/prj1
27 <div class="term">git clone @@base_url@@@@FUNC:UI_LOGIN:homepage@@/prj1
28 28 cd prj1 cd prj1
29 29 </div> </div>
30 30 <br /> <br />
 
... ... setuptools.setup(
52 52 description="A small example package", description="A small example package",
53 53 long_description="bla bla bla", long_description="bla bla bla",
54 54 long_description_content_type="text/markdown", long_description_content_type="text/markdown",
55 url="@@base_url@@@@login_ui::homepage@@/prj1",
55 url="@@base_url@@@@FUNC:UI_LOGIN:homepage@@/prj1",
56 56 packages=setuptools.find_packages(), packages=setuptools.find_packages(),
57 57 classifiers=[ classifiers=[
58 58 "Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
File root/themes/default/doc/demo/demos/ci-1/trigger/main.html changed (mode: 100644) (index 5df8d75..492a05a)
... ... You will have to add, commit and push these files:
9 9 <div class="term">chmod a+x *.sh <div class="term">chmod a+x *.sh
10 10 git add *.sh git add *.sh
11 11 git commit -m "First commit" git commit -m "First commit"
12 git push origin master
12 git push origin main
13 13 </div> </div>
14 14
15 15 If the push was done successfully, the hook will be triggered in background. If the push was done successfully, the hook will be triggered in background.
 
... ... git commit -m "Added README file"
53 53 </div> </div>
54 54
55 55 Now, we will push again: Now, we will push again:
56 <div class="term">git push origin master
56 <div class="term">git push origin main
57 57 </div> </div>
58 58
59 59 Now, the "Last output" row will be: Now, the "Last output" row will be:
File root/themes/default/doc/demo/list.html changed (mode: 100644) (index 55977e0..5fe72c1)
18 18 <a href="/op/doc/demo/artifacts"> <a href="/op/doc/demo/artifacts">
19 19 <div class="island"> <div class="island">
20 20 <div class="island_title">Artifacts</div> <div class="island_title">Artifacts</div>
21 Generate content and make it available
21 Automatically generate content and make it available
22 </div>
23 </a>
24
25 <a href="/op/doc/demo/packages">
26 <div class="island">
27 <div class="island_title">Distribution packages</div>
28 Generate packages and repositories
22 29 </div> </div>
23 30 </a> </a>
24 31 </div> </div>
File root/themes/default/features.html changed (mode: 100644) (index 6d9ea37..c9cdab3)
16 16 <div class="island"> <div class="island">
17 17 <div class="island_title">Respecting your privacy</div> <div class="island_title">Respecting your privacy</div>
18 18 We are not selling (or giving for free) any of your data or your actions. We are not selling (or giving for free) any of your data or your actions.
19 In a world were selling data is a rule, we strongly refuse to betray our users.
19 We are not using your data for machine-learning training.
20 In a world where selling data is a rule, we <b>strongly</b> refuse to
21 betray our users.
20 22 </div> </div>
21 23
22 24 <div class="island"> <div class="island">
 
37 39 <div class="island_title">Ready to use</div> <div class="island_title">Ready to use</div>
38 40 You can just open your web browser and start using You can just open your web browser and start using
39 41 RocketGit, but even if you choose to install RocketGit on your RocketGit, but even if you choose to install RocketGit on your
40 machine you can have it up and running in under 2 minutes. You
41 can say goodbye to lengthy and boring installations!
42 machine you can have it up and running in under 2 minutes.
43 You can say goodbye to lengthy and boring installations!
42 44 </div> </div>
43 45
44 46 <div class="island"> <div class="island">
File root/themes/default/hints/rights/edit_pkgrepo.html added (mode: 100644) (index 0000000..50bed8b)
1 When you give rights to a package repository, you automatically grant them
2 to all package subrepositories.<br />
File root/themes/default/hints/rights/edit_repo.html added (mode: 100644) (index 0000000..a254abe)
1 <br />
2 Here you can add generic rights for your co-workers / friends.<br />
File root/themes/default/hints/rights/edit_repo_path.html added (mode: 100644) (index 0000000..3682d72)
1 <br />
2 Examples:
3 <table>
4 <thead>
5 <tr>
6 <th>User</th>
7 <th>Path</th>
8 <th>Right</th>
9 <th>Description</th>
10 </tr>
11 </thead>
12
13 <tbody>
14 <tr>
15 <td>*</td><td>.*\.exe</td><td>no rights selected</td>
16 <td>No user is allowed to push .exe files</td>
17 </tr>
18
19 <tr>
20 <td>coworker</td><td>^doc/.*</td><td>Push</td>
21 <td>Only user <i>coworker</i> is allowed to push commits that
22 alter some files/dirs in root doc folder</td>
23 </tr>
24
25 <tr>
26 <td>*</td><td>^users/@USER@/</td><td>Push</td>
27 <td>Any user can push to his folder inside '/users/' (@USER@ will be
28 replaced with the username of the connecting user at the 'push' time).</td>
29 </tr>
30
31 <tr>
32 <td>*</td><td>empty</td><td>no rights selected</td>
33 <td>This is a drop all rule. Can be used, for example, to block
34 all the rules that might follow.</td>
35 </tr>
36 </tbody>
37 </table>
File root/themes/default/hints/rights/edit_repo_refs.html added (mode: 100644) (index 0000000..3378a38)
1 <br />
2 Bad whitespace: if checked, commits with mixed tabs and spaces, trailing
3 spaces/tabs etc. will be allowed.<br />
4 <br />
5
6 Anonymous push: any random person can anonymously push changes that will be
7 automatically transformed in a merge request. This allows users who does not
8 have an account here to be able to easy contribute to your project.
9 See <a href="/op/features/anonpush" target="_blank">here</a> for more info.<br />
10 <br />
11
12 If your 'Reference' field does not start with '/', '/refs/heads/' will be
13 automatically prepended.<br />
14 <br />
15
16 Examples:<br />
17 <table>
18 <thead>
19 <tr>
20 <th>User</th>
21 <th>Reference</th>
22 <th>Rights</th>
23 <th>Description</th>
24 </tr>
25 </thead>
26
27 <tbody>
28 <tr>
29 <td>fred</td><td>users/secret</td><td>no rights selected</td>
30 <td>User fred cannot push into /refs/heads/users/secret reference</td>
31 </tr>
32 <tr>
33 <td>coworker</td><td>/refs/heads/x</td><td>Fetch,Push</td>
34 <td>User <b>coworker</b> is allowed to fetch and push into branch x.</td>
35 </tr>
36
37 <tr>
38 <td>user1</td><td>devel-.*</td><td>Non fast-forward</td>
39 <td>user1 is allowed to force push (non fast-forward) in any branch
40 that starts with 'devel-', for example 'devel-1.0'.</td>
41 </tr>
42
43 <tr>
44 <td>*</td><td>users/@USER@/</td><td>Push</td>
45 <td>Any user can push to his private ref
46 '/refs/heads/users/username_of_the_pushing_user' (@USER@ is replaced
47 with the username of the connecting user at the push time).</td>
48 </tr>
49
50 <tr>
51 <td>*</td><td>empty</td><td>no rights selected</td>
52 <td>This is a drop all rule. Can be used, for example, to block
53 all the rules that might follow.</td>
54 </tr>
55 </tbody>
56 </table>
File root/themes/default/hints/rights/edit_rights.html added (mode: 100644) (index 0000000..7112c88)
1 <br />
2 IP can be empty, meaning any IP will match.
3 You can use both IPv4 and IPv6. Some examples: 4.4.4.4, 1.2.3.0/24,
4 2001:6:3456::/64.<br />
5
6 Priorities are used to order the rights. They are evaluated top to bottom.
7 and must be greater than 10 and lower than 30000.<br />
8
9 To add a deny rule, just do not select any right; if matched, the evaluation
10 of the following rules will stop.<br />
File root/themes/default/index.html changed (mode: 100644) (index 4f338a1..1e99874)
18 18 </div> </div>
19 19
20 20 <div class="main_menu"> <div class="main_menu">
21 @@if(@@login_ui::uid@@ != 0){{
22 <a href="@@login_ui::homepage@@">Me</a>
21 @@if(@@FUNC:UI_LOGIN:uid@@ != 0){{
22 <a href="@@FUNC:UI_LOGIN:homepage@@">Me</a>
23 23 }} }}
24 24 <a href="/op/features">Features</a> <a href="/op/features">Features</a>
25 25 <a href="/op/discover">Discover</a> <a href="/op/discover">Discover</a>
 
27 27 <a href="/op/pricing">Pricing</a> <a href="/op/pricing">Pricing</a>
28 28 <a href="/op/tos">ToS</a> <a href="/op/tos">ToS</a>
29 29 <a href="/op/donate">Donate</a> <a href="/op/donate">Donate</a>
30 @@if(@@login_ui::uid@@ != 0){{
31 @@if(@@login_ui::is_admin@@ == 0){{<a href="/op/suggestion">Suggestion</a>}}
32 @@if(@@login_ui::is_admin@@ == 0){{<a href="/op/repo">My repositories</a>}}
30 @@if(@@FUNC:UI_LOGIN:uid@@ != 0){{
31 @@if(@@FUNC:UI_LOGIN:is_admin@@ == 0){{<a href="/op/suggestion">Suggestion</a>}}
32 @@if(@@FUNC:UI_LOGIN:is_admin@@ == 0){{<a href="/op/repo">My repositories</a>}}
33 33 <a href="/op/settings">Settings</a> <a href="/op/settings">Settings</a>
34 @@if(@@login_ui::is_admin@@ == 1){{<a href="/op/admin">Admin</a>}}
34 @@if(@@FUNC:UI_LOGIN:is_admin@@ == 1){{<a href="/op/admin">Admin</a>}}
35 35 <a href="/op/logout?token=@@logout_token@@">Logout</a> <a href="/op/logout?token=@@logout_token@@">Logout</a>
36 36 }}{{ }}{{
37 37 <a href="/op/create_account">Create account</a> <a href="/op/create_account">Create account</a>
 
56 56 </div> </div>
57 57 </div> </div>
58 58
59 <div class="footer_info">
60 <a href="/op/stats">Statistics</a><br />
59 <div class="footer_info footer_menu">
60 <a href="/op/pkg_repos">Package repositories</a><br />
61 61 <a href="/op/doc/demo">Tutorials</a><br /> <a href="/op/doc/demo">Tutorials</a><br />
62 62 <a href="/op/doc/api">API</a><br /> <a href="/op/doc/api">API</a><br />
63 63 <a href="/op/doc/compare">Comparison</a><br /> <a href="/op/doc/compare">Comparison</a><br />
64 <a href="/op/stats">Statistics</a><br />
64 65 <a href="/op/doc/thanks">Thanks</a> <a href="/op/doc/thanks">Thanks</a>
65 66 </div> </div>
66 67
 
77 78 rocketgit.com site is operated by Embedromix SRL,<br /> rocketgit.com site is operated by Embedromix SRL,<br />
78 79 CIF 13505234, J08/979/2000, Brasov, Romania.<br /> CIF 13505234, J08/979/2000, Brasov, Romania.<br />
79 80 All data is stored in Germany and Romania only (AFAIK).<br /> All data is stored in Germany and Romania only (AFAIK).<br />
80 <b>We are not selling any information about you.</b>
81 <b>We are not selling any information about you or your data.</b><br />
82 <b>We are not using your repos for machine-learning training.</b>
81 83 </div> </div>
82 84 </div> </div>
83 85
84 86 </div> </div>
85 87
88 @@FUNC:RG_DEBUG_HTML@@
89
86 90 </body> </body>
87 91 </html> </html>
File root/themes/default/mail/user/econf.body.txt changed (mode: 100644) (index f904f3c..c4806a4)
1 Dear @@if("@@ui::realname@@" != ""){{@@ui::realname@@}}{{@@ui::username@@}},
1 Dear @@if("@@ui_login::realname@@" != ""){{@@ui_login::realname@@}}{{@@ui_login::username@@}},
2 2
3 3 Please confirm your e-mail address by clicking the link below: Please confirm your e-mail address by clicking the link below:
4 @@base_url@@/op/confirm/@@ui::confirm_token@@
4 @@base_url@@/op/confirm/@@ui_login::confirm_token@@
5 5
6 6 Thank you! Thank you!
7 7
File root/themes/default/mail/user/welcome.body.txt changed (mode: 100644) (index c2f95d1..a846e8c)
1 Dear @@if("@@ui::realname@@" != ""){{@@ui::realname@@}}{{@@ui::username@@}},
1 Dear @@if("@@ui_login::realname@@" != ""){{@@ui_login::realname@@}}{{@@ui_login::username@@}},
2 2
3 3 Thank you for choosing RocketGit as your hosting solution. Thank you for choosing RocketGit as your hosting solution.
4 4 We are happy to host your projects. We are happy to host your projects.
 
... ... your e-mail address, by clicking the link below:
10 10 In order to be able to receive notifications and to recover a lost password, In order to be able to receive notifications and to recover a lost password,
11 11 please confirm your e-mail address, by clicking the link below: please confirm your e-mail address, by clicking the link below:
12 12 }} }}
13 @@base_url@@/op/confirm/@@ui::confirm_token@@
13 @@base_url@@/op/confirm/@@ui_login::confirm_token@@
14 14
15 15 Enjoy your stay! Enjoy your stay!
16 16
File root/themes/default/main.css changed (mode: 100644) (index aaeb208..af2010f)
... ... x.buttons form input[type="submit"], x.buttons form input, x.buttons form select
583 583 background-color: #ddd; background-color: #ddd;
584 584 } }
585 585
586 .gravatar {
587 display: block;
588 }
586 .gravatar {}
589 587
590 588 .small { .small {
591 589 margin: 0; margin: 0;
 
... ... x.buttons form input[type="submit"], x.buttons form input, x.buttons form select
659 657 margin-top: 7pt; margin-top: 7pt;
660 658 max-width: 600pt; max-width: 600pt;
661 659 } }
662 .demo_content ul li { margin-left: 15px }
660 .demo_content ul li { margin-left: 25pt }
663 661
664 662 .demo_page_title { .demo_page_title {
665 663 font-size: 12pt; font-size: 12pt;
 
... ... summary { padding-left: 3pt }
722 720 .pkg details:not(:first-child) { .pkg details:not(:first-child) {
723 721 margin-top: 3pt; margin-top: 3pt;
724 722 } }
723
724 .but {
725 color: #f00;
726 padding: 0 5pt;
727 font-size: 12pt;
728 cursor: pointer;
729 border: 1px solid #999;
730 margin: 5pt;
731 }
732
733 .but_row {
734 color: #f00;
735 padding: 0 5pt;
736 font-size: 12pt;
737 cursor: pointer;
738 border: 1px solid #999;
739 }
740
741 .pkg_repo_title {
742 color: #fff;
743 text-shadow: 0 0 2px #000;
744 font-size: 15pt;
745 font-weight: bold;
746 border-bottom: 2px solid #f00;
747 }
File root/themes/default/repo/artifacts/list/header.html changed (mode: 100644) (index b20c9f2..ccfd871)
5 5 <tr> <tr>
6 6 <th>Type</th> <th>Type</th>
7 7 <th>Original file</th> <th>Original file</th>
8 <th>File</th>
8 <th>Dir / file</th>
9 9 <th>Upload time (UTC)</th> <th>Upload time (UTC)</th>
10 10 <th>Size</th> <th>Size</th>
11 11 <th>Content type</th> <th>Content type</th>
File root/themes/default/repo/artifacts/list/line.html changed (mode: 100644) (index 5ef2586..d1b2e36)
1 1 <tr> <tr>
2 2 <td>@@if(@@is_dir@@ == 1){{dir}}{{file}}</td> <td>@@if(@@is_dir@@ == 1){{dir}}{{file}}</td>
3
4 3 <td>@@original_path@@</td> <td>@@original_path@@</td>
5
6 <td>
7 @@if(@@is_dir@@ == 1){{
8 <a href="@@url_repo@@/artifacts/list/@@e_path_file@@">@@file@@</a>
9 }}{{
10 @@file@@
11 }}
12 </td>
13
4 <td>@@if(@@is_dir@@ == 1){{<a href="@@url_repo@@/artifacts/list/@@e_path_file@@">@@file@@</a>}}{{@@file@@}}</td>
14 5 <td>@@upload_ts_nice@@</td> <td>@@upload_ts_nice@@</td>
15 6 <td>@@size_nice@@</td> <td>@@size_nice@@</td>
16
17 7 <td>@@content_type@@</td> <td>@@content_type@@</td>
18
19 <td>
20 @@if(@@is_dir@@ == 0){{
21 <a href="@@url_repo@@/artifacts/download/@@e_path_file@@">Download</a>
22 }}
23 </td>
8 <td>@@if(@@is_dir@@ == 0){{<a href="@@url_repo@@/artifacts/download/@@e_path_file@@">Download</a>}}</td>
24 9 </tr> </tr>
25 10
File root/themes/default/repo/bug/search/list/line.html changed (mode: 100644) (index bb38392..d22fdf5)
1 <li><a href="@@url_repo@@/bug/list/@@URL_ESCAPE:name@@">@@name@@</a></li>
1 <li><a href="@@url_repo@@/bug/list/@@name@@">@@name@@</a></li>
File root/themes/default/repo/main.html changed (mode: 100644) (index fca5f6f..23f3b40)
2 2 <div class="repo_header"> <div class="repo_header">
3 3 <div> <div>
4 4 <div class="repo_title"> <div class="repo_title">
5 <a href="@@url_user@@">@@page_ui::username@@</a> / <a href="@@url_repo@@">@@ri::name@@</a>
5 <a href="@@url_user@@">@@FUNC:UI_PAGE:username@@</a> / <a href="@@url_repo@@">@@ri::name@@</a>
6 6 <span class="repo_title_info"> <span class="repo_title_info">
7 (#@@ri::repo_id@@)
8 7 (@@if(@@ri::public@@ == 1){{public}}{{private}}) (@@if(@@ri::public@@ == 1){{public}}{{private}})
9 8 (License: @@if("@@ri::license@@" == ""){{Unspecified}}{{@@ri::license@@}}) (License: @@if("@@ri::license@@" == ""){{Unspecified}}{{@@ri::license@@}})
10 9 (since @@ri::itime_nice@@) (since @@ri::itime_nice@@)
 
20 19
21 20 <div class="menu menu2"> <div class="menu menu2">
22 21 <ul> <ul>
23 <li@@if(@@per_repo_menu::history@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/history">Last events</a></li>
24 <li@@if(@@per_repo_menu::source@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/source">Source</a></li>
25 <li@@if(@@per_repo_menu::mr@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/mr">Merge requests</a></li>
26 <li@@if(@@per_repo_menu::bug@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/bug">Bugs</a></li>
27 <li@@if(@@per_repo_menu::artifacts@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/artifacts">Artifacts</a></li>
28 <!-- disabled for now for performance issues <li@@if(@@per_repo_menu::stats@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/stats">Stats</a></li> -->
29 @@if(@@can_admin@@ == 1){{<li@@if(@@per_repo_menu::admin@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/admin">Admin</a></li>}}{{}}
22 <li@@if(@@per_repo_menu@@ == history){{ class="selected"}}{{}}><a href="@@url_repo@@/history">Last events</a></li>
23 <li@@if(@@per_repo_menu@@ == source){{ class="selected"}}{{}}><a href="@@url_repo@@/source">Source</a></li>
24 <li@@if(@@per_repo_menu@@ == mr){{ class="selected"}}{{}}><a href="@@url_repo@@/mr">Merge requests</a></li>
25 <li@@if(@@per_repo_menu@@ == bug){{ class="selected"}}{{}}><a href="@@url_repo@@/bug">Bugs</a></li>
26 <li@@if(@@per_repo_menu@@ == artifacts){{ class="selected"}}{{}}><a href="@@url_repo@@/artifacts">Artifacts</a></li>
27 <li@@if(@@per_repo_menu@@ == pkg){{ class="selected"}}{{}}><a href="@@url_repo@@/pkg">Packages</a></li>
28 <!-- disabled for now for performance issues <li@@if(@@per_repo_menu@@ == stats){{ class="selected"}}{{}}><a href="@@url_repo@@/stats">Stats</a></li> -->
29 @@if(@@can_admin@@ == 1){{<li@@if(@@per_repo_menu@@ == admin){{ class="selected"}}{{}}><a href="@@url_repo@@/admin">Admin</a></li>}}{{}}
30 30 </ul> </ul>
31 31 </div> </div>
32 32 @@menu_repo_level2@@ @@menu_repo_level2@@
File root/themes/default/repo/menu.html changed (mode: 100644) (index eea31e0..548322e)
5 5 <li@@if(@@repo_menu::list@@ == 1){{ class="selected"}}> <li@@if(@@repo_menu::list@@ == 1){{ class="selected"}}>
6 6 <a href="/op/repo/list">List</a> <a href="/op/repo/list">List</a>
7 7 </li> </li>
8 @@if(@@login_ui::uid@@ != 0){{
8 @@if(@@FUNC:UI_LOGIN:uid@@ != 0){{
9 9 <li@@if(@@repo_menu::create@@ == 1){{ class="selected"}}> <li@@if(@@repo_menu::create@@ == 1){{ class="selected"}}>
10 10 <a href="/op/repo/create">Create</a> <a href="/op/repo/create">Create</a>
11 11 </li> </li>
File root/themes/default/rights/delete_ok.html added (mode: 100644) (index 0000000..8891bc7)
1 <div class="mess ok">
2 The rights have been successfully deleted.
3 </div>
File root/themes/default/rights/deny.html added (mode: 100644) (index 0000000..5c46798)
1 you are not allowed to grant rights
File root/themes/default/rights/form_repo.html copied from file root/themes/default/rights/form_pkgrepo.html (similarity 83%) (mode: 100644) (index 9786fec..f37fb92)
2 2
3 3 <div class="formarea formarea_small"> <div class="formarea formarea_small">
4 4
5 <div class="formarea_title">@@if(@@right_id@@ == 0){{Grant pkg repo rights}}{{Edit pkg repo rights}}</div>
5 <div class="formarea_title">@@if(@@right_id@@ == 0){{Grant repo rights}}{{Edit repo rights}}</div>
6 6
7 7 @@grant_errmsg@@ @@grant_errmsg@@
8 8
9 <form method="post" action="/op/settings/packages/repo/rights/@@pkg_repo_info::id@@">
9 <form method="post" action="@@url_repo@@/admin/repo_rights">
10 10 <input type="hidden" name="right_id" value="@@right_id@@" /> <input type="hidden" name="right_id" value="@@right_id@@" />
11 11 <input type="hidden" name="grant" value="1" /> <input type="hidden" name="grant" value="1" />
12 12 <input type="hidden" name="token" value="@@rg_form_token@@" /> <input type="hidden" name="token" value="@@rg_form_token@@" />
File root/themes/default/rights/form_repo_path.html copied from file root/themes/default/rights/form_pkgrepo.html (similarity 77%) (mode: 100644) (index 9786fec..a93c4bb)
2 2
3 3 <div class="formarea formarea_small"> <div class="formarea formarea_small">
4 4
5 <div class="formarea_title">@@if(@@right_id@@ == 0){{Grant pkg repo rights}}{{Edit pkg repo rights}}</div>
5 <div class="formarea_title">@@if(@@right_id@@ == 0){{Grant path rights}}{{Edit path rights}}</div>
6 6
7 7 @@grant_errmsg@@ @@grant_errmsg@@
8 8
9 <form method="post" action="/op/settings/packages/repo/rights/@@pkg_repo_info::id@@">
9 <form method="post" action="@@url_repo@@/admin/path_rights">
10 10 <input type="hidden" name="right_id" value="@@right_id@@" /> <input type="hidden" name="right_id" value="@@right_id@@" />
11 11 <input type="hidden" name="grant" value="1" /> <input type="hidden" name="grant" value="1" />
12 12 <input type="hidden" name="token" value="@@rg_form_token@@" /> <input type="hidden" name="token" value="@@rg_form_token@@" />
 
16 16 <input type="text" name="username" id="username" value="@@username@@" size="50" /> <input type="text" name="username" id="username" value="@@username@@" size="50" />
17 17 </p> </p>
18 18
19 <p>
20 <label for="ref">Path (regexp)</label><br />
21 <input type="text" name="misc" id="ref" value="@@misc@@" />
22 </p>
23
19 24 <fieldset> <fieldset>
20 25 <legend>Rights</legend> <legend>Rights</legend>
21 26 @@rights_checkboxes@@ @@rights_checkboxes@@
File root/themes/default/rights/form_repo_refs.html copied from file root/themes/default/rights/form_pkgrepo.html (similarity 76%) (mode: 100644) (index 9786fec..ef2b133)
2 2
3 3 <div class="formarea formarea_small"> <div class="formarea formarea_small">
4 4
5 <div class="formarea_title">@@if(@@right_id@@ == 0){{Grant pkg repo rights}}{{Edit pkg repo rights}}</div>
5 <div class="formarea_title">@@if(@@right_id@@ == 0){{Grant refs rights}}{{Edit refs rights}}</div>
6 6
7 7 @@grant_errmsg@@ @@grant_errmsg@@
8 8
9 <form method="post" action="/op/settings/packages/repo/rights/@@pkg_repo_info::id@@">
9 <form method="post" action="@@url_repo@@/admin/refs_rights">
10 10 <input type="hidden" name="right_id" value="@@right_id@@" /> <input type="hidden" name="right_id" value="@@right_id@@" />
11 11 <input type="hidden" name="grant" value="1" /> <input type="hidden" name="grant" value="1" />
12 12 <input type="hidden" name="token" value="@@rg_form_token@@" /> <input type="hidden" name="token" value="@@rg_form_token@@" />
 
16 16 <input type="text" name="username" id="username" value="@@username@@" size="50" /> <input type="text" name="username" id="username" value="@@username@@" size="50" />
17 17 </p> </p>
18 18
19 <p>
20 <label for="ref">Reference (regexp, leave empty for any)</label><br />
21 <input type="text" name="misc" id="ref" value="@@misc@@" />
22 </p>
23
19 24 <fieldset> <fieldset>
20 25 <legend>Rights</legend> <legend>Rights</legend>
21 26 @@rights_checkboxes@@ @@rights_checkboxes@@
File root/themes/default/rights/grant_ok.html added (mode: 100644) (index 0000000..8170801)
1 <div class="mess ok">
2 The rights have been successfully granted.
3 </div>
File root/themes/default/rights/invalid_user.html added (mode: 100644) (index 0000000..239f473)
1 invalid user
File root/themes/default/rights/list_repo/footer.html copied from file root/themes/default/admin/ldap/list/footer.html (similarity 100%)
File root/themes/default/rights/list_repo/header.html copied from file root/themes/default/rights/list_pkgrepo/header.html (similarity 100%)
File root/themes/default/rights/list_repo/line.html copied from file root/themes/default/rights/list_pkgrepo/line.html (similarity 64%) (mode: 100644) (index a1da39f..a17ebf9)
7 7 <td>@@ip_nice@@</td> <td>@@ip_nice@@</td>
8 8 <td>@@rights_text@@</td> <td>@@rights_text@@</td>
9 9 <td><small>@@description_nlbr@@</small></td> <td><small>@@description_nlbr@@</small></td>
10 <td>@@if(@@can_be_deleted@@ == 1){{<a href="/op/settings/packages/repo/rights/@@pkg_repo_info::id@@/?edit_id=@@right_id@@"><span class="but">Edit</span></a>}}{{N/A}}</td>
10 <td>@@if(@@can_be_deleted@@ == 1){{<a href="@@url_repo@@/admin/repo_rights?edit_id=@@right_id@@"><span class="but">Edit</span></a>}}{{N/A}}</td>
11 11 </tr> </tr>
File root/themes/default/rights/list_repo/nodata.html copied from file root/themes/default/doc/demo/toc/nodata.html (similarity 100%)
File root/themes/default/rights/list_repo_path/footer.html copied from file root/themes/default/admin/ldap/list/footer.html (similarity 100%)
File root/themes/default/rights/list_repo_path/header.html copied from file root/themes/default/rights/list_pkgrepo/header.html (similarity 78%) (mode: 100644) (index ca45be0..2b17f40)
1 1 @@list_errmsg@@ @@list_errmsg@@
2 2
3 <form method="post" action="@@url_repo@@/admin/repo_rights" class="form_table">
3 <form method="post" action="@@url_repo@@/admin/path_rights" class="form_table">
4 4 <input type="hidden" name="delete" value="1" /> <input type="hidden" name="delete" value="1" />
5 5 <input type="hidden" name="token" value="@@rg_form_token@@" /> <input type="hidden" name="token" value="@@rg_form_token@@" />
6 6
 
14 14 <th>Date (UTC)</th> <th>Date (UTC)</th>
15 15 <th>User</th> <th>User</th>
16 16 <th>IP</th> <th>IP</th>
17 <th>Repo rights</th>
17 <th>Path</th>
18 <th>Path rights</th>
18 19 <th>Description</th> <th>Description</th>
19 20 <th>Operations</th> <th>Operations</th>
20 21 </tr> </tr>
File root/themes/default/rights/list_repo_path/line.html copied from file root/themes/default/rights/list_pkgrepo/line.html (similarity 64%) (mode: 100644) (index a1da39f..9d9cfa8)
5 5 <td>@@itime_text@@</td> <td>@@itime_text@@</td>
6 6 <td>@@username@@</td> <td>@@username@@</td>
7 7 <td>@@ip_nice@@</td> <td>@@ip_nice@@</td>
8 <td>@@misc@@</td>
8 9 <td>@@rights_text@@</td> <td>@@rights_text@@</td>
9 10 <td><small>@@description_nlbr@@</small></td> <td><small>@@description_nlbr@@</small></td>
10 <td>@@if(@@can_be_deleted@@ == 1){{<a href="/op/settings/packages/repo/rights/@@pkg_repo_info::id@@/?edit_id=@@right_id@@"><span class="but">Edit</span></a>}}{{N/A}}</td>
11 <td>@@if(@@can_be_deleted@@ == 1){{<a href="@@url_repo@@/admin/path_rights?edit_id=@@right_id@@"><span class="but">Edit</span></a>}}{{N/A}}</td>
11 12 </tr> </tr>
File root/themes/default/rights/list_repo_path/nodata.html copied from file root/themes/default/doc/demo/toc/nodata.html (similarity 100%)
File root/themes/default/rights/list_repo_refs/footer.html copied from file root/themes/default/admin/ldap/list/footer.html (similarity 100%)
File root/themes/default/rights/list_repo_refs/header.html copied from file root/themes/default/rights/list_pkgrepo/header.html (similarity 78%) (mode: 100644) (index ca45be0..afc810c)
1 1 @@list_errmsg@@ @@list_errmsg@@
2 2
3 <form method="post" action="@@url_repo@@/admin/repo_rights" class="form_table">
3 <form method="post" action="@@url_repo@@/admin/refs_rights" class="form_table">
4 4 <input type="hidden" name="delete" value="1" /> <input type="hidden" name="delete" value="1" />
5 5 <input type="hidden" name="token" value="@@rg_form_token@@" /> <input type="hidden" name="token" value="@@rg_form_token@@" />
6 6
 
14 14 <th>Date (UTC)</th> <th>Date (UTC)</th>
15 15 <th>User</th> <th>User</th>
16 16 <th>IP</th> <th>IP</th>
17 <th>Repo rights</th>
17 <th>Ref</th>
18 <th>Refs rights</th>
18 19 <th>Description</th> <th>Description</th>
19 20 <th>Operations</th> <th>Operations</th>
20 21 </tr> </tr>
File root/themes/default/rights/list_repo_refs/line.html copied from file root/themes/default/rights/list_pkgrepo/line.html (similarity 64%) (mode: 100644) (index a1da39f..58bc04a)
5 5 <td>@@itime_text@@</td> <td>@@itime_text@@</td>
6 6 <td>@@username@@</td> <td>@@username@@</td>
7 7 <td>@@ip_nice@@</td> <td>@@ip_nice@@</td>
8 <td>@@misc@@</td>
8 9 <td>@@rights_text@@</td> <td>@@rights_text@@</td>
9 10 <td><small>@@description_nlbr@@</small></td> <td><small>@@description_nlbr@@</small></td>
10 <td>@@if(@@can_be_deleted@@ == 1){{<a href="/op/settings/packages/repo/rights/@@pkg_repo_info::id@@/?edit_id=@@right_id@@"><span class="but">Edit</span></a>}}{{N/A}}</td>
11 <td>@@if(@@can_be_deleted@@ == 1){{<a href="@@url_repo@@/admin/refs_rights?edit_id=@@right_id@@"><span class="but">Edit</span></a>}}{{N/A}}</td>
11 12 </tr> </tr>
File root/themes/default/rights/list_repo_refs/nodata.html copied from file root/themes/default/doc/demo/toc/nodata.html (similarity 100%)
File root/themes/default/user/add_edit.html changed (mode: 100644) (index 5c385b7..d72e7cd)
38 38 <input type="text" name="email" id="email" value="@@email@@" /> <input type="text" name="email" id="email" value="@@email@@" />
39 39 </p> </p>
40 40
41 @@if(@@login_ui::is_admin@@ == 1){{
41 @@if(@@FUNC:UI_LOGIN:is_admin@@ == 1){{
42 42 <p> <p>
43 43 <label for="is_admin">Admin?</label><br /> <label for="is_admin">Admin?</label><br />
44 44 <select name="is_admin" id="is_admin"> <select name="is_admin" id="is_admin">
File root/themes/default/user/hints/econf.html changed (mode: 100644) (index 3ed9589..9c5bd5b)
1 1 <br /> <br />
2 2 Your have <b>not</b> confirmed your e-mail address. You will not be able Your have <b>not</b> confirmed your e-mail address. You will not be able
3 to receive notifications and to recover a lost password.
3 to receive notifications, to recover a lost password
4 and to use the global workers.<br />
4 5 Follow this <a href="/op/ask_email_conf">link</a> to receive a new Follow this <a href="/op/ask_email_conf">link</a> to receive a new
5 6 ask-for-confirmation e-mail. ask-for-confirmation e-mail.
File root/themes/default/user/home.html changed (mode: 100644) (index 80dc930..ab9dfe8)
1 1 <div class="main_title"> <div class="main_title">
2 @@page_ui::gravatar@@
3 Home page of user @@page_ui::username@@ (since @@page_ui::itime_nice@@)
2 @@FUNC:UI_PAGE:gravatar@@
3 Home page of user @@FUNC:UI_PAGE:username@@ (since @@FUNC:UI_PAGE:itime_nice@@)
4 4 <div class="buttons">@@watch_form@@ @@watch_error@@</div> <div class="buttons">@@watch_form@@ @@watch_error@@</div>
5 5 </div> </div>
File root/themes/default/user/settings/apikeys/hints.html changed (mode: 100644) (index a7d50e2..e68a468)
... ... API keys are used to access RocketGit's API by HTTP(S).<br />
3 3 Check <a href="/op/doc/api">API documentation</a> for more info.<br /> Check <a href="/op/doc/api">API documentation</a> for more info.<br />
4 4 <b>Count</b> shows how many times the API key has been used.<br /> <b>Count</b> shows how many times the API key has been used.<br />
5 5 Example: Example:
6 <div class="term">$ curl --header 'Authorization: @@login_ui::username@@ put_here_the_apikey' \
7 --data '{"cmd": "user_info", "user": "@@login_ui::username@@"}' \
6 <div class="term">$ curl --header 'Authorization: @@FUNC:UI_LOGIN:username@@ put_here_the_apikey' \
7 --data '{"cmd": "user_info", "user": "@@FUNC:UI_LOGIN:username@@"}' \
8 8 @@base_url@@/op/api @@base_url@@/op/api
9 9 </div> </div>
File root/themes/default/user/settings/menu.html changed (mode: 100644) (index c3ba768..7e23775)
2 2
3 3 <div class="menu menu2"> <div class="menu menu2">
4 4 <ul> <ul>
5 <li@@if(@@set_menu::edit_info@@ == 1){{ class="selected"}}{{}}><a href="/op/settings/edit_info">Edit info</a></li>
6 <li@@if(@@set_menu::change_pass@@ == 1){{ class="selected"}}{{}}><a href="/op/settings/change_pass">Change password</a></li>
7 <li@@if(@@set_menu::keys@@ == 1){{ class="selected"}}{{}}><a href="/op/settings/keys">SSH keys</a></li>
8 <li@@if(@@set_menu::apikeys@@ == 1){{ class="selected"}}{{}}><a href="/op/settings/apikeys">API keys</a></li>
9 <li@@if(@@set_menu::totp@@ == 1){{ class="selected"}}{{}}><a href="/op/settings/totp">Login tokens</a></li>
10 <li@@if(@@set_menu::wh@@ == 1){{ class="selected"}}{{}}><a href="/op/settings/wh">Webhooks</a></li>
11 <li@@if(@@set_menu::workers@@ == 1){{ class="selected"}}{{}}><a href="/op/settings/workers">Workers</a></li>
12 <li@@if(@@set_menu::delete_account@@ == 1){{ class="selected"}}{{}}><a href="/op/settings/delete_account">Delete account</a></li>
5 <li@@if(@@set_menu@@ == edit_info){{ class="selected"}}{{}}><a href="/op/settings/edit_info">Edit info</a></li>
6 <li@@if(@@set_menu@@ == change_pass){{ class="selected"}}{{}}><a href="/op/settings/change_pass">Change password</a></li>
7 <li@@if(@@set_menu@@ == keys){{ class="selected"}}{{}}><a href="/op/settings/keys">SSH keys</a></li>
8 <li@@if(@@set_menu@@ == apikeys){{ class="selected"}}{{}}><a href="/op/settings/apikeys">API keys</a></li>
9 <li@@if(@@set_menu@@ == totp){{ class="selected"}}{{}}><a href="/op/settings/totp">Login tokens</a></li>
10 <li@@if(@@set_menu@@ == wh){{ class="selected"}}{{}}><a href="/op/settings/wh">Webhooks</a></li>
11 <li@@if(@@set_menu@@ == workers){{ class="selected"}}{{}}><a href="/op/settings/workers">Workers</a></li>
12 <li@@if(@@set_menu@@ == packages){{ class="selected"}}{{}}><a href="/op/settings/packages">Packages</a></li>
13 <li@@if(@@set_menu@@ == delete_account){{ class="selected"}}{{}}><a href="/op/settings/delete_account">Delete account</a></li>
13 14 </ul> </ul>
14 15 </div> </div>
15 16 @@menu_level2@@ @@menu_level2@@
File root/themes/default/user/settings/wh/list/header.html changed (mode: 100644) (index 82c8322..a31bf06)
7 7 <thead> <thead>
8 8 <tr> <tr>
9 9 <th>ID</th> <th>ID</th>
10 <th>Select</th>
11 <th>Type</th>
12 <th>Subtype</th>
13 <th>Edit</th>
14 <th>Date (UTC) / Add IP</th>
10 <th>Type<br />Subtype</th>
11 <th>Date (UTC)<br />Add IP</th>
15 12 <th>Description</th> <th>Description</th>
16 13 <th>Repo name filter</th> <th>Repo name filter</th>
17 14 <th>Reference filter</th> <th>Reference filter</th>
File root/themes/default/user/settings/wh/list/line.html changed (mode: 100644) (index 8c4cc1f..a5319b3)
1 1 <tr> <tr>
2 <td>@@id@@</td>
3 <td><input type="checkbox" name="delete_list[@@id@@]" /></td>
4 <td>@@htype@@</td>
5 <td>@@hsubtype@@</td>
6 <td><a href="/op/settings/wh/edit/@@id@@">Edit</a></td>
2 <td>
3 <input type="checkbox" name="delete_list[@@id@@]" /><br />
4 @@id@@<br />
5 <a href="/op/settings/wh/edit/@@id@@"><span class="but_row">Edit</span></a>
6 </td>
7 <td>@@htype@@<br />@@hsubtype@@</td>
7 8 <td>@@itime_nice@@<br />@@add_ip@@</td> <td>@@itime_nice@@<br />@@add_ip@@</td>
8 9 <td class="small">@@description_nice@@</td> <td class="small">@@description_nice@@</td>
9 10 <td>@@repo@@</td> <td>@@repo@@</td>
File root/themes/default/user/settings/wh/subtype.html changed (mode: 100644) (index 7dc9a60..a3083ae)
1 <a href="/op/settings/wh/add/@@URL_ESCAPE:htype@@/@@URL_ESCAPE:hsubtype@@">@@name@@</a>
1 <a href="/op/settings/wh/add/@@htype@@/@@hsubtype@@">@@name@@</a>
File root/themes/default/user/settings/workers/list/header.html changed (mode: 100644) (index c9d2c3c..b01b019)
18 18 <th>Last connect (UTC)</th> <th>Last connect (UTC)</th>
19 19 <th>Last IP</th> <th>Last IP</th>
20 20 <th>Operations</th> <th>Operations</th>
21 <th>Load graph</th>
22 <th>Jobs graph</th>
21 <th>Graphs</th>
23 22 </tr> </tr>
24 23 </thead> </thead>
25 24
File root/themes/default/user/settings/workers/list/line.html changed (mode: 100644) (index b216c95..251ce74)
7 7 <td>@@workers@@</td> <td>@@workers@@</td>
8 8 <td>@@last_connect_nice@@</td> <td>@@last_connect_nice@@</td>
9 9 <td>@@last_ip@@</td> <td>@@last_ip@@</td>
10 <td><a href="@@url@@/edit/@@id@@">Edit</a></td>
11 <td>@@graph_load@@</td>
12 <td>@@graph_jobs@@</td>
10 <td><a href="@@url@@/edit/@@id@@"><span class="but">Edit</span></a></td>
11 <td>@@graph_load@@ @@graph_jobs@@</td>
13 12 </tr> </tr>
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/rocketgit

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main