Skip to content

Releases: Ptt-official-app/go-pttbbsweb

revise validOriginReferer

02 Jan 06:54
fce7cc5
Compare
Choose a tag to compare
Pre-release
Merge pull request #49 from chhsiao1981/release-0.5.3

update version to 0.5.3

cache-control and expires

01 Jan 07:34
4d920a9
Compare
Choose a tag to compare
Pre-release

#47 cache-control in processCSRFContent
#45 expire-str in setTokenToCookie

register-client restricted to localhost.

01 Jan 06:44
24592e3
Compare
Choose a tag to compare

register-client restricted to localhost.

able to serve web-pages.

01 Jan 05:05
0480ddd
Compare
Choose a tag to compare
Pre-release
  1. add options for cors.
  2. client add client-types (check csrf if client-type is web)
  3. html / js with csrf
  4. static
  5. init e2e tests in api/

utf8 -> text in json

28 Dec 16:03
60740a9
Compare
Choose a tag to compare
utf8 -> text in json Pre-release
Pre-release

Rune.Utf8 as "text" in json

update rune and readme.

28 Dec 02:48
cba288f
Compare
Choose a tag to compare
Pre-release
  1. update Rune definition.
  2. update README.md
  3. update mongo-data in docker-compose.yaml

able to get article-detail.

28 Dec 00:35
2f05bd6
Compare
Choose a tag to compare
Pre-release
  1. update go-pttbbs to v0.4.5
  2. update schema and align with api
  3. fix shared-params issue.
  4. dbcs and dbcs-tests.
  5. parse article as content / signature / first-comments / comments
  6. use redis to do lock.
  7. queue comments.
  8. use pttbbs.testutil.TDeepEqual, directly use go-pttbbs as backend.
  9. refactor to follow backend => db => api flow.
  10. use create-and-then-update to do upsert. (to have update_nano_ts always the newest)
  11. a consistent framework for sub-schema.
  12. firstcomments as comments/first
  13. have no-jwt as default-user (api.GUEST)

update apidoc

17 Dec 19:19
af5560c
Compare
Choose a tag to compare
update apidoc Pre-release
Pre-release
  1. adding board-users, title, name, desc, limit in apidoc.
  2. should be username in api/login and api/register-user, not user_id
  3. schema definition.
  4. use bbs.UUserID
  5. more complete readme.

docker settings.

15 Dec 22:06
cf7d299
Compare
Choose a tag to compare
docker settings. Pre-release
Pre-release
  1. mongo and backend host.
  2. no need to +build in this repo.
  3. schema config.

able to load article-list.

15 Dec 20:03
1d30d63
Compare
Choose a tag to compare
Pre-release

break changes to the api.

Please refer to http://173.255.216.176:5000/ for the newest api doc.