cofacts

Month: 2021-07

2021-07-01

github2 00:45:49
[cofacts/rumors-line-bot] Pull request opened by MrOrz

<https://github.com/cofacts/rumors-line-bot/pull/271|#271 [Trivial] Update default dev url>

<http://cofacts.hacktabl.org|cofacts.hacktabl.org> is no longer maintained -- this domain is removed from CORS whitelist. We should change to <http://dev.cofacts.tw|dev.cofacts.tw>.

:white_check_mark: All checks have passed

github2 01:30:28
[cofacts/rumors-line-bot] Comment on #270

<https://github.com/cofacts/rumors-line-bot/pull/270#issuecomment-871596295|Comment on #270 Fix textarea>

*Pull Request Test Coverage Report for <https://coveralls.io/builds/41012566|Build 987062434>* • *0* of *0* changed or added relevant lines in *0* files are covered. • No unchanged relevant lines lost coverage. • Overall coverage remained the same at *87.107%* * * * * * * *:yellow_heart: - <https://coveralls.io|Coveralls>*

github2 01:41:24
[cofacts/rumors-line-bot] Comment on #271

<https://github.com/cofacts/rumors-line-bot/pull/271#issuecomment-871602949|Comment on #271 [Trivial] Update default dev url>

*Pull Request Test Coverage Report for <https://coveralls.io/builds/41013280|Build 987114643>* • *0* of *0* changed or added relevant lines in *0* files are covered. • No unchanged relevant lines lost coverage. • Overall coverage remained the same at *87.107%* * * * * * * *:yellow_heart: - <https://coveralls.io|Coveralls>*

github2 01:57:58
[cofacts/rumors-line-bot] Pull request opened by MrOrz

<https://github.com/cofacts/rumors-line-bot/pull/272|#272 Remove babel.config.js dotenv and set env in Dockerfile instead>

*Problem* dotenv in babel.config.js it will load .env on unit tests, thus contents in `.env` file can affect `npm test` results and snapshots. *Expected* Unit test should always use `.env.sample`, as set in `setup-jest.js`. Changing any env in `.env` file should have no affect on test snapshots and test results. *Solution* Remove dotenv in `babel.config.js`, which was newly added during <https://github.com/cofacts/rumors-line-bot/pull/253|dockerization> • babel.config.js only requires LOCALE and is only relevent on docker build, thus set LOCALE in Dockerfile instead. • LOCALE in `.env` file is overridden by Dockerfile args. • also enables matrix build of diffrerent languages in the future.

:white_check_mark: All checks have passed

Chen Po-Yun 02:02:44
@itemaa has joined the channel
github2 02:10:47
[cofacts/rumors-line-bot] Comment on #272

<https://github.com/cofacts/rumors-line-bot/pull/272#issuecomment-871621994|Comment on #272 Remove babel.config.js dotenv and set env in Dockerfile instead>

*Pull Request Test Coverage Report for <https://coveralls.io/builds/41016501|Build 987388143>* • *0* of *0* changed or added relevant lines in *0* files are covered. • No unchanged relevant lines lost coverage. • Overall coverage remained the same at *87.107%* * * * * * * *:yellow_heart: - <https://coveralls.io|Coveralls>*

github2 13:37:00
[cofacts/rumors-line-bot] bil4444 approved MrOrz's pull request

Review on #270 Fix textarea

Colin Hodge 14:42:38
@colin.hodge has joined the channel

2021-07-02

isabelhou 20:17:55
想找致昕來聊新書,cofacts的參與者或坑主,可以一起來以專案角度回應嗎?時間是下週五7/9晚上8:00
🦒 1

2021-07-04

bil 09:25:26
很樂意喔!有簽書會啦啦😊
那下週五晚上請留時間喔!
3
mrorz 18:59:31
Twitter 群眾協作查核專案 Birdwarch 從今年 1 月開始也進行一段日子了
雖然還是沒有開放美國之外的地方存取,但從 @birdwatch 還是可以看得出一些他們的設計歷程。

