101 Commits

Author SHA1 Message Date
XXBeii
f52e9c3382 feat: support sync private package from define registry (#1701)
Co-authored-by: wangjx2018 <wangjx2018@chinaunicom.cn>
2022-02-14 00:16:00 +08:00
fengmk2
ac07b215a7 🐛 FIX: Support new bson logId 2022-02-08 23:17:45 +08:00
fengmk2
559d5baccf 📦 NEW: sync web support webDataRemoteRegistry (#1697) 2022-01-29 23:39:37 +08:00
fengmk2
e5c5179e9e 📦 NEW: Support set registry to new cnpmcore registry (#1696)
https://github.com/cnpm/cnpmcore/issues/120
2022-01-28 00:20:23 +08:00
Solais
e4c3cd125e feat: package view add download total count (#1673)
Co-authored-by: zhixiang.tzx <zhixiang.tzx@alibaba-inc.com>
2021-11-04 17:00:34 +08:00
Bowen Huang
8ddbe9076f feat: custom header html block (#1616)
Co-authored-by: yanmei.hbw <yanmei.hbw@alibaba-inc.com>
2021-02-05 21:43:40 +08:00
Khaidi Chu
4a3a851256 fix: use <%- instead of <%= in user profile page (#1404) 2018-11-07 14:21:51 +08:00
fengmk2
017af69cce feat: add badgeService define on config (#1387)
```js
badgeService: {
  url(subject, status, options): return string
}
```
2018-09-14 19:54:30 +08:00
fengmk2
842c0316ed feat: show versions list on package page (#1386) 2018-09-14 18:46:15 +08:00
fengmk2
9b8491b736 fix: use https://cdn.staticfile.org 2018-09-14 15:14:29 +08:00
fengmk2
fc799304d8 fix: should return [done] Sync {name} string when task finished (#1382)
the cnpm client sync need the `[done] Sync {name}` string to detect when sync task finished
2018-09-09 00:20:50 +08:00
fengmk2
6b223f887a fix: don't sync upstream on every sync request (#1216)
only effect on change_stream and web sync button
2017-08-22 08:58:02 +08:00
fengmk2
97895bdfa5 feat: add security check badge for public package (#971) 2016-06-26 13:18:33 +08:00
fengmk2
e6998506f3 feat: show tarball url on package page (#894)
closes #893
2016-04-15 23:44:07 +08:00
fengmk2
e1b9ab6b09 fix: update copyright year 2016-02-20 02:06:14 +08:00
alsotang
3fb2228031 count total private pkgs 2015-11-23 22:51:38 +08:00
alsotang
95d1a6b35c do not sync inner username 2015-11-12 22:07:33 +08:00
fengmk2
f6e79ff5e7 fix: show package's dependents
closes #694
2015-10-21 21:06:27 +08:00
Yuwei Ba
550024176f Add dev dependencies. 2015-10-15 15:22:34 +08:00
Yuwei Ba
90485d33dd Package page fix. 2015-10-15 14:57:14 +08:00
Yuwei Ba
cd36984a56 Clean code. 2015-10-15 11:39:02 +08:00
Yuwei Ba
1d491a244b Package pages. 2015-10-14 21:22:08 +08:00
Yuwei Ba
76e0563308 search page. 2015-10-14 21:22:08 +08:00
Yuwei Ba
5e969cc305 Sync page. 2015-10-14 21:22:08 +08:00
Yuwei Ba
9d886b0599 Profile page antd style. 2015-10-14 21:22:08 +08:00
Yuwei Ba
cd2e96f460 Unpublished pkg page style. 2015-10-14 21:22:08 +08:00
Yuwei Ba
e2c37d312f Index page style use antd. 2015-10-14 21:22:08 +08:00
fengmk2
7fd264440e feat: list packages by username
GET /-/users/:user/packages

return user packages list

{
  "user": {
    "name": $name
  },
  "packages": [
    {
      "name": $name,
      "description": $description,
      "version": $version
    }, ...
  ],
}

closes #661
2015-09-28 13:58:02 +08:00
fengmk2
7f2c5725e5 fix(sync): support sync public scope package
e.g.: @sindresorhus/df

closes cnpm/cnpm#64
closes cnpm/cnpm#61
2015-07-27 01:20:30 +08:00
fengmk2
7fc1a8411c add custom ad banner config 2015-03-28 09:53:44 +08:00
fengmk2
dd5ac02876 fix(markdown): revert marky-markdown
We dont want to use cpp module
2015-02-01 00:19:05 +08:00
fengmk2
027d2bb46b feat(markdown): use npm same markdown parser
Fixes #574
2015-01-31 14:27:15 +08:00
fengmk2
44c8e05563 change(sync): remove dist syncer
move to https://github.com/cnpm/mirrors

Fixes #523 #504 #307
2015-01-29 10:18:10 +08:00
fengmk2
17d1527551 fix(markdown): readme.md allow scripts 2015-01-10 13:04:08 +08:00
fengmk2
9e34566a19 test(web): change position 2015-01-02 09:25:28 +08:00
fengmk2
8e4fd68cca feat(sync): sync user profile
Fixes #535
2015-01-02 09:22:29 +08:00
Loïc Mahieu
263910c13c Fix typo in view/web/package.html
Change `Reopsitory` to `Repository`
2014-12-09 15:40:54 +01:00
fengmk2
b5bfef5160 fix xss on title 2014-12-09 16:03:06 +08:00
fengmk2
9b52820a8d hotfix package.html typo. Closes #521 2014-12-05 19:20:00 +08:00
fengmk2
1bf7eb7324 fix(web/package): package name to long cause style problem fix
Closes #511
2014-11-23 15:01:39 +08:00
fengmk2
da69df9bb0 fix(css): use github-markdown-css for markdown body
https://github.com/sindresorhus/github-markdown-css
2014-11-23 14:32:19 +08:00
dead_horse
acbf75514d zoom sync link 2014-11-17 15:53:59 +08:00
dead_horse
87ad2002a7 new design for package page 2014-11-17 15:47:16 +08:00
dead_horse
1183d24d26 image max width, fixed #505 2014-11-17 00:22:23 +08:00
fengmk2
3b71d81e4a fix(maintainer): fix missing maintainers
Closes #497
2014-11-10 18:44:11 +08:00
fengmk2
f47615501c web/package/*.js done 2014-10-29 18:11:40 +08:00
fengmk2
439b6663f3 use simple 404 2014-10-08 18:40:23 +08:00
fengmk2
3069179718 fix possible xss on 404 page 2014-10-08 18:29:13 +08:00
fengmk2
93f33a98cf fix sync in web 2014-09-24 23:44:03 +08:00
fengmk2
763224bbbb support sync upstream first. fixed #451 2014-09-24 19:43:51 +08:00