Commit graph

154 commits

Author SHA1 Message Date
Jeremy Friesen
19a2bb2c0c
Removing Alex from core member list (#17563) 2022-05-04 11:55:25 -04:00
Thomas Bnt
fd2614ea80
Edit URL deployment to GitPod (#16795)
* Edit URL deployment to GitPod

* Added Getting Started with Gitpod
2022-05-02 09:50:56 -04:00
Daniel Uber
37a82b8393
Update readme (#17517) 2022-04-29 14:14:49 -04:00
Nick Taylor
56f576c4f2
Remove myself from the core team (#16967) 2022-03-22 10:49:39 -04:00
Takuya N
392030f3bf
Update Travis CI badge to the latest (#16929)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-03-21 11:20:45 -04:00
Takuya N
8b085d58a8
Fix typo: Gitpod (#16930)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-03-21 07:16:20 -06:00
Michael Kohl
3322b49e84
✂️ Remove myself from core contributors (#16672)
* Remove myself from core contributors

* Update comments

* Update more comments
2022-02-25 09:56:19 -05:00
Allison McMillan
36acb7c9a0
add asheren to core team (#16555)
Adding myself to the core team on the readme
2022-02-14 14:23:43 -05:00
Dwight Scott
325a9f9e3f
Add me (Dwight) to readme :) (#15816) 2021-12-17 14:50:45 -05:00
Michael Kohl
8be270d3d9
Remove some README badges (#15614) 2021-12-01 10:54:02 -05:00
rhymes
cde6f04cc7
Remove rhymes from the Core Team (#15167)
😭
2021-10-22 20:51:40 +02:00
Tayllan
fc77376c1b
Translate actions in articles view (#14911)
* Translate actions in articles view

* Move reactions to core.reactions namespace

* Add quotes to share_to in yml file

* Fix wrong translation in english locale

Co-authored-by: rhymes <github@rhymes.dev>
2021-10-07 12:08:14 +07:00
Jeremy Friesen
aff4754ad0
Adding jeremyf to core team (#14947)
Jeremy started at Forem on October 4, 2021
2021-10-05 14:38:20 -04:00
Ammar Hussein
cacf3e4fa5
fix installation URL (#14829) 2021-09-27 14:25:24 -05:00
Michael Kohl
4b6a9a1567
Update README.md (#14633) 2021-08-31 09:29:52 -05:00
Michael Kohl
521f1d26bc
Upgrade to Ruby 3.0.2 (#12103)
Co-authored-by: rhymes <rhymes@hey.com>
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2021-08-25 14:26:33 -04:00
Andy Zhao
b34455a9e7
Fix broken links (#14588) 2021-08-24 16:59:56 -04:00
Andy Zhao
3b81172c56
Remove docs from repo ✂✂✂ (#14579)
* Remove docs ✂✂✂✂

* Remove all references to docs and gitdocs

* Update docs.forem.com to developers.forem.com

* Remove .gitdocs_build/

* Update yarn.lock
2021-08-23 17:23:42 -04:00
Rajat Talesra
b5ed02d13e
Add Rajat to core team list (#14264) 2021-07-19 08:41:33 -04:00
Michael Kohl
159de0afc3
Remove Jacob from core team (#14178) 2021-07-09 11:05:57 -04:00
Vaidehi Joshi
30d0ea369b
Remove Vaidehi from Forem Core Team (#13769) 2021-05-14 12:31:31 -07:00
Alex
393ba00221
Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606)
* Attempt number 1

* Fix rack_attack specs

* Fix users_searches_users spec

* Fix display_users_search_spec

* Fix comment typo

* Remove search:destroy task from cypress

* Remove port 9300 from gitpod

* Stub response in attack_spec
2021-05-03 11:09:45 -04:00
Josh Puetz
9fe7be190b
Switch references to Forem master branch to main (#12325) 2021-04-16 11:51:06 -05:00
rhymes
a992fcd8b4
Update README core contributors (#12951) 2021-03-09 17:59:38 +01:00
Daniel Uber
3b0029cb08
Add myself as a core contributor in the readme (#12950) 2021-03-09 10:21:14 -06:00
Ridhwana
05e31971cb
Navigation Items and Role access for Data Update Scripts (#12292)
* feat: add tech_menu_items to the admin helper

* feat: add the tech resources to /admin  if the user has the correct role

* feat: use a partial that will show the data update scripts in the navbar with the correct role

* chore: use a method

* test: chore

* feat: setup the data to need permission single_resource_admin with DataUpdateScript permissions

* chore: remove the if current_user.tech_admin?

* chore: remove line

* feat: add a DUS for single_resource_admin roles to be added to users with tech_admin roles

* fix: move all teh routes outside of the block where tech_admin is required.

* chore: use the constant and remove the method

* chore: add a comma

* Update config/routes.rb

Co-authored-by: rhymes <rhymes@hey.com>

* feat: add a tech admin role to the dropdown

* feat: add the tech admin role along with single_resource_admin

* chore: oops

* refactor: amend the spec to use let blocks

Co-authored-by: rhymes <rhymes@hey.com>
2021-02-09 17:41:14 +02:00
Christina
c0f38b4567
Adding Community to the table of contents. (#12293)
When I updated the docs with the community section previously I forgot to add the link in the Table of Contents. This adds the link.
2021-01-15 09:40:16 -06:00
Suzanne Aitchison
cb44b31c83
add suzanne to list of core team members (#12277) 2021-01-14 13:39:41 +00:00
ashwin
76894934e9
Fixed punctuation mistakes (#12209)
* Fixed punctuation mistakes

* Update README.md

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>

* Update README.md

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>

* Update README.md

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>

* Update README.md

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2021-01-13 16:27:46 -05:00
Katie Davis
a9acb505ed
Add Katie core team members 🎉 (#12243) 2021-01-12 17:12:53 -05:00
ashwin
0fe4164397
Add scroll back to the top to README (#12208)
* Add scroll back to top feature

* Add scroll back to top feature
2021-01-12 10:43:58 +01:00
Christina
f339531932
Update to add Community section. (#12203)
* Update to add Community section.

Would like to add a Community section to our Readme to highlight where community members/contributors should go to hav discussions around features or other general questions.

* changing Forem.dev to forem.dev 

Replaced Forem.dev to forem.dev for consistency across our various platforms.
2021-01-11 13:59:01 -06:00
Michael Kohl
cd94fb2362
Update README (#11491)
* Update README

* Fix commit activity shield

* 🤦
2020-11-20 09:48:17 +07:00
Pat Hannon
151a2f53a6
Adds phannon as a Core contributor. (#11510) 2020-11-19 16:31:08 -06:00
Andy George
0cc2513226
add "andygeorge" to Core team list (#11355) 2020-11-10 09:50:21 -06:00
Peter Frank
e42fd2c0ce
Add Acknowledgment section (#10943)
And a mention of the Twemoji project
2020-10-19 20:36:07 -04:00
Christina
16a7d8c47f
Adding name to core-team per my on-boarding doc (#10821) 2020-10-13 11:13:59 +07:00
Mac Siri
7417d03884
Update README's Badge (#10489) 2020-09-30 16:38:23 -04:00
Rafi
76ba4a5609
Changing rails version to 6.0.3 in docs (#9802) 2020-08-17 08:59:09 -05:00
Nick Taylor
1faa7c723f
Updated docs.dev.to to docs.forem.com (#9666) 2020-08-07 11:24:53 -04:00
Christina
112d7bb48f
Update README.md (#9531)
Replacing links to https://docs.dev.to in the Getting Started section with links to the newer https://docs.forem.com/ instead
2020-07-27 09:59:54 +07:00
Mazen Touati
ed3d8901b2
Update Readme (#9333)
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-07-16 10:26:25 -04:00
Christina
73187e82ba
Add missing words in README (#9341)
Adding in missing word `write` to the forem/README.md file.
2020-07-16 09:49:16 +02:00
Andy Zhao
3b73038919
Update more Forem to DEV language (#9337)
* Update more Forem to DEV language

* Update readme with more Forem language

* Use Forem favicon, thanks @atsmith813!
2020-07-15 18:01:34 -04:00
Ben Halpern
df273b62e1
Update Readme Headline (#9309) 2020-07-14 14:45:45 -04:00
Molly Struve
fde4d3f189
Update Docs, Travis, and Containers to Use Postgres 11 (#9232)
* Update Docs and Containers to Use Postgres 11<, Bump Travis to 10

* Update installation docs as well

Co-authored-by: rhymes <rhymes@hey.com>
2020-07-13 15:09:26 +02:00
Molly Struve
2aeebcda5a
Documentation: Add More Knapsack Information to Docs (#8419)
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-06-11 17:50:32 -05:00
Joe Doss
aa49cb1cfe
Bugfix for #7663 and refactor of container setup (#7747)
* Move from Alpine Linux to Fedora Linux.

This changes the base container image away from Alpine Linux to
Fedora Linux to address some musl libc issues with some of our gems.

It also moved the main file to a Containerfile and symlinks the Dockerfile
to it. This makes our container setup less Docker-centric as Linux users
most likely will be using Podman as their container runtime.

Lastly, it moves the WORKDIR from /usr/src/app to /opt/apps/devto.
The Linux FHS states that /opt is the spot for Optional application
software packages and /usr/src is for kernel source code.

https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

/opt Optional application software packages
/usr/src Source code, e.g., the kernel source code with its header files.

Also, if SELinux becomes a thing in our future, moving this makes it
easier to manage contexts out of /opt rather than /usr/src.

* Adjust the Containerfile a bit to add some missing packages, make it
more generic and move env vars to the docker-compose.

* Move the Dockerfile to a symlink to the Containerfile.

We need to be able to support more than just Docker for a container
runtime. Moving everything to a Containerfile and symlinking the
Dockerfile helps users run runtimes such as Podman.

* Add in new entrypoint files and fix the app path in docker-entrypoint.sh

* Refactor the docker-compose.yml file so it doesn't build the main
application container three times in a row. We can use the same
container for web, webpacker, and sidekiq.

Also make the volume names very explicit on what their contents and add
in SELinux context support with :Z

* Fix ELASTICSEARCH_URL.

* Remove the absolute path on ip binary and add in iproute to Containerfile.

* Symlink the Dockerfile to Containerfile and add in a container-compose.yml file
for usage with podman-compose. We are waiting for this issue to get resolved

https://github.com/containers/libpod/issues/6153

and for podman-compose to mature a bit more. A user using podman-compose can use

podman-compose -f container-compose.yml

to launch the DEV container stack with Podman.

* Update the .gitignore file to reflect the new container volumes.

* Fix the entrypoint script on the Containerfile and clean up a bunch of things.

* Rework the Containerfile to prep it to run as a non-root user. We have to wait
for this issue to get fixed:

https://github.com/containers/libpod/issues/6153

for Linux users and then we can uncomment the USER line so we are running Rails
as a non-root user. :toot:

* This reworks the compose files so each task that is needed to start the app has
a correct wait command with dockerize. It also adds in containers for doing
yarn and bundle things for development. Since we mount the code directory inside
the container we lose our pre-containerized gems and node_modules.

This means users can run:

Linux
podman-compose -f container-compose.yml up

Mac
docker-compose up

and it should correctly build the app stack with containers!

* Clean up old container related things.

* Add in some container pre-reqs and my name to the "Core team" section! :toot:

* Adjust the seed and sidekiq compose entries so they do not use the web entrypoint
and set the REDIS_URL and REDIS_SESSIONS_URL env vars for seed.

Add in some echos to the entrypoint.sh.

Also set docker-compose to use :delegated on mount points to speed things up.

https://docs.docker.com/storage/bind-mounts/#configure-mount-consistency-for-macos

* Just call yarn install --dev on the yarn container.

* Update documentation to support Docker and Podman as Container Engines and
move the page from docker to containers to reflect the fact not all users run
their containers via Docker.

There are dozens of us... DOZENS!

* Set --local on bundle config so it just impacts this Ruby app.

* Renamed bin/docker-setup to bin/container-setup to reflect the fact that that
we can use Podman as a container engine. I also refactored it so it does some
basic pre-flight checks for docker and docker-compose or podman and
podman-compose to make sure users have a container engine installed.

* Set cache_all_platforms true for bundler.

* Bump docker-compose dockerize -timeout to 45min for slower macOS hardware.

* Move to the consolidated app_initializer:setup rake task for bootstrapping the
app.

* Update docs/installation/readme.md
2020-05-28 12:11:51 -05:00
rhymes
5c17e5c25d
Upgrade Ruby to 2.7.1 (#7097) [deploy]
* Upgrade Ruby to 2.7.1

* Use explicit version in Dockerfile

* Fix docs Gemfile
2020-04-06 18:21:50 +02:00
rhymes
6bede2a92b
Upgrade to Ruby 2.7.0 (#5281) [deploy]
* Upgrade to Ruby 2.7.0

* Upgrade Travis's Ruby as well

* Fix conflict

* Silence all Ruby 2.7 deprecation warnings in dev mode

* Silence dev and test unless CI
2020-04-03 17:36:19 +02:00