我把一些觀察寫進這個共筆,目前寫到一半,歡迎一起補完~
https://g0v.hackmd.io/oK1F5q4eRV2IhGM-8ULTdQ

twitter.com

Birdwatch (@birdwatch) | Twitter

The latest Tweets from Birdwatch (@birdwatch). Empowering the Twitter community to create a better-informed world. Questions? Tweet/DM us

g0v.hackmd.io

Twitter Birdwatch 研究 - HackMD

🙌 2
github2 20:53:42
[cofacts/rumors-site] Comment on #417

<https://github.com/cofacts/rumors-site/issues/417#issuecomment-873584204|Comment on #417 Openpeeps avatar is not shown in landing page>

Hi <https://github.com/MrOrz|@MrOrz> I just fixed this issue, and wondering which branch should I PR to ? thx:pray:

github2 21:14:56
[cofacts/rumors-site] Comment on #417

<https://github.com/cofacts/rumors-site/issues/417#issuecomment-873588391|Comment on #417 Openpeeps avatar is not shown in landing page>

Hi <https://github.com/ulayab|@ulayab> , Please open a PR to `master` branch. Thanks!

github2 21:24:21
[cofacts/rumors-line-bot] nonumpa approved MrOrz's pull request

Review on #271 [Trivial] Update default dev url

github2 21:36:27
[cofacts/rumors-site] MrOrz approved ulayab's pull request

Review on #438 fix: #417 landing page avatar displaying bug

Thanks a lot for finding the missing data! I think it would be great if we can do the following to <https://www.apollographql.com/docs/react/data/fragments/#colocating-fragments|achieve fragment colocation>: 1. move `USER_QUERY` and `useQuery` to within `LandingPage/Header`, as its data is only used there 2. use <https://github.com/cofacts/rumors-site/blob/9bece90df7d61e8fa298f3b3e99868e56bec698f/lib/useCurrentUser.js#L13|`Avatar.fragment.AvatarData`> in query so that we don't need to enumerate all fields that is used by `Avatar` component <https://github.com/ulayab|@ulayab> are you interested in changing the code above? I can do it after merge as well.

github2 21:41:52
[cofacts/rumors-line-bot] nonumpa approved MrOrz's pull request

Review on #270 Fix textarea

LGTM!

github2 21:42:35
[cofacts/rumors-line-bot] nonumpa approved MrOrz's pull request

Review on #272 Remove babel.config.js dotenv and set env in Dockerfile instead

LGTM!

github2 21:57:57
[cofacts/rumors-line-bot] Pull request merged by MrOrz

<https://github.com/cofacts/rumors-line-bot/pull/270|#270 Fix textarea>

github2 21:59:39
[cofacts/rumors-line-bot] Pull request merged by MrOrz

<https://github.com/cofacts/rumors-line-bot/pull/271|#271 [Trivial] Update default dev url>

github2 23:11:28
[cofacts/rumors-site] Comment on #438

<https://github.com/cofacts/rumors-site/pull/438#issuecomment-873609148|Comment on #438 fix: #417 landing page avatar displaying bug>

Hi <https://github.com/MrOrz|@MrOrz> I just update the branch. BTW, it's my first time using Apollo, so I'm not really sure if it's an expected practice.:sneezing_face: Please advise as necessary, thank you!

github2 23:17:08
[cofacts/rumors-site] MrOrz approved ulayab's pull request

Review on #438 fix: #417 landing page avatar displaying bug

LGTM, thanks for the fix!

2021-07-05

github2 01:00:46
[cofacts/rumors-line-bot] Pull request opened by MrOrz

<https://github.com/cofacts/rumors-line-bot/pull/273|#273 Implement AppVariable for persistent app-wide variable>

