chenyifan01
24afb0065c
#2225
update
3 years ago
chenyifan01
64dcabedda
Merge remote-tracking branch 'origin/V20220718' into point-v2
# Conflicts:
# routers/routes/routes.go
# webpack.config.js
# webpack_pro.config.js
3 years ago
ychao_1983
673172d0e8
提交代码
3 years ago
chenyifan01
dc58c5493e
#2225
add clloudbrain deduct task
3 years ago
ychao_1983
2f6f2dcf5f
提交代码
3 years ago
ychao_1983
453616bcf5
提交代码
3 years ago
ychao_1983
915b3a6d94
提交代码
4 years ago
chenyifan01
05ed9d9233
#1573
fix bug
4 years ago
chenyifan01
e36e20bf40
#1573
fix bug
4 years ago
chenyifan01
02856da525
#1494
fix
4 years ago
zhoupzh
64be5e31dc
fix issue
4 years ago
chenyifan01
22e4af4a2a
#1494
fix
4 years ago
chenyifan01
a3f026872d
#1494
fix
4 years ago
Gitea
7e5a5c6cd5
#1494
add wechat auth switch
4 years ago
Gitea
09c3d777d6
#1494
add default wechat bind page
4 years ago
Gitea
ea59293d62
#1494
update
4 years ago
ychao_1983
d6c77937ee
fix-1469
4 years ago
wangjr
a377b02058
Merge branch 'computing' into V20220125.patch
4 years ago
ychao_1983
32b80f3659
提交代码
4 years ago
Gitea
5a37cb9299
Merge remote-tracking branch 'origin/V20220125' into V20220125.patch
4 years ago
chenyifan01
24f16ee66a
#1447
update notice
4 years ago
ychao_1983
4459712293
提交代码
4 years ago
ychao_1983
22a1f79705
提交代码
4 years ago
ychao_1983
80b09207fa
增加iscourse变量
4 years ago
ychao_1983
0f523f1579
增加判断是否课程页面的方法,前端使用
4 years ago
ychao_1983
71d279930f
去掉iframe配置
4 years ago
ychao_1983
f0ed241d8b
增加支持的iframe参数
4 years ago
lewis
d1e68f2e1d
Merge branch 'V20220110' of git.openi.org.cn:OpenI/aiforge into cb-opt
4 years ago
liuzx
534c7e332c
Merge pull request 'fix-719 增加公告栏' ( #1262 ) from fix-719 into V20220110
Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1262
Reviewed-by: zhoupzh <zhoupzh@pcl.ac.cn>
Reviewed-by: liuzx <liuzx@pcl.ac.cn>
4 years ago
lewis
474164dd7d
Merge branch 'V20220110' of git.openi.org.cn:OpenI/aiforge into cb-opt
4 years ago
lewis
e65f269459
opt query times
4 years ago
chenyifan01
14d02e1e8d
#719
fix
4 years ago
chenyifan01
714945ca55
#719
add notice
4 years ago
lewis
8e94a03910
add log
4 years ago
zouap
ea47c6a18c
提交界面Tab页面控制的代码。
Signed-off-by: zouap <zouap@pcl.ac.cn>
4 years ago
lewis
1216d6788c
merge develop
4 years ago
lewis
194cc99afe
fix 965
4 years ago
lewis
3880714654
fix 902
4 years ago
lewis
e8a73ab6fb
add username in log
4 years ago
lewis
f6a0af2044
config recommend orgs
4 years ago
yuyuanshifu
8420a0ce04
fix bug
5 years ago
palytoxin
9f70963263
format code via make fmt
5 years ago
yuyuanshifu
c80c882d08
add interface: query public datasets
5 years ago
palytoxin
ce499a28e3
add repo unit type for cloud brain
5 years ago
yan
82fea3729a
add unit type to repo with dataset
5 years ago
Lunny Xiao
dfba56245b
Add setting for minio and flags for migrate-storage
5 years ago
zeripath
d9de58beee
api.Context.NotFound(...) should tolerate nil ( #11288 )
There is an unfortunate signature change with the api.Context
NotFound function; whereas the normal modules/context/Context
NotFound function requires an error or nil, the api.Context
variant will panic with an NPE if a nil is provided.
This PR will allow api.Context.NotFound to tolerate a being
passed a nil.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
6 years ago
Kyle Evans
38cd9ba47b
Allow unauthenticated users to compare ( #11240 )
* routers: make /compare route available to unauthenticated users
Remove some bits of the compare interface if the user isn't signed in.
Notably, they don't need to see the "New Pull Request" button box nor the
hidden form that would fail to submit due to the POST request continuing to
require proper privileges.
Follow-up commits will improve the UI a bit around this, removing some
"Pull Request" verbiage in favor of "Compare."
* ui: home: show "compare" button for unauthenticated users
This change requires pulling in the BaseRepo unconditionally and
recording if the pull request is in-fact not allowed
(.PullRequestCtx.Allowed). If the user isn't allowed to create a pull
request, either because this isn't a fork or same-fork branch PRs aren't
allowed, then we'll name the button "Compare" instead of "Pull Request."
* ui: branch list: use the new Compare language when available
When viewing the branch listing as an unauthenticated user, you'll get
"Pull Request" buttons. use the new "Compare" verbiage instead, which
matches GitHub behavior when you can't issue a pull request from the
branches.
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
6 years ago
6543
ad31d6b5e8
Fix release counter on API repository info ( #10968 )
Use the same mechanism as the webpage for calculating the release count
Fix #10946
6 years ago
SpaWn2KiLl
1f01f53c53
API add/generalize pagination ( #9452 )
* paginate results
* fixed deadlock
* prevented breaking change
* updated swagger
* go fmt
* fixed find topic
* go mod tidy
* go mod vendor with go1.13.5
* fixed repo find topics
* fixed unit test
* added Limit method to Engine struct; use engine variable when provided; fixed gitignore
* use ItemsPerPage for default pagesize; fix GetWatchers, getOrgUsersByOrgID and GetStargazers; fix GetAllCommits headers; reverted some changed behaviors
* set Page value on Home route
* improved memory allocations
* fixed response headers
* removed logfiles
* fixed import order
* import order
* improved swagger
* added function to get models.ListOptions from context
* removed pagesize diff on unit test
* fixed imports
* removed unnecessary struct field
* fixed go fmt
* scoped PR
* code improvements
* code improvements
* go mod tidy
* fixed import order
* fixed commit statuses session
* fixed files headers
* fixed headers; added pagination for notifications
* go mod tidy
* go fmt
* removed Private from user search options; added setting.UI.IssuePagingNum as default valeu on repo's issues list
* Apply suggestions from code review
Co-Authored-By: 6543 <6543@obermui.de>
Co-Authored-By: zeripath <art27@cantab.net>
* fixed build error
* CI.restart()
* fixed merge conflicts resolve
* fixed conflicts resolve
* improved FindTrackedTimesOptions.ToOptions() method
* added backwards compatibility on ListReleases request; fixed issue tracked time ToSession
* fixed build error; fixed swagger template
* fixed swagger template
* fixed ListReleases backwards compatibility
* added page to user search route
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
6 years ago