Compare commits

...

10 Commits

Author SHA1 Message Date
Luk
5d23f2efa1 ignore *nogit* and *nosf* 2024-09-22 15:50:40 +08:00
Luk
d8e35affca improve gitignore and seafile-ignore 2024-04-24 14:17:29 +08:00
Luk
19c233e473 updated .gitignore and seafile-ignore.txt using npm/sysconfig/*-ignore-find2merge.sh 2024-01-28 12:16:46 +08:00
Luk Lu
eceafbb5f6 update seafile-ignore.txt 2023-09-12 14:20:49 +08:00
Luk Lu
5246988a6f update .gitignore to ignore *.gitignore.* instead of envar-*.gitignore.js 2023-03-11 08:27:22 +08:00
Luk Lu
7f81d65a6d 'add seafile-ignore.txt to every git repo' 2023-01-12 20:10:06 +08:00
Luk Lu
51df83f884 update to standard .gitignore 2022-12-10 19:12:17 +08:00
Luk Lu
874f18ee25 update [.gitignore] to ignore /unpackage/* except for !/unpackage/res/ 2022-10-06 20:06:10 +08:00
Luk Lu
9a4978f6fd use standard [.gitignore] file 2022-08-20 10:24:59 +08:00
luk.lu
e9542cb32c rename is_chain_address to which_chain_address 2022-08-16 15:30:35 +08:00
4 changed files with 186 additions and 8 deletions

118
.gitignore vendored
View File

@@ -1,7 +1,113 @@
# 以'#'开始的行,被视为注释. # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
node_modules # how to include another gitignore?
package-lock.json # https://stackoverflow.com/questions/7005142/can-i-include-other-gitignore-file-in-a-gitignore-file-like-include-in-c-li
.vscode # https://github.com/github/gitignore
.svn # https://github.com/SlideWave/gitignore-include?tab=readme-ov-file#examples
~* # https://gitignore.io
### .gitignore.global.txt ###
# Self defined pattern to ignore
?*.gitignore
?*.gitignore/
?*.gitignore.*
?*.gitignore.*/
*.gitomit
*.gitomit.*
*.gitomit/
*.gitomit.*/
*.nogit
*.nogit.*
*.nogit/
*.nogit.*/
# 保留
!.gitignore
!.gitignore.*
!.gitkeep
# 通用
.svn/
.deploy_git/
.idea/
.sass-cache/
.wrangler
/test/unit/coverage/
/test/e2e/reports/
node_modules/
*.aab
*.apk
*.ipa
*.min.js
*.min.css
*.min.html
*.iml
*.njsproj
*.ntvs*
*.sw*
*.sln
*.suo
.gitattributes .gitattributes
.umi
.umi-production
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock
selenium-debug.log
Thumbs.db
thumbs.db
_desktop.ini
# vue-cli 项目
/dist/
# 来自 vue-cli 创建项目的 .gitignore
.project
# hexo
/public/
# Hardhat
/artifacts/
/cache/
# seafile 临时文件
._*
.$*
# office 暂存文件
~$*
# 用户shell配置脚本
.bashrc_custom
# 苹果系统临时文件
.DS_Store
# 安卓缓存文件夹
.thumbnails
# local env files
.env.local
.env.*.local
# hexo
/db.json
# wo
# 服务端
/_archive/*
/_datastore/*
/_filestore/*
/_logstore/*
/_webroot/*
/_ssl/*
# uniapp 客户端
/unpackage/*
!/unpackage/res/
package-lock.json
pages4loader.json5
### .gitignore.local.txt ###

View File

@@ -158,7 +158,7 @@ DAD.buildUserAction = async function (action, keypair) {
keypair && keypair &&
keypair.prikey && keypair.prikey &&
keypair.pubkey && keypair.pubkey &&
ticc.seckey_to_pubkey({ prikey: keypair.prikey }) === keypair.pubkey ticc.prikey_to_pubkey({ prikey: keypair.prikey }) === keypair.pubkey
) { ) {
let typedAction = new wo[action.type](action) let typedAction = new wo[action.type](action)
typedAction.actorPubkey = keypair.pubkey typedAction.actorPubkey = keypair.pubkey

View File

@@ -168,7 +168,7 @@ step3:发起人申请执行
MOM.validateMe = async function () { MOM.validateMe = async function () {
return ( return (
ticc.is_chain_address({ address: this.toAddress }) && ticc.which_chain_address({ address: this.toAddress }) &&
this.fee >= wo.Config.MIN_FEE_ActionTransfer && this.fee >= wo.Config.MIN_FEE_ActionTransfer &&
this.toAddress != this.actorAddress this.toAddress != this.actorAddress
) )

72
seafile-ignore.txt Normal file
View File

@@ -0,0 +1,72 @@
# https://help.seafile.com/syncing_client/excluding_files/
# 注释。通配符:* 匹配0到若干个字符包括代表目录的/。? 匹配1个字符包括/。
# seafile-ignore.txt 只能控制在客户端需要忽略哪些文件。你依然可以在 seahub 的 web 界面创建这些被客户端忽略的文件。
# 在这种情况下,
# 这些文件会被同步到客户端,但是用户在客户端对这些文件的后续修改会被忽略,不会被同步回服务器。
# 文件在服务器端的后续更改会被同步到客户端,如果客户端也同时修改了这些文件,系统会生成冲突文件。
# seafile-ignore.txt 只能忽略还没有被同步的文件。对于已经被同步的文件,如果后来把它添加到 seafile-ignore.txt 中,系统只会忽略后续更改,已经上传的版本不会受影响。
### seafile-ignore.global.txt ###
# 自定义的后缀名,凡有 sfignore 后缀的都不进行同步
*.sfignore
*.sfignore/
*.sfignore.*
*.sfignore.*/
*.sfomit
*.sfomit.*
*.sfomit/
*.sfomit.*/
*.nosf
*.nosf.*
*.nosf/
*.nosf.*/
.DS_Store
*/.DS_Store
.thumbnails
*/.thumbnails
Thumbs.db
*/Thumbs.db
thumbs.db
*/thumbs.db
_desktop.ini
*/_desktop.ini
._*
*/._*
.$*
*/.$*
~$*
*/~$*
node_modules/
*/node_modules/
package-lock.json
pages4loader.json5
.deploy_git/
*/.deploy_git/
# HBuilder 目录
unpackage/
*/unpackage/
Icon
OneDrive/Icon
# wrangler project
.dev.vars*
*/.dev.vars*
.wrangler/
*/.wrangler/
### seafile-ignore.local.txt ###