In order to fix <https://g0v.hackmd.io/giYWfM8yRkKghtPOG1EBig#Notification-count-issue|missing `lastScannedAt` issue> which causes notifications to send in bulk, we move `lastScannedAt` from Redis to MongoDB instead. This PR: • Introduces new model `AppVariable` with `set()` and `get()` • The value is persisted in MongoDB • Uses `AppVariable` to replace `redis` in notification scanning code

:white_check_mark: All checks have passed

github2 01:03:31
[cofacts/rumors-line-bot] Comment on #273

<https://github.com/cofacts/rumors-line-bot/pull/273#issuecomment-873626325|Comment on #273 Implement AppVariable for persistent app-wide variable>

*Pull Request Test Coverage Report for <https://coveralls.io/builds/41102252|Build 998777928>* • *9* of *9* *(100.0%)* changed or added relevant lines in *2* files are covered. • No unchanged relevant lines lost coverage. • Overall coverage increased (+*0.4%*) to *87.492%* * * * * * * *:yellow_heart: - <https://coveralls.io|Coveralls>*

github2 01:33:58
[cofacts/rumors-line-bot] Pull request opened by MrOrz

<https://github.com/cofacts/rumors-line-bot/pull/274|#274 Tell the user the postback button no longer works if their user session is expired>

This PR handles the case when postback actions are called after the search session is removed from Redis. This should fix <https://rollbar.com/mrorz/rumors-line-bot/items/220/|https://rollbar.com/mrorz/rumors-line-bot/items/220/> .

:white_check_mark: All checks have passed

github2 01:36:33
[cofacts/rumors-line-bot] Comment on #274

<https://github.com/cofacts/rumors-line-bot/pull/274#issuecomment-873631001|Comment on #274 Tell the user the postback button no longer works if their user session is expired>

*Pull Request Test Coverage Report for <https://coveralls.io/builds/41102380|Build 998824566>* • *0* of *4* *(0.0%)* changed or added relevant lines in *1* file are covered. • No unchanged relevant lines lost coverage. • Overall coverage decreased (*-0.3%*) to *87.17%* * * * * * * *:yellow_heart: - <https://coveralls.io|Coveralls>*

2021-07-06

mrorz 14:01:36
明天的會議我們可以來討論一下下半年規劃唷,大家可以先想一想
裡面也有 Twitter Birdwatch 的觀察,可以先參考
https://g0v.hackmd.io/@mrorz/cofacts-meeting-notes

目前 LINE bot 也有兩個 bugfix PR 待 review~
3
9c1 19:10:05
@9c1 has joined the channel

2021-07-07

github2 01:30:29
[cofacts/rumors-line-bot] nonumpa approved MrOrz's pull request

Review on #273 Implement AppVariable for persistent app-wide variable

github2 01:43:34
[cofacts/rumors-line-bot] nonumpa approved MrOrz's pull request

Review on #274 Tell the user the postback button no longer works if their user session is expired

LGTM!

我還在想說這個修正怎麼似曾相識,原來被埋在關掉的 PR !
mrorz 14:50:10
今晚 8pm 的會議,會聊到 Twitter Birdwatch 群眾協作的機制設計,應該會有一些其設計與 Cofacts 對比的討論唷。有興趣的話可以一起參與~
(gather link in meeting note,會議會先測 staging)
https://g0v.hackmd.io/LpBtA5-CT-m0XmlqpsdWEQ?view#Case-study-Twitter-birdwatch

g0v.hackmd.io

20210707 會議記錄 - HackMD

nonumpa 20:54:46
Birdwatch 評分機制好酷, cofacts 也來做一套 😆
👍 2

2021-07-08

mrorz 22:22:35
今天中午 notification 又通知了爆多人
我晚上剛剛把使用 MongoDB (`AppVariable` model) 儲存 `lastScannedAt` 的版本放到 production 了
希望明天不會這麼多人 ><
image.png
🙏 2

2021-07-09

