Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1366 - Slack integrations [ Siblings Check ] #1530

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
309 commits
Select commit Hold shift + click to select a range
e3adc78
missing check
c3ho Dec 3, 2020
e458ca8
Added spinner as well to PR
c3ho Dec 3, 2020
1001629
fix export
c3ho Dec 3, 2020
d563070
resolving swr issues
c3ho Dec 3, 2020
b5bb1a9
fix line 30 block
c3ho Dec 3, 2020
9858bc8
removed SearchPage for now
c3ho Jan 20, 2021
280b164
removed unused package
c3ho Jan 20, 2021
46f2c4c
Merge pull request #1462 from c3ho/SearchPage
chrispinkney Jan 20, 2021
36ba118
Added Feed types (#1571)
HyperTHD Jan 20, 2021
607a9eb
Fix #1480 Port BackToTopButton from Gatsby to NextJS (#1564)
humphd Jan 20, 2021
e681c81
Fixed#1456: Ported Login component (#1568)
tonyvugithub Jan 20, 2021
953f382
Ported theme to NextJS (#1483)
tonyvugithub Jan 20, 2021
6cfd7df
Fixed Eslint warnings
birtony Jan 20, 2021
9b396b5
ported HelpPopoverButton from Gatsby to Next.js
nilan01 Jan 20, 2021
d869727
Merge pull request #1562 from PedroFonsecaDEV/issue-1548-item3
PedroFonsecaDEV Jan 20, 2021
becae6c
rebase and modify the searchhelp next component
yuanLeeMidori Jan 21, 2021
ebcb0e5
Remove parent directory of component
yuanLeeMidori Jan 21, 2021
652bdb4
Adjust margin of SearchHelp component
yuanLeeMidori Jan 21, 2021
a00e660
finished porting AuthorSearchInput
chrispinkney Jan 20, 2021
d0260c6
Merge pull request #1578 from yuanLeeMidori/issue-1507
HyperTHD Jan 21, 2021
f79f91d
Merge pull request #1577 from chrispinkney/issue-1541
chrispinkney Jan 21, 2021
4fdf76f
install highlight.js
PedroFonsecaDEV Jan 21, 2021
ae198f2
highlight.js github css to globals.css
PedroFonsecaDEV Jan 21, 2021
f148eba
fix: import on globals.css
PedroFonsecaDEV Jan 21, 2021
a0b75f9
Create SearchBar.tsx
PedroFonsecaDEV Jan 21, 2021
9fedc8f
Create SearchInput.tsx
PedroFonsecaDEV Jan 21, 2021
20ece18
Imports done
PedroFonsecaDEV Jan 21, 2021
9a89455
type created
PedroFonsecaDEV Jan 21, 2021
3e95301
SearchInput - done
PedroFonsecaDEV Jan 21, 2021
dfb43be
imports + searchinput
PedroFonsecaDEV Jan 21, 2021
7f57108
createStyles
PedroFonsecaDEV Jan 21, 2021
bb0ab58
import react changeEvent
PedroFonsecaDEV Jan 21, 2021
d89015b
fix event type
PedroFonsecaDEV Jan 21, 2021
1ec410a
Initial DeleteFeedDialogButton port
HyperTHD Jan 21, 2021
19e6352
Fixed spelling errors
HyperTHD Jan 21, 2021
0844655
Fixed Feed import location
HyperTHD Jan 21, 2021
747d7cf
Merge pull request #1579 from PedroFonsecaDEV/issue-1548-highlight
yuanLeeMidori Jan 21, 2021
0cdc04a
Added MDX library to render about.mdx
chrispinkney Dec 3, 2020
043a74d
Provided theme object for the whole Next app (#1574)
tonyvugithub Jan 22, 2021
6402136
fix folder structure
PedroFonsecaDEV Jan 22, 2021
95c9f9e
Merge pull request #1585 from PedroFonsecaDEV/fixStructure
PedroFonsecaDEV Jan 22, 2021
ce73fc0
Added additional typing for the button ref
HyperTHD Jan 22, 2021
2a66d76
Merge pull request #1580 from PedroFonsecaDEV/issue-1500
HyperTHD Jan 22, 2021
d2c3e10
Merge pull request #1582 from HyperTHD/issue-1539
yuanLeeMidori Jan 22, 2021
0c9c86e
Merge pull request #1581 from PedroFonsecaDEV/issue-1470
HyperTHD Jan 22, 2021
8f22e42
Fix #1459: Added Post and Posts to NextJS (#1504)
rogercyyu Jan 22, 2021
8f21bd5
Merge pull request #1487 from chrispinkney/issue-1463
chrispinkney Jan 22, 2021
0a23cf5
Revert "Merge pull request #1487 from chrispinkney/issue-1463"
humphd Jan 22, 2021
1790ff7
Update README with Netlify badge for next.js builds
humphd Jan 22, 2021
52d9b5e
Fix #1589 - make sure that NEXT_PUBLIC_API_URL is set locally and in …
humphd Jan 22, 2021
f35311a
Release 1.5.0
humphd Jan 22, 2021
7b4bcaa
Added out into Prettier Ignore
Jan 22, 2021
1f36bf9
Added Slash, removed dot, Prettier Check Passes
Metropass Jan 22, 2021
41f7eb2
Removed Root
Metropass Jan 23, 2021
24d8412
*Add white color to MUI theme
PedroFonsecaDEV Jan 23, 2021
c7dcb3e
make post component's author element inline instead of block
yuanLeeMidori Jan 23, 2021
1e4c627
Merge pull request #1602 from yuanLeeMidori/issue-1597
yuanLeeMidori Jan 23, 2021
cf6964c
Merge pull request #1594 from Metropass/master
Metropass Jan 24, 2021
0fb54ea
Added more node versions to GH actions for testing (#1569)
c3ho Jan 24, 2021
131ca16
feat: add filter for different type of actions in production
manekenpix Jan 23, 2021
fa80546
Merge pull request #1599 from PedroFonsecaDEV/issue-1596
PedroFonsecaDEV Jan 24, 2021
e06a11a
Merge pull request #1600 from manekenpix/prod-filter
manekenpix Jan 24, 2021
8cbf8af
fixes: older docker images which weren't tagged wouldn't be removed (…
raygervais Jan 24, 2021
8cf894c
Added BannerDynamicItems component, and mocked DynamicImage component
chrispinkney Jan 26, 2021
6392b56
Merge pull request #1613 from chrispinkney/issue-1612
chrispinkney Jan 27, 2021
67ed296
Fixes: 1595 - [next] Infinite Scrolling of Posts is broken (All of ou…
PedroFonsecaDEV Jan 27, 2021
68eda01
Fix #1620: useUser() should always return a valid User object
humphd Jan 29, 2021
c385eaa
Allow proxying next's webpack dev server (add unsafe-eval CSP for scr…
humphd Jan 29, 2021
9ef6b49
Added about.mdx, mdx library, removed distdir line in next.config.js
chrispinkney Jan 29, 2021
228ad49
fix #1494: Port adminbutton to [next] (#1619)
yuanLeeMidori Jan 29, 2021
ae1542d
Updated FeedHash and made initial ExistingFeedList component
HyperTHD Jan 27, 2021
5e4b11d
Modified deletionCallback prop
HyperTHD Jan 27, 2021
f343c9d
Restructed to ES6 format
HyperTHD Jan 29, 2021
401e8c6
Simplified areEquals function definition
HyperTHD Jan 29, 2021
6e7f01e
added debugging file
mamadou-diallo Dec 11, 2020
ba81824
Update debugging.md
mamadou-diallo Dec 11, 2020
2f7960a
Ported SEO component and implemented metas in _document (#1566)
tonyvugithub Jan 30, 2021
a256467
feat: add octokig/webhooks in autodeployment server
manekenpix Jan 30, 2021
eb66470
Merge pull request #1626 from manekenpix/issues/1604-octokit-webhooks
manekenpix Feb 1, 2021
91730f4
Ported myfeeds page (#1505)
tonyvugithub Feb 1, 2021
d15b813
Ported SearchResults to Next.js and fixed styling on search error
rjayroso Jan 29, 2021
ea77691
Fix #1629: improve next.js auth handling
humphd Feb 1, 2021
6ff06ea
Merge pull request #1631 from humphd/issue-1629
HyperTHD Feb 2, 2021
1a17008
Merge pull request #1625 from rjayroso/issue-1546
rjayroso Feb 2, 2021
24d16f4
Fix #1492 - intial work on DynamicImage component for next
humphd Feb 2, 2021
8c47ca8
Fix #1488: add tests to confirm we don't have XSS issues (#1635)
humphd Feb 3, 2021
e05ca9f
[CI/CD] Fixes #1301: Created automated release workflow (#1628)
birtony Feb 3, 2021
9c45114
linter: remove 'Prefer async/await to callback' rule from .eslintrc
manekenpix Feb 3, 2021
bfc70b7
Merge pull request #1639 from manekenpix/issues/1396-remove-callback-…
manekenpix Feb 3, 2021
2a50c62
Added Dark theme (#1637)
tonyvugithub Feb 3, 2021
7621974
netlify: force rebuild with every merge to avoid failed message in badge
manekenpix Feb 3, 2021
16e1244
Merge pull request #1640 from manekenpix/fix-netlify-badge
manekenpix Feb 3, 2021
c8ca5f0
Configure npm version to run tests and push (#1648)
birtony Feb 4, 2021
cfb122c
Updated production server to run on port 8000 instead of default 3000…
tonyvugithub Feb 4, 2021
e1e34c5
Port SearchPage from Gatsby to NextJS
c3ho Jan 20, 2021
8ebd0e9
Merge pull request #1583 from c3ho/SearchPage2
c3ho Feb 4, 2021
236a160
[next] Fixes #1484: Re-Adds the Search page component (#1621)
chrispinkney Feb 5, 2021
5e2360d
Fixed theme toggle button disappear when there is error of loading po…
tonyvugithub Feb 5, 2021
3f41cec
Update react from 16 to 17
PedroFonsecaDEV Feb 5, 2021
fc7bbe8
Merge pull request #1656 from PedroFonsecaDEV/issue-1653
PedroFonsecaDEV Feb 5, 2021
6ad9211
refactor(next): Fixed #1446 - Migrated headers to Next.js and TS
izhuravlev Feb 5, 2021
dfc8e16
Merge pull request #1659 from izhuravlev/issue-1446
izhuravlev Feb 5, 2021
58de1bf
Release 1.6.0
birtony Feb 5, 2021
8bbca76
feat: New Logo
PedroFonsecaDEV Feb 6, 2021
b43c280
feat: New Logo
PedroFonsecaDEV Feb 6, 2021
de55275
feat: New Logo
PedroFonsecaDEV Feb 6, 2021
2a44638
feat: New Logo
PedroFonsecaDEV Feb 6, 2021
af3f6bf
Merge pull request #1665 from PedroFonsecaDEV/issue-1664
PedroFonsecaDEV Feb 7, 2021
226fc21
fix(frontend): remove autofocus to eliminate ESlint warning about aut…
manekenpix Feb 7, 2021
f25e50d
Fix unclickable logo
yuanLeeMidori Feb 7, 2021
2e98b35
Merge pull request #1669 from manekenpix/issues/1439-gatsby-warnings
manekenpix Feb 7, 2021
9600d55
Fix mobile header logo
yuanLeeMidori Feb 7, 2021
264d6cb
Merge branch 'master' of https://github.com/Seneca-CDOT/telescope int…
yuanLeeMidori Feb 7, 2021
b6f11c7
Merge pull request #1670 from yuanLeeMidori/issue-1661
HyperTHD Feb 8, 2021
b336411
fix(linter): remove 'Prefer await to then()' rule
manekenpix Feb 8, 2021
3100f79
Merge pull request #1671 from manekenpix/remove-then-eslint-rule
manekenpix Feb 8, 2021
c59db4e
Install Robot font on next frontend
PedroFonsecaDEV Feb 8, 2021
6fc8f49
fix: Next Font
PedroFonsecaDEV Feb 8, 2021
2105165
Merge pull request #1673 from PedroFonsecaDEV/issue-1672
PedroFonsecaDEV Feb 10, 2021
9b5fb39
type(ci): Removed release-it from dependencies (#1685)
birtony Feb 10, 2021
909731e
docs(update): Updated release documentation
birtony Feb 4, 2021
8edf4c5
Merge pull request #1650 from Seneca-CDOT/issue1632
HyperTHD Feb 10, 2021
7422c55
Porting Banner to Next [1616] (#1667)
Feb 10, 2021
e28927a
Added Legacy Dependancies Check
Metropass Feb 11, 2021
b9371a3
Merge pull request #1694 from Metropass/rebase-npm7-fix
Metropass Feb 11, 2021
a32d78b
Fix Banner image size in big resolution over 1920px issue-1683 (#1702)
Feb 12, 2021
3dd0b46
Adding no result picture, and style
NathanPang001 Nov 19, 2020
9086c98
refactor(frontend) Fixed #1376 - Added No-Results-Found image to Gats…
izhuravlev Feb 12, 2021
f9c8643
Merge pull request #1700 from izhuravlev/c-Issue-1376
izhuravlev Feb 12, 2021
955f2e1
New logo with a red dot
PedroFonsecaDEV Feb 12, 2021
7cce274
Merge pull request #1698 from PedroFonsecaDEV/issue-1697
PedroFonsecaDEV Feb 12, 2021
af9c6d0
Install Fonts: Roboto and Spartan
PedroFonsecaDEV Feb 12, 2021
96c6d11
Add fonts to _app.tsx
PedroFonsecaDEV Feb 12, 2021
a8357d8
Remove deprecated font: "typeface-roboto"
PedroFonsecaDEV Feb 12, 2021
c8187fb
fix: Next Font deprecated
PedroFonsecaDEV Feb 12, 2021
5b825b6
Merge pull request #1699 from PedroFonsecaDEV/issue-1686_font
PedroFonsecaDEV Feb 12, 2021
59ac8be
feat(dependencies): Created config file for Dependabot (#1707)
birtony Feb 13, 2021
90397ee
chore: bump highlight.js from 10.4.1 to 10.6.0 in /src/frontend/next
dependabot[bot] Feb 13, 2021
c1500db
Merge pull request #1713 from Seneca-CDOT/dependabot/npm_and_yarn/src…
manekenpix Feb 13, 2021
efa20ed
chore: bump cross-env from 7.0.2 to 7.0.3
dependabot[bot] Feb 13, 2021
cee546d
Merge pull request #1709 from Seneca-CDOT/dependabot/npm_and_yarn/cro…
dependabot[bot] Feb 13, 2021
cba5b92
chore: bump material-ui-popup-state in /src/frontend/gatsby
dependabot[bot] Feb 13, 2021
0c383d8
Merge pull request #1729 from Seneca-CDOT/dependabot/npm_and_yarn/src…
dependabot[bot] Feb 13, 2021
5401200
chore: bump fast-xml-parser from 3.17.4 to 3.18.0
dependabot[bot] Feb 13, 2021
a9930ed
Merge pull request #1721 from Seneca-CDOT/dependabot/npm_and_yarn/fas…
manekenpix Feb 13, 2021
ddf8dcf
chore: bump entities from 2.1.0 to 2.2.0
dependabot[bot] Feb 13, 2021
b32ebcc
Merge pull request #1717 from Seneca-CDOT/dependabot/npm_and_yarn/ent…
manekenpix Feb 13, 2021
21aa743
Fix #1730 - reduce dependabot frequency, scope (#1731)
humphd Feb 13, 2021
b7f4803
POC of image service
humphd Feb 2, 2021
7a05bc0
Remove dependabot until we can better understand it
humphd Feb 13, 2021
1fee526
Adjusted light theming color for UI 2.0
tonyvugithub Feb 11, 2021
ee216d3
Back to old colors.
PedroFonsecaDEV Feb 14, 2021
fbd8dbc
Remove Banner from Search page
PedroFonsecaDEV Feb 14, 2021
6617d33
Header Height Fix
PedroFonsecaDEV Feb 14, 2021
b8579e0
Fix Post Title Padding.
PedroFonsecaDEV Feb 14, 2021
586d08a
Mobile Header Height Fixed
PedroFonsecaDEV Feb 14, 2021
a272da9
Fix Post title paddingBottom breakpoint 1440
PedroFonsecaDEV Feb 14, 2021
c0a9cdd
fix:1734 and others
PedroFonsecaDEV Feb 14, 2021
512c721
Fix Banner ScrollAction Position
PedroFonsecaDEV Feb 14, 2021
9c3869d
Merge pull request #1738 from PedroFonsecaDEV/issue-#1734
PedroFonsecaDEV Feb 14, 2021
db49112
Fixes #1663 - rewrote LoggedIn and LoggedOut components
izhuravlev Feb 12, 2021
cbf8924
Merge pull request #1703 from izhuravlev/Issue-1663
izhuravlev Feb 14, 2021
2919f2c
Fix #1420 - site crash when no post found (#1742)
DukeManh Feb 15, 2021
3cc375e
Fixed issue #1682 - rewrote buttons to be clickable on the entire bot…
izhuravlev Feb 12, 2021
c9b73bf
Merge pull request #1701 from izhuravlev/Issue-1682
izhuravlev Feb 15, 2021
5af3218
Remove release-it.json
yuanLeeMidori Feb 16, 2021
4e0ee81
Merge pull request #1747 from yuanLeeMidori/issue-1740
yuanLeeMidori Feb 16, 2021
1ed856c
Update these packages:
yuanLeeMidori Feb 16, 2021
b1357f0
Fix #1630 - triggering search via URL
DukeManh Feb 14, 2021
ad84d43
Merge pull request #1748 from yuanLeeMidori/update-dependencies
yuanLeeMidori Feb 16, 2021
ea1effa
Merge pull request #1741 from DukeManh/issue-1630_b
PedroFonsecaDEV Feb 16, 2021
882b107
chore: bump @next/mdx from 10.0.6 to 10.0.7 (#1749)
birtony Feb 16, 2021
2adad69
Add vercel.json see https://vercel.com/docs/configuration
humphd Feb 16, 2021
359601c
[SearchResults] - fix search results bugs (#1745)
DukeManh Feb 16, 2021
1c9044d
chore: bump @types/node from 14.14.8 to 14.14.28 in src/frontend/next…
birtony Feb 16, 2021
38cf571
chore: bump @types/react from 16.9.51 to 17.0.2 in src/frontend/next …
birtony Feb 16, 2021
b8cbdce
chore: bump next version from 10.0.2 to 10.0.7 in src/frontend/next (…
birtony Feb 17, 2021
109c4fc
Initial Typescript Documentation
HyperTHD Feb 11, 2021
85f8b1a
Consolidated frontend info and renamed theme docs to front-end.md
HyperTHD Feb 16, 2021
faef920
Merge pull request #1695 from HyperTHD/issue-1557
HyperTHD Feb 17, 2021
338b8da
chore: bump react-material-ui-form-validator from 2.1.2 to 2.1.4 (#1757)
birtony Feb 17, 2021
cb40048
chore: bump swr from 0.4.0 to 0.4.2 in src/frontend/next
birtony Feb 17, 2021
8a5543c
chore: bump typescript from 4.1.2 to 4.1.5 in src/frontend/next (#1759)
birtony Feb 17, 2021
2964f02
chore: bump @octokit/webhooks and date-fns (#1761)
birtony Feb 17, 2021
79b38ab
chore: bump react-use from 15.3.8 to 17.1.1 in src/frontend/next (#1760)
birtony Feb 17, 2021
ebdf54b
chore: bump highlight.js from 10.4.1 to 10.6.0 (#1763)
birtony Feb 17, 2021
d0f79a6
Fix #1753 - Link author name to their feed URL
DukeManh Feb 16, 2021
a126126
refactor(ci): refactored Dependabot configuration
birtony Feb 17, 2021
4e69755
Merge pull request #1762 from Seneca-CDOT/issue1647-volume2
HyperTHD Feb 17, 2021
6001b1d
Fix #1764 - Add mobile anchor on Search page
DukeManh Feb 17, 2021
21d4c4d
chore: Update bull-board (#1768)
yuanLeeMidori Feb 17, 2021
8a942fe
chore: bump express-handlebars from 5.2.0 to 5.2.1
dependabot[bot] Feb 17, 2021
ef10eb5
Merge pull request #1766 from Seneca-CDOT/dependabot/npm_and_yarn/exp…
dependabot[bot] Feb 17, 2021
747a96b
chore: bump express-pino-logger from 5.0.0 to 6.0.0
dependabot[bot] Feb 18, 2021
7bad48e
Merge pull request #1770 from Seneca-CDOT/dependabot/npm_and_yarn/exp…
dependabot[bot] Feb 18, 2021
a7e8671
chore: bump sanitize-html from 1.27.4 to 2.3.2
dependabot[bot] Feb 18, 2021
62be19a
Merge pull request #1771 from Seneca-CDOT/dependabot/npm_and_yarn/san…
dependabot[bot] Feb 18, 2021
c7234e0
chore: bump husky from 4.3.0 to 5.0.9
dependabot[bot] Feb 18, 2021
07a84b7
Merge pull request #1772 from Seneca-CDOT/dependabot/npm_and_yarn/hus…
dependabot[bot] Feb 18, 2021
126c3a7
chore: bump supertest from 4.0.2 to 6.1.3
dependabot[bot] Feb 18, 2021
898dc5c
Merge pull request #1773 from Seneca-CDOT/dependabot/npm_and_yarn/sup…
dependabot[bot] Feb 18, 2021
f4f18df
Added ToggleThemeButton to Header and persist theme value to localSto…
tonyvugithub Feb 8, 2021
c7a5320
Removed unnecessary <Head> and <meta> tags
chrispinkney Feb 18, 2021
1ef97c6
Modified import of ThemeToggleButton in DesktopHeader
tonyvugithub Feb 18, 2021
5149498
fix:1784 - Post search input bug
PedroFonsecaDEV Feb 19, 2021
83d4f82
Added markdown-pages/about.md (to be rendered by MDX)
chrispinkney Feb 4, 2021
1574a12
#1750 - fixed Login component display in Dark Mode (#1788)
izhuravlev Feb 19, 2021
6c3292f
Merge pull request #1785 from PedroFonsecaDEV/issue-1784
PedroFonsecaDEV Feb 19, 2021
dc63f1e
Temproralily remove dark theme
PedroFonsecaDEV Feb 19, 2021
f3a1f06
Merge pull request #1786 from PedroFonsecaDEV/band-aid-1.7-theme
PedroFonsecaDEV Feb 19, 2021
9e63d77
Moved character values from comment into test data
Metropass Feb 19, 2021
426b5fd
Ported ErrorPage from Gatsby to Next
rjayroso Feb 16, 2021
1210a60
Added Comments for Logger Discussion
Metropass Feb 19, 2021
1a9f418
adjust image size in blog post
yuanLeeMidori Feb 18, 2021
8afe55f
refactor: Fix # 1733, switch to next frontend on staging/prod
humphd Feb 19, 2021
374185c
nobug - Fixing nginx volume path for next
humphd Feb 19, 2021
84f905d
nobug - missing frontend path in Dockerfile (Abdul)
humphd Feb 19, 2021
e2efdc6
Remove Gatsby and related references from our tree (#1793)
humphd Feb 19, 2021
17872fb
Release 1.7.0
birtony Feb 19, 2021
bafa23b
Updated Logo icon location
HyperTHD Feb 19, 2021
29b7ee6
refactor: move src/frontend/next to src/web
manekenpix Feb 20, 2021
15336c8
Merge pull request #1800 from manekenpix/issues/1797-next-to-web
manekenpix Feb 20, 2021
bc389b6
chore: remove gatsby dependencies from telescope's Dockerfile
manekenpix Feb 20, 2021
cd045f4
Merge pull request #1798 from manekenpix/docker-gatsby-deps
manekenpix Feb 20, 2021
1c7f568
Adjusted Light Theming for UI 2.0 and updated front-end.md
tonyvugithub Feb 21, 2021
27fa45b
Fix eslint and prettier for repo updates
humphd Feb 21, 2021
4d30f46
chore: bump ioredis-mock from 5.2.2 to 5.2.4
dependabot[bot] Feb 22, 2021
6b36eee
Temporary fix for dev.to RSS bug https://github.com/forem/forem/pull/…
humphd Feb 22, 2021
cc8151f
Merge pull request #1816 from humphd/temp-fix-devto-feed-bug
HyperTHD Feb 22, 2021
58bd5c0
Included open.spotify and cdn.embedly.com to list of allowed iframe s…
HyperTHD Feb 22, 2021
abe5edc
Included cdn.embedly.com test
HyperTHD Feb 23, 2021
aff6aa0
Merge pull request #1817 from HyperTHD/issue-1815
HyperTHD Feb 23, 2021
50ebb7e
Change traefik to use /v1/service-name URLs vs. subdomains
humphd Feb 21, 2021
fc11172
node-fetch and env.example
PedroFonsecaDEV Dec 12, 2020
9824fc4
packages
PedroFonsecaDEV Dec 13, 2020
b54a59f
rebase feb 24
PedroFonsecaDEV Dec 13, 2020
4eea55b
Update env variable name to SLACK_WEBHOOK_URL
PedroFonsecaDEV Jan 18, 2021
5814703
docs updated
PedroFonsecaDEV Jan 18, 2021
66224b3
firstCheck import as healthCheck
PedroFonsecaDEV Jan 18, 2021
9f47c25
linter check for unused expressions
PedroFonsecaDEV Jan 18, 2021
02135d6
*checkers timers to env file
PedroFonsecaDEV Jan 18, 2021
124d21d
add image to doc
PedroFonsecaDEV Jan 18, 2021
9553557
images update
PedroFonsecaDEV Jan 20, 2021
3041f16
continue
PedroFonsecaDEV Feb 24, 2021
815fae0
test
PedroFonsecaDEV Feb 24, 2021
9f00714
*fixing urls:
PedroFonsecaDEV Feb 24, 2021
518ff89
update MD
PedroFonsecaDEV Feb 24, 2021
2db134a
rename firstCheck to healthCheck
PedroFonsecaDEV Feb 24, 2021
8aba7af
Update env.example and code
PedroFonsecaDEV Feb 24, 2021
11b5313
add alt text
PedroFonsecaDEV Feb 24, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Ignore Gatsby Top Layout Plugin
src/frontend/gatsby/plugins/gatsby-plugin-top-layout
# Ignore generated folders in Gatsby
src/frontend/gatsby/public
src/frontend/gatsby/.cache
# We run eslint directly in the next frontend with its own config
src/frontend/next/.next
# Ignore the build directories for next
src/web/out
src/web/.next
37 changes: 8 additions & 29 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,20 @@ module.exports = {
plugins: ['prettier', 'promise', 'react', 'react-hooks'],
settings: {
react: {
version: '16.13',
version: 'detect',
},
},
overrides: [
// TypeScript for Next.js
{
files: ['src/frontend/next/**/*.ts', 'src/frontend/next/**/*.tsx'],
files: ['src/web/**/*.ts', 'src/web/**/*.tsx'],
plugins: ['@typescript-eslint'],
env: {
browser: true,
},
rules: {
'react/prop-types': 'off',
'react/require-default-props': 'off',
'react/react-in-jsx-scope': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'react/jsx-filename-extension': ['error', { extensions: ['.ts', '.tsx'] }],
Expand All @@ -45,24 +49,9 @@ module.exports = {
},
},

// JavaScript for Gatsby
{
files: ['src/frontend/gatsby/**/*.js', 'src/frontend/gatsby/**/*.jsx'],
env: { node: true, browser: true, jest: true },
rules: {
'react/jsx-filename-extension': ['error', { extensions: ['.js', '.jsx'] }],
'react/jsx-uses-react': 'error',
'react/forbid-prop-types': 'off',
'react/require-default-props': 'off',
'import/extensions': 'off',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': 'off',
},
},

// JavaScript for Node.js
{
files: ['src/backend/**/*.js', 'src/tools/**/*.js'],
files: ['src/backend/**/*.js', 'tools/**/*.js', 'src/api/**/*.js'],
env: {
node: true,
},
Expand Down Expand Up @@ -131,20 +120,10 @@ module.exports = {
* https://eslint.org/docs/rules/func-names
*/
'linebreak-style': 'off',
/**
* The following are eslint rules from the promise-plugin
* https://github.com/xjamundx/eslint-plugin-promise
*/
/**
* Prefer wait to then() for reading Promise values
*/
'promise/prefer-await-to-then': 'warn',

/**
* Prefer async/await to the callback pattern
* Prevent variables used in JSX to be incorrectly marked as unused
*/
'promise/prefer-await-to-callbacks': 'warn',

'react/jsx-uses-vars': 'error',

/**
Expand Down
55 changes: 55 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
# Root package.json
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
# Use Eastern Standard Time (UTC -05:00)
timezone: 'America/Toronto'
open-pull-requests-limit: 1
commit-message:
prefix: 'chore: '
reviewers:
- 'Seneca-CDOT/telescope-maintainers'
labels:
- 'dependencies'
# Disable automatic rebasing
rebase-strategy: 'disabled'

# Next Front-End
- package-ecosystem: 'npm'
directory: '/src/web'
schedule:
interval: 'weekly'
timezone: 'America/Toronto'
open-pull-requests-limit: 1
commit-message:
prefix: 'chore: '
reviewers:
- 'Seneca-CDOT/telescope-maintainers'
labels:
- 'dependencies'
- 'area: nextjs'
rebase-strategy: 'disabled'

# Auto-deployment Server
- package-ecosystem: 'npm'
directory: '/tools/autodeployment'
schedule:
interval: 'weekly'
timezone: 'America/Toronto'
open-pull-requests-limit: 1
commit-message:
prefix: 'chore: '
reviewers:
- 'Seneca-CDOT/telescope-maintainers'
labels:
- 'dependencies'
- 'area: autodeployment'
rebase-strategy: 'disabled'
2 changes: 1 addition & 1 deletion .github/workflows/node-js-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [12.x]
node-version: [12.x, 14.x]

steps:
- uses: actions/checkout@v2
Expand Down
79 changes: 79 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Create Release

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '[0-9]+.[0-9]+.[0-9]+' # Push events to any matching semantic tag. For example, 1.10.1 or 2.0.0.
# For more details, see https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
# and https://docs.npmjs.com/about-semantic-versioning

jobs:
build:
runs-on: ${{matrix.os}}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: Test
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- run: npm install
- run: cp env.example .env
- run: npm run test
Prettier-Check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm install && npm run prettier-check
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm install && npm run eslint
release:
needs: [build, Prettier-Check, Lint]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog
env:
REPO: ${{ github.repository }}
- name: Create Release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
${{ steps.Changelog.outputs.changelog }}
draft: false
prerelease: false
6 changes: 6 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ save-exact=true

# Allow running postinstall script in Docker
unsafe-perm=true

# Set empty tag version prefix
tag-version-prefix=""

#Set legacy peer dependencies to 'true', (needed for npm7.x compatibility for now)
legacy-peer-deps=true
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package-lock.json
node_modules/
coverage/
certs
public
.cache
.next
out
15 changes: 0 additions & 15 deletions .release-it.json

This file was deleted.

12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
FROM node:lts-alpine as build

# Tini Entrypoint for Alpine
# These modules are needed to build mozjpeg
RUN apk add autoconf automake nasm libtool gcc make g++ tiff jpeg zlib zlib-dev pkgconf file musl-dev
# util-linux required by gatsby to optimize builds using multiple cores
# util-linux required to optimize builds using multiple cores
RUN apk add --no-cache tini util-linux
ENTRYPOINT [ "/sbin/tini", "--"]

Expand All @@ -26,7 +24,7 @@ WORKDIR "/telescope"
# Copy package.jsons for each service
COPY package.json .
COPY .env .
COPY ./src/frontend/gatsby/package.json ./src/frontend/gatsby/package.json
COPY ./src/web/package.json ./src/web/package.json

# -------------------------------------
# Context: Dependencies
Expand All @@ -39,13 +37,13 @@ FROM build AS backend_dependencies
RUN npm install --only=production --no-package-lock --ignore-scripts

FROM backend_dependencies as frontend_dependencies
RUN cd ./src/frontend/gatsby && npm install --no-package-lock
RUN cd ./src/web && npm install --no-package-lock

# -------------------------------------
# Context: Front-end Builder
FROM frontend_dependencies as builder

COPY ./src/frontend/gatsby ./src/frontend/gatsby
COPY ./src/web ./src/web
COPY ./.git ./.git

RUN npm run build
Expand All @@ -56,7 +54,7 @@ FROM build AS release

# GET production code from previous containers
COPY --from=backend_dependencies /telescope/node_modules /telescope/node_modules
COPY --from=builder /telescope/src/frontend/gatsby/public /telescope/src/frontend/gatsby/public
COPY --from=builder /telescope/src/web/out /telescope/src/web/out
COPY --from=builder /telescope/.git /telescope/.git
COPY ./src/backend ./src/backend

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Telescope <img align="left" width="150" height="150" src=https://github.com/Seneca-CDOT/telescope/blob/master/src/frontend/gatsby/src/images/logo.svg>
# Telescope <img align="left" width="150" height="150" src=https://github.com/Seneca-CDOT/telescope/blob/master/src/web/public/logo.svg>

[![CircleCI](https://circleci.com/gh/Seneca-CDOT/telescope.svg?style=svg)](https://circleci.com/gh/Seneca-CDOT/telescope)
[![js-airbnb/prettier-style](https://img.shields.io/badge/code%20style-airbnb%2Fprettier-blue)](https://github.com/airbnb/javascript)
Expand Down
4 changes: 4 additions & 0 deletions bin/services-clean.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env node
const { clean } = require('../tools/services');

clean();
6 changes: 6 additions & 0 deletions bin/services-logs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env node
const { logs } = require('../tools/services');

// Pass the names of services to show logs. At least one is required
const argv = process.argv.slice(3);
logs(argv);
6 changes: 6 additions & 0 deletions bin/services-start.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env node
const { start } = require('../tools/services');

// Pass the names of services to start, or none to start all
const argv = process.argv.slice(3);
start(argv);
4 changes: 4 additions & 0 deletions bin/services-stop.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env node
const { stop } = require('../tools/services');

stop();
2 changes: 1 addition & 1 deletion docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
- elasticsearch
volumes:
# Volume to be shared with nginx for serving static content
- static:/telescope/src/frontend/gatsby/public
- static:/telescope/src/web/out
# Volume to be shared for log rotation
- rotate:/telescope/log
restart: always
Expand Down
Loading