Alex
7149070bca
[deploy] Create FastlyConfig & refactor params safe list ( #7630 )
...
* Fastly refactor
- Create FastlyConfig
- Create FastlyConfig::Base
- Create FastlyConfig::Snippets
- Move safe_params to its own VCL file
- Rescue unauthorized errors in development
- Add FastlyConfig errors
* Move active version to method
* Update naming option --> config
* Refactor InvalidConfigsFormat msg to Error class
* Refactor active version logic
* Fix log_to_datadog call
* Move get_active_version logic back into method
* Add some specs ¯\_(ツ)_/¯
* Update Fastly rake task
* Remove old Fastly way
* Update docs for Fastly
* Move snippets to config/ & remove old config
* Change update_config to upsert_config
* Change error type to SubclassResponsibility
* Refactor get_updated_files with filter_map
* Refactor update
* Cleanup update_config --> upsert_config
* Fix updater specs
2020-05-01 11:23:48 -04:00
Molly Struve
74e75b4067
[deploy] Rate Limit Organization Creation ( #7595 )
2020-04-30 10:55:37 -05:00
Molly Struve
4c779be2ed
[deploy] Remove ALL Algolia Code ( #7577 )
2020-04-29 10:11:57 -05:00
rhymes
2d26318cf9
[deploy] Replace (black|white)list with more inclusive language ( #7459 )
...
* Replace isBlacklisted
* Update fastly.rake task
* More renames
* Rename Faslty config file
* More changes
* Replace isForbiddenFromPreloading with isNotPreloadable
* Skip problematic test
* Re-enable
2020-04-27 18:00:12 +02:00
Alex
397734b29c
Generalize Fastly rake task ( #7349 )
...
* Generalize Fastly rake task
- Update Rubocop to disable DescribeClass on rake task specs
* Change default Fastly ENV vars to ""
* Move snippet name to ENV
* Update ENV to FASTLY_WHITELIST_PARAMS_SNIPPET_NAME
* Add FASTLY_WHITELIST_PARAMS_SNIPPET_NAME to the docs
* Update docs
* Quick refactor
2020-04-22 11:49:54 -04:00
Alex
cc6249beff
[deploy] Update whitelisted params on Fastly on deployments ( #7279 )
...
* Add Fastly whitelisted params
* Create FastlyVCL::WhitelistedParams.update service
* Add specs
* Create rake task to call new service
* Add rake task to setup script
* Add documentatoin
* Move sort inside params_to_array method
* Rename VCL_REGEX to VCL_DELIMITER
* Add PR URL to docs
* Move snippet name to SNIPPET_NAME constant
* Refactor setting content
* Rename params_to_array to params_to_sorted_array
* Change guard and log success on update
- Return early if params are equal
- Log success message to Rails.logger on update
- Log params diff to Datadog
* Return true explicitly
* Move rake task execution from to release-tasks
* Remove unnecessary environment guard in task
* Remove duplicate code param
* Refactor string from build_content
* Remove reliance on sort
* Reorder logging to implicitly return true
* Update docs to reference release-script.sh
* Update docs
* Update whitelisted params
* Fix params_updated? bug and add more specs
* Remove duplicate param...oopsie!
2020-04-16 15:11:57 -04:00
Fernando Valverde
49e3ca6f18
Adds Pusher Beams docs for Android PN ( #7121 )
...
* Adds Pusher Beams docs for Android PN [skip ci]
* Trigger CI
2020-04-07 16:36:37 +02:00
rhymes
235367e073
Make bin/setup predictable and repeatable and remove bin/update ( #6566 )
...
* Make bin/setup predictable and remove bin/update
* System not puts
* Give priority to ENV DATABASE_URL
2020-03-10 15:46:23 +01:00
Molly Struve
6a277ba10d
remove rake jobs:work references from code ( #6082 ) [deploy]
2020-02-14 15:18:08 -05:00
Molly Struve
65eba740ab
Document DataUpdateScripts, Add to Deploy Process, Add Development Check ( #6068 ) [deploy]
2020-02-14 11:45:27 -05:00
Jacob Herrington
2d3a974803
Include instructions to set Algolia plan ( #5941 )
2020-02-06 17:21:05 -06:00
Michael Kohl
5c74464b30
Add documentation for ENVied & SiteConfig ( #5841 )
...
* Add documentation for ENVied & SiteConfig
* Add images
* Fix swapped screenshots and update list
2020-02-04 11:41:25 -06:00
Alex
1ed8d4a8ce
Fix typo in Algolia docs [ci skip] ( #5659 )
2020-01-23 12:21:32 -05:00
Shelley Vohr
b146528aa8
feat: add per-user Open Dyslexic font setting ( #5037 ) [deploy]
...
* feat: add per-user Open Dyslexic font setting
* Adjust css slightly
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-01-20 18:23:57 -05:00
ludwiczakpawel
815a95e85d
Adding info about disappearing tokens ( #5523 )
...
* adding info about disappearing tokens
* fixing copy + numbering issue
2020-01-17 08:46:55 -05:00
ludwiczakpawel
06bf574e34
adding section for switching to free plan ( #5514 )
2020-01-15 08:38:58 -05:00
Michael Kohl
256448f1f3
Remove unused Envfile variables ( #5474 )
...
* Remove unused variables from Envfile
* Remove unused Twitter variables from Envfile
* Also remove GITHUB_TOKEN
* Change Twitter token screenshot URL
2020-01-14 12:05:35 -05:00
Lenmor Larroza Dimanalata
08b0886eb0
Fix Backend Guide > Roles admin links [ci skip] ( #5118 )
2019-12-16 09:25:48 -05:00
Ryan Smith
b809562a2f
Fix Algolia signup link. ( #5100 )
2019-12-13 10:59:09 -06:00
Jacob Herrington
7d0aeeefe5
Improve the clarity of the docs and fix Prettier config ( #4899 )
...
* Improve format and clarity of the docs [ci skip]
While this change produces a lot of git noise by enacting what seems
like an arbitrary linewrap on most of the files in the documentation it
will result in better version control and tracking of the changes in the
documentation.
For example, as it currently stands, if one was to make a
PR to move a comma in a sentence because each paragraph in most of the
files is on a single line, that small change would look in the git
history like the author had modified the entire paragraph. In reality,
this author just moved a comma.
This change also includes a significant number of modifications to the
more article-esque docs. Many of these docs were written in a sort of
stream-of-conciousness and aren't as easy to read as they could be.
Hopefully this is the first of several readability changes. If we could
get these docs to a more accessible reading level, we would probably see
an increase in contributions. :)
* Delegate markdown wrapping to Prettier
* Add linewrapping explanation in the docs [ci skip]
2019-11-26 08:40:53 -05:00
Jacob Herrington
5624b2e7f9
Add a link for Twitter developer access [ci skip] ( #4891 )
2019-11-25 08:16:16 -05:00
Nick Taylor
22991239bf
Ran all markdown files through prettier to fix a handful. ( #4599 )
2019-10-28 08:20:53 -04:00
samuel-glitch
15d7e7629a
Add a sentence to clarify GitHub Authentication ( #4360 )
2019-10-11 08:56:02 -04:00
Jacob Herrington
4ea1e6e020
Fix typos and mechanical mistakes ( #4177 ) [ci skip]
2019-10-01 16:30:13 -04:00
Dhananjay
ac5509e181
Update image of Algolia backend docs ( #3956 ) [ci skip]
2019-09-09 09:45:52 -04:00
rhymes
0bafec4b4b
DOC: Fix aggregated query to avoid deprecation ( #3904 ) [ci skip]
2019-09-03 15:49:26 -04:00
Mario See
59217d76a7
Add scheduled Job doc ( #3847 ) [ci skip]
2019-08-27 16:18:10 -04:00
Yash Dave
eccca28ee1
Update backend's readme filename ( #3824 ) [ci skip]
2019-08-26 17:47:59 -04:00
not-a-patch
4243510f87
Backend Docs: roles.md #3737 ( #3827 )
2019-08-26 14:50:39 -04:00
not-a-patch
e9c33f4aea
Backend docs: github authentication updated ( #3814 )
...
- first item says "sign in" when it actually links you to
creation of a OAuth application
2019-08-23 17:11:22 -04:00
Esquith Allen
4f94889524
Add notification section to docs ( #3681 )
2019-08-13 10:25:53 -03:00
Esquith Allen
f545ebf7bb
Adjust Algolia documentation ( #3680 ) [ci skip]
2019-08-12 11:56:22 -04:00
Kitten King
6290451273
Fix Typos ( #3510 )
2019-07-22 12:56:48 -04:00
Branko Arnaudovski
1d2e9ff868
Docs: Change admin role tag information ( #3323 ) [ci skip]
2019-06-27 18:06:42 -04:00
rhymes
9210f6793b
Improvements on dev docs ( #2616 )
...
* Correct installation documentation
* Add stylized titles
* Add some changes to the getting started documentation
* Add changes for the backend guide
* Add changes for the design guide
* Add testing / Q&A guide improvements
* Minor fixes to contributing docs
* More improvements to the general doc
* Improvements for frontend guide
2019-04-29 18:54:29 -04:00
Andrew Brown
30dcb23169
#2507 - refactor GitDocs documentation ( #2595 )
...
* #2507 - refactor GitDocs documentation
* #2507 - fix grammar and spelling errors
2019-04-29 10:08:22 -04:00