isabelhou 19:33:15
@bil @mrorz 八點請上線真相製造簽書會喔。
2
isabelhou 19:33:31
大概20:30會cue到你們。
bil 19:40:37
好唷
1
Ching Wu 22:11:00
@chingyiwu0120 has joined the channel
雷蒙 22:47:15
@pearlsagoissweet has joined the channel

2021-07-10

요송 08:14:43
@vincentkuo0311 has joined the channel
github2 23:31:04
[cofacts/rumors-line-bot] Pull request opened by MrOrz

<https://github.com/cofacts/rumors-line-bot/pull/275|#275 LIFF FeedbackForm and positive / negative feedback page>

This PR implements `FeedbackForm` and updates LIFF feedback pages. Figma: <https://www.figma.com/file/DvmAQjMJCncuPORWKnljM1/Cofacts-website-MrOrz?node-id=3042%3A2|https://www.figma.com/file/DvmAQjMJCncuPORWKnljM1/Cofacts-website-MrOrz?node-id=3042%3A2> This PR also refactors the following components: 1. `Button` • applies `color` set outside `Button` • use transparent version of text color for button background when hovering on a "outline" Button. 2. app.css • apply column flexbox to `body` • make `body` at least screen size *`FeedbackForm` component* *No score given* <https://user-images.githubusercontent.com/108608/125168082-39913280-e1d6-11eb-8c2e-58b7a0f55357.gif|positive-negative> *`score === 1`* User can hit "close" directly, or fill in their reasons. <https://user-images.githubusercontent.com/108608/125168163-9c82c980-e1d6-11eb-99aa-664ed24d14f6.gif|positive> *`score === -1`* Stops user from submitting negative feedback without reasons. <https://user-images.githubusercontent.com/108608/125168198-d0f68580-e1d6-11eb-9393-c85aa4a69bb2.gif|cannot-submit> *Sending positive feedback flow* TBA *Sending negative feedback flow* TBA *Switching between positive and negative feedback flow* TBA

:white_check_mark: No checks have passed

2021-07-11

github2 01:01:58
[cofacts/rumors-line-bot] Comment on #275

<https://github.com/cofacts/rumors-line-bot/pull/275#issuecomment-877669351|Comment on #275 LIFF FeedbackForm and positive / negative feedback page>

*Pull Request Test Coverage Report for <https://coveralls.io/builds/41268398|Build 1018347708>* • *0* of *0* changed or added relevant lines in *0* files are covered. • No unchanged relevant lines lost coverage. • Overall coverage remained the same at *87.17%* * * * * * * *:yellow_heart: - <https://coveralls.io|Coveralls>*

github2 02:37:29
[cofacts/rumors-line-bot] bil4444 approved MrOrz's pull request

Review on #275 LIFF FeedbackForm and positive / negative feedback page

Shihs 13:51:17
@mcshihs has joined the channel

2021-07-12

Soth K 02:26:42
@a22252277 has joined the channel
Tony Duan 12:59:28
@tony84727 has joined the channel

2021-07-13

Debbie 13:20:17
@hms.debbie has joined the channel

2021-07-14

2021-07-17

阿昇同學 16:03:46
@ldsfish0307 has joined the channel

2021-07-18

github2 19:04:16
[cofacts/need-to-check-list-generator] Pull request opened by nonumpa

<https://github.com/cofacts/need-to-check-list-generator/pull/7|#7 Add Xlsx option>

*Description* Update script for Cofacts meetup, details see <https://g0v.hackmd.io/P3-iDyfYRNiW1kxe4r2ROQ#25th-%E5%B0%8F%E8%81%9A|discussion>. • Rename tabs name as attendees' `nickname`. • Use `name` as tab name when `nickname` is empty. • Filter out the people whose `Ticket Status` are `cancelled`. *Snapshots* <https://user-images.githubusercontent.com/6376572/126064479-469686b0-9875-4869-bf4b-9c51f251be56.png|console> <https://user-images.githubusercontent.com/6376572/126064497-18a1533e-920e-45d1-9e21-dfcbaff6ca3b.png|output>

