Compare commits

...

100 Commits
win ... linux

Author SHA1 Message Date
viletyy b850c51133 更改:code_stats分支参数默认分支 2023-03-24 23:17:01 +08:00
viletyy 74c901b929 新增:贡献占比优化 2023-03-24 23:12:55 +08:00
viletyy f08c108a80 新增:贡献者查询参数 2023-03-24 23:01:30 +08:00
viletyy dd9bef5f29 更改:code_stats默认为全部分支 2023-03-23 17:25:01 +08:00
viletyy 7bfb9a35fe 新增:贡献者接口 2023-03-22 18:46:27 +08:00
viletyy d6df728ba1 修复 2023-03-17 14:38:40 +08:00
viletyy 0a00bca320 修复:使用go 1.16打包 2023-03-17 14:37:40 +08:00
viletyy d67d9607c2 更改:readme无后缀也显示 2023-03-17 10:17:16 +08:00
viletyy 3190646615 新增:木兰协议 2023-03-07 16:29:57 +08:00
viletyy 636704c9d0 fix 2023-02-14 09:39:18 +08:00
viletyy 913d556c0a fix 2023-02-14 09:33:02 +08:00
viletyy 1281670d1c fix 无法获取文件 2023-02-13 18:43:28 +08:00
viletyy 63968315f4 更改:组织导入项目权限校验移除 2022-12-15 16:39:41 +08:00
viletyy fe30b38de2 新增:仓库贡献者行数查询ref默认参数 2022-12-08 11:13:20 +08:00
viletyy 2934ee6f78 新增:仓库贡献者行数查询 2022-12-08 10:03:35 +08:00
viletyy 11db91384e 修复:标签列表无数据返回空数组 2022-10-27 16:55:36 +08:00
viletyy 6d23310659 新增:标签名字列表 2022-10-18 14:06:08 +08:00
viletyy 86ce3e7b3e 新增:readme文件默认使用中文readme文件 2022-09-21 19:18:01 +08:00
viletyy eceba9634d 新增:团队项目新增全部和移除全部 2022-08-31 13:42:11 +08:00
viletyy 71174733f8 新增:文件blame 上个版本的行号 2022-08-17 18:03:49 +08:00
viletyy bfd8add99e 修复:移除ref转义 2022-08-11 11:42:34 +08:00
viletyy 203e63590e 新增: pr file 支持只显示文件名 2022-08-10 15:54:47 +08:00
viletyy 064e3688cf 修复:pr version diff by filepath需要去除多余空格 2022-08-09 09:28:15 +08:00
viletyy 05c864010b 修复 2022-08-08 14:14:13 +08:00
viletyy d1c5be5483 修复: readme匹配修复 2022-08-08 11:50:46 +08:00
viletyy 139adc7454 新增:webhook type类型 2022-08-03 14:21:37 +08:00
viletyy 3f270ec39d 修复:join需要用换行符隔开 2022-08-03 10:40:52 +08:00
viletyy 6b77185ff1 修复: 处理diff方式 2022-08-02 20:17:58 +08:00
viletyy c017bedc4e 修复:解决效率问题 2022-08-02 19:29:21 +08:00
viletyy 6ba6c10af3 新增:版本diff新增diff信息 2022-08-02 19:01:19 +08:00
viletyy a85edee2b8 修复:批量提交文件删除文件不返回结果 2022-07-28 13:58:43 +08:00
viletyy 03c8dadcbc 新增:pr版本相关接口 2022-07-22 18:23:29 +08:00
viletyy adff033b03 最新版本打包 2022-07-15 17:11:08 +08:00
viletyy 6cd1258f2b 新增: 内部页面需要登录才能访问 2022-05-30 15:36:28 +08:00
viletyy 01e9613ddf 修复 drone适配并取消管理员才能登录 2022-05-27 10:03:26 +08:00
viletyy c76def4d59 fix: use path escape 2022-05-23 16:29:35 +08:00
viletyy f2ddeb5355 fix: url must query encode 2022-05-23 15:43:59 +08:00
viletyy 7c30c63bbe fix: update pullrequest assignees remove blank data 2022-05-06 15:04:53 +08:00
viletyy cfb53b4575 add: compare some field 2022-04-28 18:51:29 +08:00
viletyy 24e18aa930 add: index and branch search bug 2022-04-27 18:14:53 +08:00
hang cbc06faac2 fix wiki name 2022-04-27 11:42:36 +08:00
hang d311a23861 fix wiki name 2022-04-27 11:12:40 +08:00
viletyy daee2a6c5b add: name query for branches 2022-04-26 17:13:41 +08:00
hang 2f031a1419 fix interface 2022-04-26 09:41:41 +08:00
hang 3d78ad94d3 Modify the file name with spaces and cannot be deleted 2022-04-12 15:20:20 +08:00
viletyy acaf0d7f66 fix: tag count error 2022-04-07 18:15:54 +08:00
viletyy cce98a0a6e fix: wiki repo is not closed 2022-04-02 09:42:35 +08:00
viletyy 33d89a0b0c fix: get tag use tagCount action 2022-03-10 17:30:13 +08:00
viletyy 394af5ed96 fix: simple content use blackfriday 2022-02-10 15:30:03 +08:00
viletyy e1e9881216 fix: transfer repository do not need pending status 2022-01-25 14:40:58 +08:00
wonderful 2e2f376e99 修改http_method 2022-01-12 16:01:51 +08:00
hang e5ca06c429 fix:http_method for webhook 2022-01-12 15:58:11 +08:00
wonderful 748e1ea76f 修改webhook的http_method 2022-01-12 15:38:12 +08:00
hang 9bd4a91561 fix:http_method for webhook 2022-01-12 15:35:08 +08:00
viletyy 62f01dd7b8 fix: repo submodule is nil 2022-01-10 13:51:15 +08:00
viletyy 76c9d8fe2d add: branch only name api 2022-01-07 18:03:28 +08:00
yystopf d214af688f Merge pull request '把 branch name 放入数组' (#17) from wonderful/gitea-binary:linux into linux 2022-01-07 15:17:33 +08:00
hang ebf0194b2d add:branch name set 2022-01-07 15:12:18 +08:00
viletyy fa2812b538 fix: commit detail show files 2022-01-07 11:52:49 +08:00
xxq250 1f647c25dd Merge pull request 'add:diff for a commit' (#16) from wonderful/gitea-binary:linux into linux 2022-01-04 10:19:43 +08:00
hang 3fd3634346 fix:add diff 2022-01-04 09:59:38 +08:00
xiaoxiaoqiong 2a38b3d2a9 add download 2021-12-30 17:22:52 +08:00
xiaoxiaoqiong e8b003dfe9 test gitea 2021-12-30 16:58:25 +08:00
xiaoxiaoqiong 9e8a75768b test del 2021-12-30 16:57:13 +08:00
xiaoxiaoqiong 856ee3bf1a test linux 2021-12-30 16:44:23 +08:00
viletyy 84b6ebff0c fix: commit detail show files 2021-12-29 22:19:17 +08:00
viletyy 4bee6eff17 complete old verstion move 2021-12-29 10:13:12 +08:00
viletyy a2e6ab0d53 fix: create file branch name use escape 2021-12-27 17:40:05 +08:00
viletyy e50df25d38 fix: create file branch name % 2021-12-23 09:58:55 +08:00
viletyy 46c74b45d8 fix: web login authorize delay 2021-12-22 15:50:14 +08:00
viletyy fc67b08786 fix: compare接口报错问题 2021-12-21 16:02:32 +08:00
viletyy 8f2ea89f91 fix: remove org website url valid 2021-12-20 10:03:03 +08:00
viletyy de3cde440d fix: remove org website url valid 2021-12-20 09:53:05 +08:00
viletyy ecd5f5d56f add: new version for gitea 2021-12-16 10:11:28 +08:00
yystopf 7f43393363 Merge pull request '新版gitea' (#13) from wonderful/gitea-binary:linux into linux 2021-12-16 09:46:01 +08:00
hang c7442134b2 first:new gitea 2021-12-16 09:39:23 +08:00
viletyy 879d3038b4 fix: fork repo change name error 2021-11-05 09:50:47 +08:00
viletyy d7b8b04f64 add: contributor email 2021-11-02 11:15:00 +08:00
jasder 30be4945ad Merge pull request 'fix' (#11) from wonderful/gitea-binary:linux into linux 2021-10-28 09:37:41 +08:00
hang a4aeed44cc fix:branch_tag_count 2021-10-27 18:43:09 +08:00
jasder b68696e32e Merge pull request 'gitea' (#9) from wonderful/gitea-binary:linux into linux 2021-10-14 16:51:58 +08:00
hang ff14dd4440 fix:gitea 2021-10-14 16:41:26 +08:00
jasder 3af6d5965d Delete 'linux' 2021-10-10 16:28:44 +08:00
viletyy 2c2cab4d1b add: filecommits 2021-10-08 14:45:50 +08:00
viletyy 229f1f0d12 add: tags list page info 2021-09-30 16:09:58 +08:00
viletyy 78ea4f8b8e fix: load commit branch name 2021-09-29 16:48:05 +08:00
viletyy ad8b8df517 add: commit detail branch 2021-09-29 10:32:06 +08:00
viletyy c15db58eba fix 2021-09-27 17:02:19 +08:00
viletyy 4d05002b25 add: release list sha 2021-09-27 16:56:13 +08:00
viletyy 593adbebc2 fix 2021-09-24 18:16:46 +08:00
yystopf 17fa7bb78a 解决标签接口报错、并且同步最新需求 2021-09-24 18:10:09 +08:00
viletyy 9ebdd08c63 fix: tag addition message 2021-09-24 18:07:58 +08:00
yystopf 1f71638ec4 仓库标签新增提交信息、子目录获取readme 2021-09-24 09:42:37 +08:00
viletyy 70bc1664a2 add: tag commit message and get submodule readme 2021-09-24 09:38:57 +08:00
yystopf c4bf7d3a6c 仓库获取文件添加分支、commit、tag参数(linux) 2021-09-10 18:51:14 +08:00
viletyy 99509882e5 fix: get file need ref to select 2021-09-10 18:46:59 +08:00
jasder a31b010cae Merge pull request '最新wiki api' (#1) from wonderful/gitea-binary:linux into linux 2021-08-29 20:10:34 +08:00
wonderful 22b67b6df4 fix:new wiki 2021-08-27 18:33:44 +08:00
wonderful 621093f04b fix:new wiki 2021-08-27 18:13:45 +08:00
jasder 34cb0f8bcb Ini repo 2021-08-23 17:58:04 +08:00
5 changed files with 1 additions and 162 deletions

20
.gitignore vendored
View File

@ -1,20 +0,0 @@
# ---> Actionscript
# Build and Release Folders
bin-debug/
bin-release/
[Oo]bj/
[Bb]in/
# Other files and folders
.settings/
# Executables
*.swf
*.air
*.ipa
*.apk
# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
# should NOT be excluded as they contain compiler settings and other important
# information for Eclipse / Flash Builder.

124
LICENSE
View File

@ -1,124 +0,0 @@
木兰宽松许可证, 第2版
2020年1月 http://license.coscl.org.cn/MulanPSL2
您对“软件”的复制、使用、修改及分发受木兰宽松许可证第2版“本许可证”的如下条款的约束
0. 定义
“软件” 是指由“贡献”构成的许可在“本许可证”下的程序和相关文档的集合。
“贡献” 是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。
“贡献者” 是指将受版权法保护的作品许可在“本许可证”下的自然人或“法人实体”。
“法人实体” 是指提交贡献的机构及其“关联实体”。
“关联实体” 是指对“本许可证”下的行为方而言控制、受控制或与其共同受控制的机构此处的控制是指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。
1. 授予版权许可
每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的版权许可,您可以复制、使用、修改、分发其“贡献”,不论修改与否。
2. 授予专利许可
每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软件”结合而将必然会侵犯的专利权利要求,不包括对“贡献”的修改或包含“贡献”的其他结合。如果您或您的“关联实体”直接或间接地,就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权行动之日终止。
3. 无商标许可
“本许可证”不提供对“贡献者”的商品名称、商标、服务标志或产品名称的商标许可但您为满足第4条规定的声明义务而必须使用除外。
4. 分发限制
您可以在任何媒介中将“软件”以源程序形式或可执行形式重新分发,不论修改与否,但您必须向接收者提供“本许可证”的副本,并保留“软件”中的版权、商标、专利及免责声明。
5. 免责声明与责任限制
“软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于何种法律理论,即使其曾被建议有此种损失的可能性。
6. 语言
“本许可证”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何冲突不一致,以中文版为准。
条款结束
如何将木兰宽松许可证第2版应用到您的软件
如果您希望将木兰宽松许可证第2版应用到您的新软件为了方便接收者查阅建议您完成如下三步
1 请您补充如下声明中的空白,包括软件名、软件的首次发表年份以及您作为版权人的名字;
2 请您在软件包的一级目录下创建以“LICENSE”为名的文件将整个许可证文本放入该文件中
3 请将如下声明文本放入每个源文件的头部注释中。
Copyright (c) [Year] [name of copyright holder]
[Software Name] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
Mulan Permissive Software LicenseVersion 2
Mulan Permissive Software LicenseVersion 2 (Mulan PSL v2)
January 2020 http://license.coscl.org.cn/MulanPSL2
Your reproduction, use, modification and distribution of the Software shall be subject to Mulan PSL v2 (this License) with the following terms and conditions:
0. Definition
Software means the program and related documents which are licensed under this License and comprise all Contribution(s).
Contribution means the copyrightable work licensed by a particular Contributor under this License.
Contributor means the Individual or Legal Entity who licenses its copyrightable work under this License.
Legal Entity means the entity making a Contribution and all its Affiliates.
Affiliates means entities that control, are controlled by, or are under common control with the acting entity under this License, control means direct or indirect ownership of at least fifty percent (50%) of the voting power, capital or other securities of controlled or commonly controlled entity.
1. Grant of Copyright License
Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable copyright license to reproduce, use, modify, or distribute its Contribution, with modification or not.
2. Grant of Patent License
Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable (except for revocation under this Section) patent license to make, have made, use, offer for sale, sell, import or otherwise transfer its Contribution, where such patent license is only limited to the patent claims owned or controlled by such Contributor now or in future which will be necessarily infringed by its Contribution alone, or by combination of the Contribution with the Software to which the Contribution was contributed. The patent license shall not apply to any modification of the Contribution, and any other combination which includes the Contribution. If you or your Affiliates directly or indirectly institute patent litigation (including a cross claim or counterclaim in a litigation) or other patent enforcement activities against any individual or entity by alleging that the Software or any Contribution in it infringes patents, then any patent license granted to you under this License for the Software shall terminate as of the date such litigation or activity is filed or taken.
3. No Trademark License
No trademark license is granted to use the trade names, trademarks, service marks, or product names of Contributor, except as required to fulfill notice requirements in section 4.
4. Distribution Restriction
You may distribute the Software in any medium with or without modification, whether in source or executable forms, provided that you provide recipients with a copy of this License and retain copyright, patent, trademark and disclaimer statements in the Software.
5. Disclaimer of Warranty and Limitation of Liability
THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO MATTER HOW ITS CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
6. Language
THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION SHALL PREVAIL.
END OF THE TERMS AND CONDITIONS
How to Apply the Mulan Permissive Software LicenseVersion 2 (Mulan PSL v2) to Your Software
To apply the Mulan PSL v2 to your work, for easy identification by recipients, you are suggested to complete following three steps:
Fill in the blanks in following statement, including insert your software name, the year of the first publication of your software, and your name identified as the copyright owner;
Create a file named "LICENSE" which contains the whole context of this License in the first directory of your software package;
Attach the statement to the appropriate annotated syntax at the beginning of each source file.
Copyright (c) [Year] [name of copyright holder]
[Software Name] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.

View File

@ -1,20 +1,3 @@
#### 从命令行创建一个新的仓库 #### linux系统下的gitea可执行包
```bash
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://git.trustie.net/Gitlink/gitea-binary.git
git push -u origin master
```
#### 从命令行推送已经创建的仓库
```bash
git remote add origin https://git.trustie.net/Gitlink/gitea-binary.git
git push -u origin master
```

BIN
download/gitea Executable file

Binary file not shown.

BIN
gitea Executable file

Binary file not shown.