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

Updates Web3dev's deployment of Forem to latest version #6

Open
wants to merge 1,101 commits into
base: web3dev-version
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1101 commits
Select commit Hold shift + click to select a range
ed1b404
Auto confirm flag reactions when spam role is assigned (#20797)
lightalloy Mar 27, 2024
f616178
Add test to mark profile as spam (#20800)
PhilipHow Mar 27, 2024
58b7f2e
Update sass-loader to version 13.3.3 (#20798)
depfu[bot] Mar 27, 2024
ec32a8e
skip unnecessary history pushes and preserve intuitive forward/back (…
tinkermakar Mar 27, 2024
51316c7
Comments count according to display rules in feed (#20753)
lightalloy Mar 28, 2024
0695300
typo fix on PR #20762 (#20804)
tinkermakar Mar 28, 2024
2c0c446
Resolve sidekiq warning (#20805)
medwards1771 Mar 28, 2024
eb45207
Update confirmation email wording (#20806)
PhilipHow Mar 28, 2024
d3e8b06
Update to Ruby 3.3 (#20739)
Mar 28, 2024
40a834e
Fix flaky Ahoy::Event spec (#20811)
Mar 28, 2024
09705da
Declare winner in digest count test (#20810)
benhalpern Mar 28, 2024
fe0d943
Remove redundant sidekiq configuration (#20807)
medwards1771 Mar 29, 2024
93c2bab
Specs for adding tag mods (#20815)
lightalloy Mar 29, 2024
75b7121
prevent switchHelpContext from triggering if the preview is open. (#…
GwartneyDev Apr 1, 2024
b6fa936
Customize ahoy email to track clicks async without redirect (#20809)
benhalpern Apr 1, 2024
81aa786
Resolve knapsack-cypress's issue with forks (#20824)
Apr 1, 2024
a0b68a6
Ensure article score recalculation for all vomit status changes (#20…
PhilipHow Apr 2, 2024
8c71491
Fix ahoy's tracking spec [skip ci] (#20825)
Apr 2, 2024
64197af
Update all development Bundler dependencies (2024-04-01) (#20823)
depfu[bot] Apr 2, 2024
23b9516
Update CI's compiled-assets' cache-key (#20827)
Apr 2, 2024
e22e628
[CI] Re-arrange create-cache.yml (#20829)
Apr 2, 2024
0d873a4
Show "Resend Confirmation email" option on users profile when email …
PhilipHow Apr 3, 2024
35848e4
Digest config (#20834)
benhalpern Apr 3, 2024
6e5dacc
Update edge VSCode extension (#20818)
medwards1771 Apr 3, 2024
d84b0a9
[CI] Resolves compiled-assets caching issue (#20836)
Apr 3, 2024
c6a3e00
(Hopefully) final ahoy email tweak (#20835)
benhalpern Apr 3, 2024
0cc9cc0
[CI] Resolves compiled-assets caching issue (2) (#20837)
Apr 3, 2024
03477f2
Remove .env.test symlink (#20839)
Apr 5, 2024
8551262
Update the mdx vscode extension (#20840)
medwards1771 Apr 5, 2024
7cc3860
Update @cypress/code-coverage to version 3.12.30 (#20803)
depfu[bot] Apr 5, 2024
ef0879f
Update ruby VSCode extensions for debugging (#20816)
medwards1771 Apr 8, 2024
42d16e1
Update esbuild to version 0.19.12 (#20841)
depfu[bot] Apr 9, 2024
ff8ac04
Update eslint to version 8.57.0 (#20853)
depfu[bot] Apr 9, 2024
58fa8d5
fix: remove listings option from views/dashboards/_actions_mobile.htm…
joaoGabriel55 Apr 9, 2024
31c982a
Update eslint-import-resolver-webpack to version 0.13.8 (#20854)
depfu[bot] Apr 9, 2024
ed837eb
add timestamp to users roles table (#20844)
PhilipHow Apr 9, 2024
8884a64
Update eslint-plugin-import to version 2.29.1 (#20855)
depfu[bot] Apr 9, 2024
9b15329
Adjust digest rate if recent clicks tracked (#20838)
benhalpern Apr 10, 2024
cbae624
Add billboards to digest emails (#20862)
benhalpern Apr 15, 2024
99517df
Add subheader a/b test to digest (#20864)
benhalpern Apr 15, 2024
74be076
Add Algoliasearch-rails gem (#20866)
Apr 16, 2024
6bd914e
Update README.md (#20868)
Apr 18, 2024
2129ae1
Update style for new reply email (#20861)
PhilipHow Apr 19, 2024
d587ba9
Add AlgoliaSearchable for User (#20869)
Apr 19, 2024
495a72e
Update @etchteam/storybook-addon-css-variables-theme to version 1.6.0…
depfu[bot] Apr 19, 2024
a2b078e
Add Algoliasearch js client (#20871)
benhalpern Apr 19, 2024
154cd20
Add safe navigation to article.displayable_published_at.year (#20873)
benhalpern Apr 19, 2024
4d4cd87
Declare winner in digest email subheader test (#20877)
benhalpern Apr 22, 2024
0675272
Update digest schedule (#20865)
benhalpern Apr 22, 2024
f4c48fc
Add new article billboard locations (#20878)
benhalpern Apr 22, 2024
91810ba
Add new headers a/b test for digest mailer (#20881)
benhalpern Apr 22, 2024
ed4843e
Change digest rake to new schedule (#20884)
benhalpern Apr 23, 2024
c44a2dc
Add AlgoliaSearchable for Organization (#20883)
Apr 23, 2024
3ceb9a1
Allow some badges to be awarded multiple times (#20876)
PhilipHow Apr 23, 2024
493021c
Update @babel/plugin-transform-private-methods to version 7.24.1 (#20…
depfu[bot] Apr 23, 2024
55e766f
Update eslint-plugin-cypress to version 2.15.2 (#20886)
depfu[bot] Apr 24, 2024
2ac1095
Update @cypress/code-coverage to version 3.12.36 (#20887)
depfu[bot] Apr 24, 2024
b17b323
Update ahoy.js to version 0.4.4 (#20889)
depfu[bot] Apr 24, 2024
7559397
Add AlgoliaSearchable to Tag (#20888)
Apr 24, 2024
1895237
Add AlgoliaSearchable to Podcast (#20890)
Apr 24, 2024
7a604e8
Increment Algolia search frontend (#20891)
benhalpern Apr 25, 2024
39c4731
Update @honeybadger-io/js to version 6.9.1 (#20893)
depfu[bot] Apr 25, 2024
f64863b
Fix flaky ahoy spec (#20885)
Apr 25, 2024
13a0763
Update babel-plugin-module-resolver to version 5.0.2 (#20896)
depfu[bot] Apr 26, 2024
d5ba407
Add AlgoliaSearchable to Article (#20892)
Apr 26, 2024
7890944
Add AlgoliaSearchable to Comment (#20899)
Apr 26, 2024
1287c34
Add search branding option (#20902)
benhalpern Apr 29, 2024
0555a22
Update all development Bundler dependencies (2024-04-29) (#20901)
depfu[bot] Apr 29, 2024
82b9747
Update cypress to version 13.7.2 (#20897)
depfu[bot] Apr 29, 2024
88c5479
Update preact to version 10.20.2 (#20903)
depfu[bot] Apr 29, 2024
67c4897
Fix: copy to clipboard message (#20898)
IasmimCristina May 1, 2024
63fa1ee
Pick winner in header field test (#20911)
benhalpern May 1, 2024
b62ef2b
Updated the twitter icon to X icon - solved icon issue #20356 (#20910)
Darshan-Padia May 1, 2024
1b216d5
Add field test for Digest article list design (#20912)
benhalpern May 1, 2024
1cc59e0
Include cached user in select (#20913)
benhalpern May 2, 2024
7c3e5b2
update style for new follower email (#20908)
PhilipHow May 2, 2024
c32663f
Fix #19037 (#20917)
PhilipHow May 3, 2024
55701f4
Fix Twitter/X consistency (#20918)
benhalpern May 3, 2024
37c2fb1
Fix support for adding social image to the Pages API (#20916)
PhilipHow May 6, 2024
b3b0eaf
Implement MVP frontend for Algolia search (#20909)
benhalpern May 6, 2024
f3d09a2
[ruby] Update request_store 1.5.1 → 1.6.0 (minor) (#20738)
depfu[bot] May 6, 2024
2ed8c44
Update pg to version 1.5.6 (#20930)
depfu[bot] May 7, 2024
2f0fa89
Update rouge to version 4.2.1 (#20931)
depfu[bot] May 7, 2024
2ee84c6
Update terser to version 1.2.2 (#20932)
depfu[bot] May 7, 2024
34df26c
Put Algolia frontend behind feature flag (#20935)
benhalpern May 9, 2024
f77e348
Update omniauth-google-oauth2 to version 1.1.2 (#20933)
depfu[bot] May 9, 2024
149ae12
New badge display logic on user's profile (#20936)
PhilipHow May 9, 2024
3fccdcb
Revert "New badge display logic on user's profile (#20936)" (#20941)
May 9, 2024
40804ee
Remove unnecessary volume mount (#20945)
May 10, 2024
021213b
Redo: New badge display logic on user's profile (#20944)
PhilipHow May 10, 2024
f8df0e5
New Digest field test (#20939)
benhalpern May 10, 2024
b8dd675
Fix margin (#20946)
benhalpern May 10, 2024
d4747ba
Small search index modifion (#20947)
benhalpern May 13, 2024
c845a84
Tweak functionality of digest field test (#20948)
benhalpern May 13, 2024
3b7db20
Further search tweaking (#20949)
benhalpern May 13, 2024
e4ba9b8
Update fastimage to version 2.3.1 (#20938)
depfu[bot] May 13, 2024
5f0af3b
Update devise to version 4.9.4 (#20950)
depfu[bot] May 13, 2024
3e2fc33
Add search typeahead if enabled (#20955)
benhalpern May 16, 2024
8f3799b
Finalize optional Algolia indicator (#20957)
benhalpern May 16, 2024
f4a04bd
Fix Unable to Preview a Reply for a Comment Before Publishing it (#20…
joaoGabriel55 May 16, 2024
eca6d68
Update rexml to version 3.2.8 (#20958)
depfu[bot] May 17, 2024
a8ffeff
Display correct comments count in 'view full discussion' link (#20960)
lightalloy May 20, 2024
65b6ffb
Frontend style tweaks (#20964)
benhalpern May 20, 2024
832b30c
Update field tests (#20965)
benhalpern May 20, 2024
6868320
Add reaction categories to searchable (#20966)
benhalpern May 20, 2024
0c11abe
Removed showing and updating users payment pointers (#20963)
lightalloy May 21, 2024
3b71d65
Tweak site width (#20969)
benhalpern May 21, 2024
e799f2d
Create dependabot.yml (#20968)
benhalpern May 21, 2024
a9c94c0
Fix Algolia infinite loop (#20999)
benhalpern May 21, 2024
9d89be7
Actual proper fix for Algolia loop (#21000)
benhalpern May 21, 2024
42df8d7
Added spec for articles in the users profile (#21047)
lightalloy May 22, 2024
8a19b42
Remove user payment_pointer validation and related code (#21042)
lightalloy May 22, 2024
9921fa9
Update profile cache (#21050)
benhalpern May 22, 2024
f08ed31
Bust profile header cache on assigning/removing spam role (#21068)
lightalloy May 23, 2024
426668e
Add Media Store (#21070)
benhalpern May 23, 2024
fe1ffa8
Add browser/device context to billboards (#20953)
benhalpern May 23, 2024
86801b4
Do not nest cloudflare image results (#21088)
benhalpern May 24, 2024
6c1d9e6
Use safe navigation on user profiles (#21094)
benhalpern May 28, 2024
e0c7bb0
Simplify adjacent billboard logic (#21095)
benhalpern May 28, 2024
bc4c291
Rubocop fixes (#21091)
lightalloy May 28, 2024
d9bf847
Add tweaks to make onboarding tags more relevant (#21096)
benhalpern May 28, 2024
41f4f47
Remove Staccato gem and attempt to get fallback recording to work wit…
benhalpern May 29, 2024
b7886b0
Refactor billboard styles (#21101)
benhalpern May 29, 2024
4696cfc
Fix sidebar over-caching (#21102)
benhalpern May 30, 2024
494c21b
Tweak org ordering in admin (#21103)
benhalpern May 30, 2024
8c54bc2
Add tag moderators on users page (for admins) (#21090)
lightalloy May 30, 2024
123e612
Add safe nav to profile (#21100)
benhalpern May 30, 2024
6a4cb91
Noindex/Not found for spam orgs (#21105)
benhalpern May 30, 2024
cadf249
Add final email CTA to onboarding (#21109)
benhalpern Jun 2, 2024
b5d1b52
Bump Rails version (#21110)
benhalpern Jun 3, 2024
e84c335
Bump digest field test (#21107)
benhalpern Jun 3, 2024
3c367d6
Fix bottom margin on stats (#21114)
benhalpern Jun 3, 2024
b9c1b56
Add augmented content preferences and role (#21113)
benhalpern Jun 3, 2024
c5d11ac
Adjust digest email smarts (#21115)
benhalpern Jun 3, 2024
3bc748c
Update feed field tests june 4 (#21116)
benhalpern Jun 4, 2024
e48d16a
Safe nav on profile (#21118)
benhalpern Jun 4, 2024
07650db
Split up tasks to send DEV Digest (#21119)
benhalpern Jun 4, 2024
8cd64e6
Track billboard impressions and clicks in Digest (#21121)
benhalpern Jun 5, 2024
c45943e
Fix possible sending of Digest twice in day (#21122)
benhalpern Jun 5, 2024
7512b13
Upgrade Rails (#21123)
benhalpern Jun 5, 2024
23b7e18
Update billboard data when click occurs for digest (#21125)
benhalpern Jun 6, 2024
960810f
Record feed events for email (#21126)
benhalpern Jun 6, 2024
5090931
Catch format problem edge cases with exif strips (#21129)
benhalpern Jun 7, 2024
89517b7
Add new-only bucket for billboards (#21131)
benhalpern Jun 10, 2024
21bfe66
Tweak active discussions to include recently viewed posts (#21132)
benhalpern Jun 10, 2024
9077bc4
Adjust EmailDigestArticleCollector to provide more relevant fallback …
benhalpern Jun 11, 2024
4fa900d
Test number of active discussion threads to show (#21134)
benhalpern Jun 11, 2024
86d8370
Prefetch key resources on home page (#21135)
benhalpern Jun 11, 2024
161f647
Adjust EmailDigestArticleCollector query picker logic (#21137)
benhalpern Jun 12, 2024
582e6f7
Add card embed (beta) (#21139)
benhalpern Jun 12, 2024
2c1ec06
Patch popover-billboard style (#21140)
benhalpern Jun 12, 2024
01129cc
New feed test june 16 (#21142)
benhalpern Jun 16, 2024
ecb9a54
Fix experiment name (#21144)
benhalpern Jun 17, 2024
bcb0aab
New digest article ordering (#21145)
benhalpern Jun 17, 2024
713f983
Add index for organic_page_views_past_month_count (#21146)
benhalpern Jun 17, 2024
6842a67
Add rescue in send_periodic_digest_email (#21147)
benhalpern Jun 17, 2024
b94ae04
Article collector fallback (#21148)
benhalpern Jun 18, 2024
0c1070b
Order onboarding tags by hotness (#21151)
benhalpern Jun 18, 2024
7b102aa
Create profile if doesn't exist (#21150)
benhalpern Jun 18, 2024
94c61dd
Add aspect ratio config to logo (#21152)
benhalpern Jun 18, 2024
433b309
Adjust field tests for sidebar active discussions (#21155)
benhalpern Jun 24, 2024
547b0cf
Add new email feed event goal and new test (#21158)
benhalpern Jun 25, 2024
6272c6d
Fix wikipedia link (#21159)
benhalpern Jun 25, 2024
10193f2
New feed experiment (#21166)
benhalpern Jul 1, 2024
7d43af4
Add debounce to search (#21167)
benhalpern Jul 2, 2024
3a3bb14
Add algolia to tag search (#21168)
benhalpern Jul 3, 2024
359bb9d
Algolia index tweaks (#21170)
benhalpern Jul 3, 2024
2be2590
New active discussion tests (#21171)
benhalpern Jul 3, 2024
cbd630a
Add x.com to embed registry (#21172)
benhalpern Jul 3, 2024
731259e
Add target blank to outbound links (#21173)
benhalpern Jul 5, 2024
f4c42cf
Remove deprecated payment pointer and update other payment config/fun…
benhalpern Jul 9, 2024
dd1b353
Allow pages to have + symbol (#21175)
benhalpern Jul 9, 2024
2b387d5
Allow admin to optionally set score cap on post (#21177)
benhalpern Jul 10, 2024
e28ab8b
Update rexml (#21180)
benhalpern Jul 16, 2024
dfecd50
Algolia Insights tracking (#21179)
benhalpern Jul 17, 2024
d64f629
Finalize some field tests (#21181)
benhalpern Jul 18, 2024
d601c61
Add stripe logging (#21183)
benhalpern Jul 24, 2024
e7af2d0
Ben/stripe events 2 (#21184)
benhalpern Jul 24, 2024
5bcc6a4
Adjust stripe event listener (#21187)
benhalpern Jul 30, 2024
767e394
Modify key syntax (#21188)
benhalpern Jul 30, 2024
7ff071b
Add algolia recommendations (#21189)
benhalpern Jul 31, 2024
8523c54
Add footer billboard (#21190)
benhalpern Jul 31, 2024
a30cbd2
Fix top bar cache (#21191)
benhalpern Aug 1, 2024
0228303
Add baseline article score for base subscriber (#21192)
benhalpern Aug 2, 2024
ef54f8e
New feed winner (#21198)
benhalpern Aug 5, 2024
be0138b
Add user role names to body class (#21199)
benhalpern Aug 9, 2024
2a898e9
Add alias for billboard events (#21201)
benhalpern Aug 12, 2024
3398389
Adjust billboard event retabulation throttle (#21202)
benhalpern Aug 13, 2024
e624f65
Allow admins to set max score for some users (#21203)
benhalpern Aug 15, 2024
b31d34c
Require authentication for subscription (#21204)
benhalpern Aug 17, 2024
a19ff35
Add billboard conversion event (#21207)
benhalpern Aug 19, 2024
70d5dc4
Add subscription icon behind feature flag (#21208)
benhalpern Aug 19, 2024
352c89a
Update organic page views tabulator job logic (#21209)
benhalpern Aug 20, 2024
ffc8f8f
Add subscription option to task card (#21210)
benhalpern Aug 20, 2024
2628142
update support email address for coc, readme, and bug report template…
jessleenyc Aug 21, 2024
cddc7eb
Minor readme update with docker image.
cancelei Aug 21, 2024
18ff794
Add subscription email (#21213)
benhalpern Aug 21, 2024
a5d5bf0
Merge pull request #1 from forem/main
cancelei Aug 21, 2024
c8afb4f
Merge branch 'cancelei/updated' of github.com:cancelei/forem-web3dev …
cancelei Aug 21, 2024
706cbbc
Update Docker image to use cancelei/web3dev-forem:1.0.0-development
cancelei Aug 21, 2024
9b4b120
feat/add docker image push for deploy
cancelei Aug 21, 2024
363f191
add github envieronment for cancelei_development
cancelei Aug 21, 2024
734e10c
add github debugging for CI
cancelei Aug 21, 2024
1ef85cc
add github secrets for ci
cancelei Aug 21, 2024
5be61e8
Fix subscriber icon (#21217)
benhalpern Aug 22, 2024
2b8d959
Add some flexibility in auth (#21223)
benhalpern Aug 23, 2024
a6cccf0
Check for nil list edge case (#21225)
benhalpern Aug 23, 2024
0353866
Update cache key for user profile (#21226)
benhalpern Aug 23, 2024
cac02b9
Add logging and tweaks to auth (#21227)
benhalpern Aug 23, 2024
135bfaa
Create mediastore async for articles (#21229)
benhalpern Aug 26, 2024
5d7c614
Add media store to synchronous detail detection (#21230)
benhalpern Aug 26, 2024
84aef58
Put sync detail detection mediastore behind feature flag (#21231)
benhalpern Aug 26, 2024
b983ab1
Rescue RecordNotUnique for reactions handler (#21233)
benhalpern Aug 27, 2024
53ca475
Rescue ActiveRecord::RecordNotUnique for profile (#21234)
benhalpern Aug 27, 2024
bf12426
Add 90-day option to /admin analytics dropdown (#21157)
pkfrank Aug 27, 2024
781f298
Add new Stripe code option (#21236)
benhalpern Aug 27, 2024
422db30
Add terms to stripe (#21237)
benhalpern Aug 27, 2024
ddef9ae
Add cancel subscription functionality and points tweaks (#21238)
benhalpern Aug 28, 2024
d9e8dfb
Add subscriber icon to feed cards (#21247)
benhalpern Aug 30, 2024
9ebeb51
Fix style bug (#21248)
benhalpern Aug 30, 2024
cb84808
Fix bug in reacting to user (#21249)
benhalpern Aug 31, 2024
bd8e87f
Add color to billboards (#21256)
benhalpern Sep 2, 2024
432b8d1
Return email if blank (#21257)
benhalpern Sep 2, 2024
982947a
Add specific statement timeout for rollup (#21258)
benhalpern Sep 2, 2024
009954b
Make fixed billboard not show up for internal nav (#21259)
benhalpern Sep 2, 2024
23fd46a
Allow multiple recent billboard clicks to count for conversion (#21260)
benhalpern Sep 3, 2024
40ea6f3
Make throttle time integer (#21262)
benhalpern Sep 3, 2024
9583788
Merge branch 'web3dev-version' of https://github.com/w3b3d3v/forem in…
cancelei Sep 4, 2024
de53043
Make notification send query more efficient (#21264)
benhalpern Sep 4, 2024
8e6b88a
Add distinct for followers query (#21265)
benhalpern Sep 4, 2024
fc9dc22
Adjust safe params list (#21266)
benhalpern Sep 5, 2024
b2c7007
Merge branch 'web3dev-version' of https://github.com/w3b3d3v/forem in…
cancelei Sep 5, 2024
1c8f484
Bundle with correct set of gems and cleared cache.
cancelei Sep 6, 2024
ceacc24
More throttling for billboard tabulating (#21263)
benhalpern Sep 9, 2024
6e66500
Do billboard rollup in batches (#21272)
benhalpern Sep 9, 2024
466de28
Add role targeting to billboards (#21270)
benhalpern Sep 9, 2024
0772f2d
Add role names to sidebar (#21273)
benhalpern Sep 10, 2024
16dfc13
Wrap billboard rollups into transactions (#21274)
benhalpern Sep 10, 2024
0f53f56
Fix delayed billboard logic (#21275)
benhalpern Sep 10, 2024
d425fdc
Add bb param to billboards after save (#21279)
benhalpern Sep 11, 2024
9947b56
Add events to billboard (#21281)
benhalpern Sep 12, 2024
87e8a24
Revert "add github secrets for ci"
cancelei Sep 13, 2024
7d07a84
Revert "add github debugging for CI"
cancelei Sep 13, 2024
302ffc5
Revert "Update Docker image to use cancelei/web3dev-forem:1.0.0-devel…
cancelei Sep 13, 2024
5f0ba60
Add proper self-serve subscription cancel flow (#21284)
benhalpern Sep 17, 2024
5fab7bc
add translations
cancelei Sep 17, 2024
45537e5
Fix tags on sidebar of pages (#21287)
benhalpern Sep 17, 2024
e2b7d28
Actually fix sidebar tags with proper logic (#21289)
benhalpern Sep 18, 2024
a3bc6aa
Track external email clicks via redirect (#21294)
benhalpern Sep 27, 2024
881e369
Merge forem/forem:main into web3dev/forem
cancelei Sep 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 51 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "Forem DEVcontainer",
"dockerComposeFile": "../docker-compose.yml",
"service": "devcontainer",
"runServices": ["postgres", "redis"],
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"remoteEnv": {
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}",
"GIT_EDITOR": "code --wait"
},
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"version": "latest",
"enableNonRootDocker": "false",
"moby": "true"
},
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"configureZshAsDefaultShell": "true"
}
},
"portsAttributes": {
"3000": {
"onAutoForward": "notify"
},
"3035": {
// This port is used by the Rails' webpack-dev-server. Users won't need to access it directly.
"onAutoForward": "silent"
}
},
"updateContentCommand": "bin/setup && bin/rails db:test:prepare RAILS_ENV=test",
"postCreateCommand": ".devcontainer/postCreateCommand-init.sh",
"postAttachCommand": ".devcontainer/postAttachCommand-init.sh",
"customizations": {
"vscode": {
// Extensions listed here will be installed unlike the one specificed in extensions.json
"extensions": [
"Shopify.ruby-lsp",
"KoichiSasada.vscode-rdbg",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"MateuszDrewniak.ruby-test-runner",
"firsttris.vscode-jest-runner",
"eamodio.gitlens"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh"
}
}
}
}
34 changes: 34 additions & 0 deletions .devcontainer/postAttachCommand-init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env bash

if [ -n "$CODESPACE_NAME" ]; then
echo "Running updates"

# Github Codespace prebuild caches the codebase.
# This means depending on the time the Codespace is created,
# it may not be on latest commit with latest dependency changes
#
# See https://github.com/orgs/community/discussions/58172

if git fetch origin "$(git rev-parse --abbrev-ref HEAD)" && git diff --quiet "HEAD..origin/$(git rev-parse --abbrev-ref HEAD)" ;then
echo "Branch is already up to date"
else
echo "Branch is not up to date, pulling latest code"
git pull origin "$(git rev-parse --abbrev-ref HEAD)" --no-rebase
echo "Updating dependencies"
bin/setup
fi
fi

cat <<EOF

______ ____ _____ ______ __ __
| ____/ __ \| __ \| ____| \/ |
| |__ | | | | |__) | |__ | \ / |
| __|| | | | _ /| __| | |\/| |
| | | |__| | | \ \| |____| | | |
|_| \____/|_| \_\______|_| |_|

Setup complete! You can now run the server with 'bin/startup'

Happy coding!
EOF
18 changes: 18 additions & 0 deletions .devcontainer/postCreateCommand-init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash

# This is intentionally separate from .devcontainer/onCreateCommand-init.sh
# because $CODESPACE_NAME is not available at that point in time.

echo HISTFILE="/usr/local/hist/.zsh_history" >> ~/.zshrc

if [ ! -f .env ]; then
echo "Creating .env file"
cp .env_sample .env
fi

if [ -n "$CODESPACE_NAME" ]; then
echo "Updating .env file with codespace specific values"
echo APP_DOMAIN="${CODESPACE_NAME}-3000.app.github.dev" >> .env
echo APP_PROTOCOL=https:// >> .env
echo COMMUNITY_NAME="DEV(codespace)" >> .env
fi
26 changes: 26 additions & 0 deletions .dockerdev/.psqlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
-- Don't display the "helpful" message on startup.
\set QUIET 1

-- Allow specifying the path to history file via `PSQL_HISTFILE` env variable
-- (and fallback to the default $HOME/.psql_history otherwise)
\set HISTFILE `[ -z $PSQL_HISTFILE ] && echo $HOME/.psql_history || echo $PSQL_HISTFILE`

-- Show how long each query takes to execute
\timing

-- Use best available output format
\x auto

-- Verbose error reports
\set VERBOSITY verbose

-- If a command is run more than once in a row,
-- only store it once in the history
\set HISTCONTROL ignoredups
\set COMP_KEYWORD_CASE upper

-- By default, NULL displays as an empty space. Is it actually an empty
-- string, or is it null? This makes that distinction visible
\pset null '[NULL]'

\unset QUIET
1 change: 0 additions & 1 deletion .env.test

This file was deleted.

17 changes: 11 additions & 6 deletions .env_sample
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ HEROKU_SLUG_COMMIT=""
# Redis caching storage
REDIS_URL="redis://localhost:6379"

# Redis sessions storage
REDIS_SESSIONS_URL="redis://localhost:6379"
# Redis sessions storage, rely on REDIS_URL if not set
# REDIS_SESSIONS_URL=
SESSION_KEY="_Dev_Community_Session"
# two weeks in seconds
SESSION_EXPIRY_SECONDS=1209600

# Redis Sidekiq storage
REDIS_SIDEKIQ_URL="redis://localhost:6379"
# Redis Sidekiq storage, rely on REDIS_URL if not set
# REDIS_SIDEKIQ_URL=

# Redis Devices/Rpush storage
REDIS_RPUSH_URL="redis://localhost:6379"
# Redis Devices/Rpush storage, rely on REDIS_URL if not set
# REDIS_RPUSH_URL=

# OpenResty
OPENRESTY_URL=""
Expand Down Expand Up @@ -152,6 +152,11 @@ TWITCH_CLIENT_ID="Optional"
TWITCH_CLIENT_SECRET="Optional"
TWITCH_WEBHOOK_SECRET="Optional"

# Algolia for search
ALGOLIA_APPLICATION_ID=
ALGOLIA_API_KEY=
ALGOLIA_SEARCH_ONLY_API_KEY=

# For calling the Stack Exchange API
# (https://api.stackexchange.com/docs)
STACK_EXCHANGE_APP_KEY=""
Expand Down
67 changes: 22 additions & 45 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,27 @@
# see https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
# for further details

# Default global ownership
* @forem/core-reviewers

# File exentions based ownership
#
# They are: .builder, .css, .erb, .gif, .ico, .jbuilder, .js, .jsx,
# .map, .md, .mdx, .otf, .png, .rake, .rb, .scss, .snap,
# .svg, .toml, .xml
#
# Use the following to generate the list:
#
# * `tree app | rg "\.\w+$" --only-matching | sort | uniq`
# * `tree lib | rg "\.\w+$" --only-matching | sort | uniq`
#
**/*.builder @forem/core-reviewers
**/*.css @forem/core-reviewers
**/*.erb @forem/core-reviewers
**/*.jbuilder @forem/core-reviewers
**/*.js @forem/core-reviewers
**/*.json @forem/core-reviewers
**/*.jsx @forem/core-reviewers
**/*.md @forem/core-reviewers
**/*.rb @forem/core-reviewers
**/*.scss @forem/core-reviewers
# Dependency ownership
Gemfile @forem/core-reviewers @forem/platform
Gemfile.lock @forem/core-reviewers @forem/platform
package.json @forem/core-reviewers @forem/platform
yarn.lock @forem/core-reviewers @forem/platform

# Context based ownership
/app/assets/ @forem/core-reviewers
/app/controllers/async_info_controller.rb @forem/sre
/app/javascript/ @forem/core-reviewers
/app/services/search/ @forem/sre
/app/workers/ @forem/sre
/config/ @forem/sre
/config/locales
/db/ @forem/sre @forem/core-reviewers
/lib/data_update_scripts/ @forem/sre
/lib/sidekiq/ @forem/sre
/spec/rails_helper.rb @forem/sre @forem/core-reviewers
/spec/support/ @forem/sre
.buildkite/ @forem/systems @forem/sre
.travis.yml @forem/sre
Containerfile @forem/systems
docker-compose.yml @forem/systems
Dockerfile @forem/systems
Gemfile @forem/core-reviewers @forem/sre
Gemfile.lock @forem/core-reviewers @forem/sre
package.json @forem/core-reviewers
podman-compose.yml @forem/systems
scripts/ @forem/systems
yarn.lock @forem/core-reviewers
# Platform specific ownership
.buildkite/ @forem/platform @forem/core-reviewers
Containerfile @forem/platform @forem/core-reviewers
Dockerfile @forem/platform @forem/core-reviewers
app/controllers/async_info_controller.rb @forem/platform @forem/core-reviewers
app/services/search/ @forem/platform @forem/core-reviewers
app/workers/ @forem/platform @forem/core-reviewers
config/ @forem/platform @forem/core-reviewers
db/ @forem/platform @forem/core-reviewers
docker-compose.yml @forem/platform @forem/core-reviewers
lib/ @forem/platform @forem/core-reviewers
podman-compose.yml @forem/platform @forem/core-reviewers
scripts/ @forem/platform @forem/core-reviewers
spec/rails_helper.rb @forem/platform @forem/core-reviewers
spec/support/ @forem/platform @forem/core-reviewers
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/-core-team-only---new-approved-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: "[Core Team Only]: New Approved Feature"
about: This template is for Core Team only. For feature requests, please use GitHub
Discussions.
title: ''
labels: ''
assignees: ''

---

<!-- ⚠️⚠️⚠️ This issue template is for Core Team only to outline approved features. For new Feature Requests, please use GitHub Discussions: https://github.com/forem/forem/discussions -->

## Is this feature related to a problem? Please describe.

<!-- Be sure to cover the Who / What / Why. IE: As a (role), I want (function) so that (value).-->

## Describe the solution you’d like

<!-- Describe the end state that solves your problem. -->

## Definition of Done

<!-- The granular tasks / acceptance criteria that need to be completed as part of this issue. -->

- [ ] Task 1
- [ ] Task 2
- [ ] Task 3

## Additional Context

<!-- Please share any implementation notes, specific requirements, potential rabbit holes, historical knowledge, etc. -->
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---

<!-- Before creating a bug report, try disabling browser extensions to see if the bug is still present. -->

<!-- If you're having trouble updating your profile, it is likely because you logged in separately with GitHub & Twitter. Please check if this is the case before creating a bug report, and email yo@dev.to so we can merge your accounts. -->
<!-- If you're having trouble updating your profile, it is likely because you logged in separately with GitHub & Twitter. Please check if this is the case before creating a bug report, and email support@dev.to so we can merge your accounts. -->

**Describe the bug**

Expand Down
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Feature Request
url: https://github.com/forem/forem/discussions
about: Visit our GitHub Discussions page to suggest an idea to make Forem better.
- name: Forem Questions and Discussions
url: https://forem.dev/
about: Please ask and answer questions, discuss features, or reach out for help on forem.dev
url: https://github.com/forem/forem/discussions/categories/feature-requests
about: Have a feature request? Please let us know via GitHub Discussions.
- name: Forem Q&A
url: https://github.com/forem/forem/discussions/categories/q-a
about: Have a general questions? Please let us know via GitHub Discussions.
- name: Self-Host Bug Report
url: https://github.com/forem/selfhost/issues/new
about: Create a report to help us improve the Self-Host repository.
38 changes: 9 additions & 29 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,46 +49,26 @@ _Please replace this line with instructions on how to test your changes, a note
on the devices and browsers this has been tested on, as well as any relevant
images for UI changes._

### UI accessibility concerns?

_If your PR includes UI changes, please replace this line with details on how
accessibility is impacted and tested. For more info, check out the
### UI accessibility checklist
_If your PR includes UI changes, please utilize this checklist:_
- [ ] Semantic HTML implemented?
- [ ] Keyboard operability supported?
- [ ] Checked with [axe DevTools](https://www.deque.com/axe/) and addressed `Critical` and `Serious` issues?
- [ ] Color contrast tested?

_For more info, check out the
[Forem Accessibility Docs](https://developers.forem.com/frontend/accessibility)._

## Added/updated tests?
_We encourage you to keep the code coverage percentage at 80% and above._

- [ ] Yes
- [ ] No, and this is why: _please replace this line with details on why tests
have not been included_
- [ ] I need help with writing tests

## [Forem core team only] How will this change be communicated?

_Will this PR introduce a change that impacts Forem members or creators, the
development process, or any of our internal teams? If so, please note how you
will share this change with the people who need to know about it._

- [ ] I've updated the [Developer Docs](https://developers.forem.com) or
[Storybook](https://storybook.forem.com/) (for Crayons components)
- [ ] This PR changes the Forem platform and our documentation needs to be
updated. I have filled out the
[Changes Requested](https://github.com/forem/admin-docs/issues/new?assignees=&labels=&template=changes_requested.md)
issue template so Community Success can help update the Admin Docs
appropriately.
- [ ] I've updated the README or added inline documentation
- [ ] I've added an entry to
[`CHANGELOG.md`](https://github.com/forem/forem/tree/main/CHANGELOG.md)
- [ ] I will share this change in a [Changelog](https://forem.dev/t/changelog)
or in a [forem.dev](http://forem.dev) post
- [ ] I will share this change internally with the appropriate teams
- [ ] I'm not sure how best to communicate this change and need help
- [ ] This change does not need to be communicated, and this is why not: _please
replace this line with details on why this change doesn't need to be
shared_

## [optional] Are there any post deployment tasks we need to perform?

## [optional] What gif best describes this PR or how it makes you feel?

![alt_text](gif_link)

Loading
Loading