Gobby Chen 23:24:49
@f8502106 has joined the channel

2021-07-19

github2 00:31:08
[cofacts/need-to-check-list-generator] bil4444 approved nonumpa's pull request

Review on #7 Add Xlsx option

wedja 05:09:34
@wedja has joined the channel
WeyCalaw 10:48:40
@610696506 has joined the channel
jia 10:57:50
@gacll542.nick has joined the channel
github2 14:03:16
[cofacts/need-to-check-list-generator] MrOrz approved nonumpa's pull request

Review on #7 Add Xlsx option

LGTM!

raypeng 18:50:08
@ray940413 has joined the channel

2021-07-20

github2 08:30:53
[cofacts/rumors-fb-bot] Comment on #19

<https://github.com/cofacts/rumors-fb-bot/pull/19#issuecomment-882953655|Comment on #19 Bump urijs from 1.19.1 to 1.19.6>

Superseded by <https://github.com/cofacts/rumors-fb-bot/pull/25|#25>.

github2 08:30:53
[cofacts/rumors-fb-bot] Pull request opened by dependabot[bot]

<https://github.com/cofacts/rumors-fb-bot/pull/25|#25 Bump urijs from 1.19.1 to 1.19.7>

Bumps <https://github.com/medialize/URI.js|urijs> from 1.19.1 to 1.19.7. Release notes _Sourced from <https://github.com/medialize/URI.js/releases|urijs's releases>._ &gt; *1.19.7 (July 14th 2021)* &gt; &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parseQuery|`URI.parseQuery()`> to prevent overwriting `__proto__` in parseQuery() - disclosed privately by <https://github.com/NewEraCracker|`@​NewEraCracker`> &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parse|`URI.parse()`> to handle variable amounts of `\` and `/` in scheme delimiter as Node and Browsers do - disclosed privately by <https://github.com/ready-research|ready-research> via <https://huntr.dev/|https://huntr.dev/> &gt; • removed obsolete build tools &gt; • updated jQuery versions (verifying compatibility with 1.12.4, 2.2.4, 3.6.0) &gt; &gt; *1.19.6 (February 13th 2021)* &gt; &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parse|`URI.parse()`> to rewrite `\` in scheme delimiter to `/` as Node and Browsers do - disclosed privately by <https://twitter.com/ynizry|Yaniv Nizry> from the CxSCA AppSec team at Checkmarx &gt; &gt; *1.19.5 (December 30th 2020)* &gt; &gt; • dropping jquery.URI.js from minified bundle accidentally added since v1.19.3 - [Issue <https://github-redirect.dependabot.com/medialize/URI.js/issues/404|#404>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/404|medialize/URI.js#404>) &gt; &gt; *1.19.4 (December 23rd 2020)* &gt; &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parseAuthority|`URI.parseAuthority()`> to rewrite `\` to `/` as Node and Browsers do - followed up to by <https://github.com/alesandroortiz|alesandroortiz> in [PR <https://github-redirect.dependabot.com/medialize/URI.js/issues/403|#403>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/403|medialize/URI.js#403>), relates to [Issue <https://github-redirect.dependabot.com/medialize/URI.js/issues/233|#233>](<https://github-redirect.dependabot.com/medialize/URI.js/pull/233|medialize/URI.js#233>) &gt; &gt; *1.19.3 (December 20th 2020)* &gt; &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parseAuthority|`URI.parseAuthority()`> to rewrite `\` to `/` as Node and Browsers do - disclosed privately by <https://github.com/alesandroortiz|alesandroortiz>, relates to [Issue <https://github-redirect.dependabot.com/medialize/URI.js/issues/233|#233>](<https://github-redirect.dependabot.com/medialize/URI.js/pull/233|medialize/URI.js#233>) &gt; &gt; *1.19.2 (October 20th 2019)* &gt; &gt; • fixing <http://medialize.github.io/URI.js/docs.html#static-build|`URI.build()`> to properly handle relative paths when a scheme is given - [Issue <https://github-redirect.dependabot.com/medialize/URI.js/issues/387|#387>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/387|medialize/URI.js#387>) &gt; • fixing <http://medialize.github.io/URI.js/docs.html#static-buildQuery|`URI.buildQuery()`> to properly handle empty param name - [Issue <https://github-redirect.dependabot.com/medialize/URI.js/issues/243|#243>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/243|medialize/URI.js#243>), [PR <https://github-redirect.dependabot.com/medialize/URI.js/issues/383|#383>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/383|medialize/URI.js#383>) &gt; • support Composer [PR <https://github-redirect.dependabot.com/medialize/URI.js/issues/386|#386>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/386|medialize/URI.js#386>) Changelog _Sourced from <https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md|urijs's changelog>._ &gt; *1.19.7 (July 14th 2021)* &gt; &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parseQuery|`URI.parseQuery()`> to prevent overwriting `__proto__` in parseQuery() - disclosed privately by <https://github.com/NewEraCracker|`@​NewEraCracker`> &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parse|`URI.parse()`> to handle variable amounts of `\` and `/` in scheme delimiter as Node and Browsers do - disclosed privately by <https://github.com/ready-research|ready-research> via <https://huntr.dev/|https://huntr.dev/> &gt; • removed obsolete build tools &gt; • updated jQuery versions (verifying compatibility with 1.12.4, 2.2.4, 3.6.0) &gt; &gt; *1.19.6 (February 13th 2021)* &gt; &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parse|`URI.parse()`> to rewrite `\` in scheme delimiter to `/` as Node and Browsers do - disclosed privately by <https://twitter.com/ynizry|Yaniv Nizry> from the CxSCA AppSec team at Checkmarx &gt; &gt; *1.19.5 (December 30th 2020)* &gt; &gt; • dropping jquery.URI.js from minified bundle accidentally added since v1.19.3 - [Issue <https://github-redirect.dependabot.com/medialize/URI.js/issues/404|#404>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/404|medialize/URI.js#404>) &gt; &gt; *1.19.4 (December 23rd 2020)* &gt; &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parseAuthority|`URI.parseAuthority()`> to rewrite `\` to `/` as Node and Browsers do - followed up to by <https://github.com/alesandroortiz|alesandroortiz> in [PR <https://github-redirect.dependabot.com/medialize/URI.js/issues/403|#403>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/403|medialize/URI.js#403>), relates to [Issue <https://github-redirect.dependabot.com/medialize/URI.js/issues/233|#233>](<https://github-redirect.dependabot.com/medialize/URI.js/pull/233|medialize/URI.js#233>) &gt; &gt; *1.19.3 (December 20th 2020)* &gt; &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parseAuthority|`URI.parseAuthority()`> to rewrite `\` to `/` as Node and Browsers do - disclosed privately by <https://github.com/alesandroortiz|alesandroortiz>, relates to [Issue <https://github-redirect.dependabot.com/medialize/URI.js/issues/233|#233>](<https://github-redirect.dependabot.com/medialize/URI.js/pull/233|medialize/URI.js#233>) &gt; &gt; *1.19.2 (October 20th 2019)* &gt; &gt; • fixing <http://medialize.github.io/URI.js/docs.html#static-build|`URI.build()`> to properly handle relative paths when a scheme is given - [Issue <https://github-redirect.dependabot.com/medialize/URI.js/issues/387|#387>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/387|medialize/URI.js#387>) &gt; • fixing <http://medialize.github.io/URI.js/docs.html#static-buildQuery|`URI.buildQuery()`> to properly handle empty param name - [Issue <https://github-redirect.dependabot.com/medialize/URI.js/issues/243|#243>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/243|medialize/URI.js#243>), [PR <https://github-redirect.dependabot.com/medialize/URI.js/issues/383|#383>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/383|medialize/URI.js#383>) &gt; • support Composer [PR <https://github-redirect.dependabot.com/medialize/URI.js/issues/386|#386>](<https://github-redirect.dependabot.com/medialize/URI.js/issues/386|medialize/URI.js#386>) Commits • <https://github.com/medialize/URI.js/commit/19e54c78d5864aec43986e8f96be8d15998daa80|`19e54c7`> chore(build): bumping to version 1.19.7 • <https://github.com/medialize/URI.js/commit/547d4b69d45d435eed88b04ec0a74cc8080c8694|`547d4b6`> build: update jquery • <https://github.com/medialize/URI.js/commit/aab4a43e0c0cab5bde140edcb73d29f77365ad02|`aab4a43`> build: remove obsolete build tools • <https://github.com/medialize/URI.js/commit/ac43ca8f80c042f0256fb551ea5203863dec4481|`ac43ca8`> fix(parse): more backslash galore <https://github-redirect.dependabot.com/medialize/URI.js/issues/410|#410> • <https://github.com/medialize/URI.js/commit/622db6d8d6e650d6de4300c97779de50e3331095|`622db6d`> docs: add security policy • <https://github.com/medialize/URI.js/commit/8e51b00911ba0f6e90…

