Jacob Groundwater
4c062375eb
Add donors page ( #1210 )
2018-03-21 11:11:34 -07:00
Vanessa Yuen
adfe9f3d22
fix all the 404s for `/docs/api/structure/**/history` routes
2018-02-21 10:30:41 +01:00
Juande Manjon
c20f73c7de
redirect the request with the correct lang #1107
2018-02-15 23:29:52 -08:00
Zeke Sikelianos
5816f4eea3
make promises safe
2018-01-23 18:21:30 -08:00
Vanessa Yuen
63f483fc15
Merge branch 'master' into search
2018-01-05 23:31:14 +01:00
Vanessa Yuen
d6f028a6e1
remove graphql route
2018-01-05 22:39:40 +01:00
Zeke Sikelianos
26ceb4be9c
remove releases.json endpoint
...
We decided it's best to avoid getting in the business of make the website an API wherever possible. Folks who are really interested in this data can now `npm i electron-releases`
2017-12-20 12:00:57 -08:00
Zeke Sikelianos
fd51644b28
use new electron-releases module
2017-12-20 12:00:57 -08:00
Zeke Sikelianos
0d336e42e5
move doc history to its own route
2017-12-20 12:00:57 -08:00
Zeke Sikelianos
c8d3d9ad7a
serve /releases.json
2017-12-20 12:00:57 -08:00
Zeke Sikelianos
077398af98
redirect /docs/versions to /releases
2017-12-20 12:00:57 -08:00
Zeke Sikelianos
6114056062
alphabetize routes
2017-12-20 12:00:57 -08:00
Vanessa Yuen
02775ae6e5
add search view
2017-12-19 02:26:15 +01:00
Vanessa Yuen
81f4652003
rename route /search to /graphql
2017-12-19 01:48:38 +01:00
Vanessa Yuen
c2d7d744ff
refactored into schema and resolver
2017-12-18 19:08:38 +01:00
Pierre Neter
372e5c4657
Add feeds ( #932 )
...
* Add feeds
* Update blog feeds route and add tests
* Add rss meta in the head
2017-12-13 13:19:15 -08:00
Vanessa Yuen
beae51a945
add graphql search endpoint
2017-12-13 20:07:13 +01:00
Vanessa Yuen
f67079064e
Proxy for some crowdin API endpoints ( #939 )
...
* add proxy middleware for crowdin api endpoints
* only allow access to whitelisted endpoints
* remove `express-http-proxy` dependency
* add test
* remove unnecessary comment
* remove old test first
* fixed test yay! ⚡ ️
* - remove `language-states.json` route
- move `proxy.js` under `language` to make more sense
* - use `parseQueryString` option to parse URL as per code review
- update test to specify query strings, instead of placing the entire
URL
2017-12-12 12:53:15 -08:00
Pierre Neter
a894e5ff2f
Redirect docs/v0* to docs/* ( #937 )
...
* Redirect docs/v0* to docs/*
* Add test
2017-12-11 08:16:19 -08:00
Pierre Neter
d48c065a40
Redirect /docs/latest/* to /docs/*
2017-12-06 02:15:32 +07:00
Zeke Sikelianos
d20390eedd
Make contextBuilder ignore static asset paths ( #926 )
...
* Make contextBuilder ignore static asset paths
* simplify by serving static assets before context handler
* lint
2017-11-30 15:22:24 -08:00
Zeke Sikelianos
42b9a6b962
proxy crowdin stats ( #903 )
...
* proxy crowdin stats
* add tests for /language-stats.json
2017-11-28 11:39:55 -08:00
Pierre Neter
fdd5a4f983
Restore /devtron and /spectron routes ( #892 )
...
* Catch LandingPage (devtron, spectron)
* Move spectron and devtron to /views, add tests
2017-11-27 12:04:54 -08:00
Jacob Groundwater
59495005d5
gzip-encode response ( #883 )
2017-11-21 21:16:01 -08:00
Zeke Sikelianos
8fd1b7c7e7
convenience url for pull requests ( #861 )
2017-11-17 12:01:10 -08:00
Zeke Sikelianos
78e4473a70
electron.atom.io → electronjs.org ( #849 )
...
* update site domain in blog posts
* update site domain blog posts
* update domain in package.json
* udpate domain in even more places
* update domain in a few more places
* lint
* call it 2.0
2017-11-16 11:08:45 -08:00
Zeke Sikelianos
e86349af85
redirect issues urls to github ( #840 )
2017-11-15 19:56:14 -08:00
Zeke Sikelianos
e071144395
Better 404 ( #824 )
...
* localize 404 page
* make sure all 404s reach the default handler
* fix merge conflicts
2017-11-13 15:14:42 -08:00
Pierre Neter
d3e9908c4b
Catch 404 pages of path: /userland/*
2017-11-13 14:36:11 -08:00
Zeke Sikelianos
b9e316e16f
redirect /awesome to /community
2017-11-12 15:32:48 -08:00
Pierre Neter
a462225b57
Catch Not Found pages of /docs and add title for categories of docs. (/docs/404)
2017-11-09 12:55:20 -08:00
Zeke Sikelianos
9ef8b1f48f
remove language cookie expiry
2017-11-08 19:42:04 -08:00
Zeke Sikelianos
86d1600b51
remove duplicate docs/all route and clean up docs/api
2017-10-26 11:55:24 -07:00
Zeke Sikelianos
811f686c33
implement and test /docs/all
2017-10-26 11:55:24 -07:00
Zeke Sikelianos
c8e707512b
sort apps by date, descending
2017-10-23 13:14:16 -07:00
Zeke Sikelianos
bc1d2204e5
move partials to views directory
2017-10-22 21:52:47 -07:00
Shelley Vohr
e2715bb8d3
make /maintainers/join redir to google form
2017-10-22 00:30:01 -04:00
Zeke Sikelianos
ac59ddbf81
browserify more things
2017-10-21 08:40:38 -07:00
Zeke Sikelianos
f720fbf762
recommend the dev script over npm start
2017-10-21 08:40:38 -07:00
Zeke Sikelianos
9151236c00
set up browserify middleware
2017-10-21 08:40:38 -07:00
Zeke Sikelianos
e9cf28a832
redirect old docs urls
2017-10-19 14:43:31 -07:00
Shelley Vohr
723d3b72de
Merge pull request #778 from electron/finish_docs
...
Add all doc category paths
2017-10-16 11:13:18 -07:00
Shelley Vohr
6a1c689310
add releases
2017-10-16 06:45:17 -04:00
Shelley Vohr
c8280aaae8
guides and api sections working
2017-10-15 20:16:39 -07:00
Shelley Vohr
45241fb428
remove old pages and add route
2017-10-14 19:42:12 -07:00
Shelley Vohr
6a88a4ed4e
finish community page
2017-10-14 15:43:44 -07:00
Zeke Sikelianos
1e7a801b23
wire up the blog pages!
2017-10-13 21:49:56 -07:00
Zeke Sikelianos
ee35a85ade
refactor test suite to use async/await
2017-10-13 21:49:56 -07:00
Zeke Sikelianos
f119e08029
remove leftover stuff from the jekyll days
2017-10-13 21:49:56 -07:00
Zeke Sikelianos
01510cf2ee
fix app views, add handlebars helpers
2017-09-18 06:40:02 +09:00
Zeke Sikelianos
4f3481f8cb
build shared req.context + lots of cleanup
2017-09-17 20:47:41 +09:00
Zeke Sikelianos
b8e43cd3f7
select locale using express-request-language
2017-09-17 20:47:41 +09:00
Zeke Sikelianos
94c0cced8f
update routes and work on homepage
2017-09-17 20:47:41 +09:00
Zeke Sikelianos
6e687be6da
move route handlers to individual files
2017-09-11 11:47:24 -07:00
Zeke Sikelianos
e12b8e3b39
wire up docs pages and 404 handlers
2017-09-11 11:47:24 -07:00
Zeke Sikelianos
2d2bda4694
migrate contact page ( #767 )
2017-09-06 09:21:40 -07:00
John Kleinschmidt
2fe220e484
Add readme to app page
...
Refactor downloads/latest release
2017-07-19 16:50:29 -04:00
John Kleinschmidt
f879261bc0
Add categories to apps page
...
Move apps page from Jekyl to express server
Add app details on app page
2017-07-14 15:48:57 -04:00
Zeke Sikelianos
cddcc173a1
app page WIP
2017-06-30 14:29:42 -07:00
Zeke Sikelianos
ecf9d671f8
give directories nicer names
2017-06-25 15:00:32 -07:00
Zeke Sikelianos
d0d138ed13
remove trailing slashes
2017-06-24 22:59:24 -07:00
Zeke Sikelianos
db74600edd
happy test suite
2017-06-24 22:35:26 -07:00
Zeke Sikelianos
124319a2f7
use supertest
2017-06-22 22:20:07 -07:00
Zeke Sikelianos
a9454918e2
standardize
2017-06-22 20:40:23 -07:00
Zeke Sikelianos
f90d79a845
set up browser-sync
2017-06-21 08:25:08 -07:00
Zeke Sikelianos
9056d1fe83
use .html extension for handlebars templates
2017-06-21 08:15:04 -07:00
Zeke Sikelianos
2304602b27
use handlebars
2017-06-20 16:54:48 -07:00
Zeke Sikelianos
41987092e3
move the middleware into jexodus
2017-06-07 13:58:30 -07:00
Zeke Sikelianos
fe54986001
remove unused route handlers
2017-06-04 19:55:08 -07:00
Zeke Sikelianos
94dcd16161
it freaking works
2017-06-03 22:51:27 -07:00
Zeke Sikelianos
2154f2d062
sass in progress
2017-06-03 22:03:55 -07:00