github2 08:30:55
[cofacts/rumors-fb-bot] Pull request closed by dependabot[bot]

<https://github.com/cofacts/rumors-fb-bot/pull/19|#19 Bump urijs from 1.19.1 to 1.19.6>

wenyi 11:35:52
@ayw255 has joined the channel
wenyi 11:52:02
請問一下 cofacts 在 gdrive 的資料集大概多久會更新一次,今天下載 articles.csv.zip 最新的文章 (createdAt) 是只有到 2021-6-2。使用 cofacts API 的話會有即時的資料嗎~如果有的話要如何申請?謝謝!
用 API 確實是最新的唷
接取方式可以參考
https://api.cofacts.tw/

其中 app secret header 目前還不用帶~
只是接取的人要如上面所示,遵循 Cofacts 資料使用者條款 即可
要抓文章的話可以用 `ListArticles`
所有欄位可以參考 GraphQL scchema
瞭解,謝謝 mrorz!
github2 13:55:55
[cofacts/rumors-site] Pull request opened by dependabot[bot]

<https://github.com/cofacts/rumors-site/pull/439|#439 Bump urijs from 1.19.6 to 1.19.7>

Bumps <https://github.com/medialize/URI.js|urijs> from 1.19.6 to 1.19.7. Release notes _Sourced from <https://github.com/medialize/URI.js/releases|urijs's releases>._ &gt; *1.19.7 (July 14th 2021)* &gt; &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parseQuery|`URI.parseQuery()`> to prevent overwriting `__proto__` in parseQuery() - disclosed privately by <https://github.com/NewEraCracker|`@​NewEraCracker`> &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parse|`URI.parse()`> to handle variable amounts of `\` and `/` in scheme delimiter as Node and Browsers do - disclosed privately by <https://github.com/ready-research|ready-research> via <https://huntr.dev/|https://huntr.dev/> &gt; • removed obsolete build tools &gt; • updated jQuery versions (verifying compatibility with 1.12.4, 2.2.4, 3.6.0) Changelog _Sourced from <https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md|urijs's changelog>._ &gt; *1.19.7 (July 14th 2021)* &gt; &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parseQuery|`URI.parseQuery()`> to prevent overwriting `__proto__` in parseQuery() - disclosed privately by <https://github.com/NewEraCracker|`@​NewEraCracker`> &gt; • *SECURITY* fixing <http://medialize.github.io/URI.js/docs.html#static-parse|`URI.parse()`> to handle variable amounts of `\` and `/` in scheme delimiter as Node and Browsers do - disclosed privately by <https://github.com/ready-research|ready-research> via <https://huntr.dev/|https://huntr.dev/> &gt; • removed obsolete build tools &gt; • updated jQuery versions (verifying compatibility with 1.12.4, 2.2.4, 3.6.0) Commits • <https://github.com/medialize/URI.js/commit/19e54c78d5864aec43986e8f96be8d15998daa80|`19e54c7`> chore(build): bumping to version 1.19.7 • <https://github.com/medialize/URI.js/commit/547d4b69d45d435eed88b04ec0a74cc8080c8694|`547d4b6`> build: update jquery • <https://github.com/medialize/URI.js/commit/aab4a43e0c0cab5bde140edcb73d29f77365ad02|`aab4a43`> build: remove obsolete build tools • <https://github.com/medialize/URI.js/commit/ac43ca8f80c042f0256fb551ea5203863dec4481|`ac43ca8`> fix(parse): more backslash galore <https://github-redirect.dependabot.com/medialize/URI.js/issues/410|#410> • <https://github.com/medialize/URI.js/commit/622db6d8d6e650d6de4300c97779de50e3331095|`622db6d`> docs: add security policy • <https://github.com/medialize/URI.js/commit/8e51b00911ba0f6e90949e2c4516b945c35021f7|`8e51b00`> fix(parse): prevent overwriting *proto* in parseQuery() • See full diff in <https://github.com/medialize/URI.js/compare/v1.19.6...v1.19.7|compare view> <https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores|Dependabot compatibility score> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. * * * Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: • `@dependabot rebase` will rebase this PR • `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it • `@dependabot merge` will merge this PR after your CI passes on it • `@dependabot squash and merge` will squash and merge this PR after your CI passes on it • `@dependabot cancel merge` will cancel a previously requested merge and block automerging • `@dependabot reopen` will reopen this PR if it is closed • `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually • `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) • `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) • `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) • `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language • `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language • `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language • `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the <https://github.com/cofacts/rumors-site/network/alerts|Security Alerts page>.

2021-07-21

2021-07-22

Karin Huang 09:31:29
@sinhuei1112 has joined the channel

2021-07-23

賴和隆 10:42:59
@lnylonl2 has joined the channel

2021-07-25

Jolin LU 00:45:44
@chiehlinjo has joined the channel
kjcl 14:16:39
@kevinliao has left the channel

2021-07-27

mrorz 16:55:30
有人最近在按了「查看新回應」之後遇到列表 load 不出來的狀況嗎
1627376079824.png
Screenshot_20210727-165352.png
-1

2021-07-28

wenyi 15:51:39
請問一下,在 api 的 “Analytics” 中有 lineUser, lineVisit 這兩個數字的差別在哪裡?想要找「回報次數」的數字。謝謝!
lineUser 是當日該篇文章查詢人數
lineVisit 是當日該篇文章查詢次數
會觸發「查詢」事件的,有
1. 使用者在 cofacts chatbot 查詢後選擇該篇訊息(包含只找第一篇所以自動選擇該篇訊息的的狀況)後顯示回應
2. 使用者在 cofacts chatbot 的「看過的訊息」列表點擊該篇訊息
3. 美玉姨使用者選擇了該篇訊息的回應看詳細,被導向進 Cofacts 後觀看詳細
實作時的 spec: https://g0v.hackmd.io/0kjaVlFASSyddkltqGR6Nw
我們會把使用者的 LINE ID(Messaging API 配發的)傳給 google analytics,所以理想上 Google analytics 應該會把一天內,來自同一個 LINE ID 的查詢數算成同一個使用者

但實際上還是要看 GA 怎麼去 aggregate
okok! 感謝解釋!
github2 20:25:58
[cofacts/need-to-check-list-generator] MrOrz approved nonumpa's pull request

Review on #7 Add Xlsx option

2021-07-29