Chlod Alejandro
35dee57a41
Add OAuth flow
Adds the initial backend requirements for the
OAuth flow, which will be made required for all
search engine checks. This adds three new routes:
- `/login` (GET, POST) - for logging in
- `/logout` (GET, POST) - for logging out
- `/oauth-callback` - OAuth 1.0a callback route
Login/logout state can be checked through the
header. By default, a separate page navigation is
not required when the link is clicked by the user.
When following a link to `/log(in|out)`, however,
an extra button will be shown to prevent inadvertent
logins/logouts.
1 месяц назад
Ben Kurtovic
13b548a8d5
Form restyling; layout cleanup/responsiveness
3 лет назад
Ben Kurtovic
79ec7a3319
Styling tweaks
3 лет назад
Ben Kurtovic
208ebd3628
Restyling
3 лет назад
Ben Kurtovic
eacb294735
Update URLs
4 лет назад
Ben Kurtovic
01cd6dc763
Make caching advisory and reduce db lock duration
5 лет назад
Ben Kurtovic
586ba633f8
Use tools-static.wmflabs.org for jquery.
7 лет назад
Ben Kurtovic
c0af265318
Unnecessary slash.
8 лет назад
Ben Kurtovic
2cac9463aa
Fix typos.
9 лет назад
Ben Kurtovic
016742402f
Force client-side purging of CSS/JS when updated.
9 лет назад
Ben Kurtovic
710447a6bf
Slightly modified interface; give more options ( closes #17 ).
10 лет назад
Ben Kurtovic
56a79cc8d1
More cleanup; cookie fixes, Flask integration.
10 лет назад
Ben Kurtovic
1344594c33
Internal cleanup for Flask.
10 лет назад
Ben Kurtovic
648a399a5f
Try to fix relative paths.
10 лет назад
Ben Kurtovic
f48a566841
Begin conversion to Flask; updates.
10 лет назад
Ben Kurtovic
e31d730331
Clean up some CSS rules.
11 лет назад
Ben Kurtovic
56ab814a1a
Make header more compact.
11 лет назад
Ben Kurtovic
41c0df6cb9
Set the POTD as the default background.
11 лет назад
Ben Kurtovic
de87631cf5
HTML5
11 лет назад
Ben Kurtovic
7a1b095b3e
Fix some links.
11 лет назад
Ben Kurtovic
de46767d63
.fcgi -> .py
11 лет назад
Ben Kurtovic
5e6e95f264
Remove more old stuff.
11 лет назад
Ben Kurtovic
80b7013964
Rename some cookies, streamline HTML, etc.
11 лет назад
Ben Kurtovic
cc1a3318df
Try <= 3 instead of == 1 for joined adjacent lines; tweaks.
12 лет назад
Ben Kurtovic
4ce5cf7a22
Improve image stuff.
12 лет назад
Ben Kurtovic
3de23628b7
Switching a bit of code from client-side to server-side.
- All POTD logic is now in Python instead of JS.
- Removed EarwigBackgroundCache cookie (now stored in a new `background` table in the database).
- Added EarwigScreenCache cookie
- Increase cookie life from a year to three.
12 лет назад
Ben Kurtovic
8dd5687ab1
Testing a potential bugfix.
12 лет назад
Ben Kurtovic
f3ddd8f700
Some adjustments to reduce HTML output size.
12 лет назад
Ben Kurtovic
37cb1f568c
Fix default behavior.
12 лет назад
Ben Kurtovic
21d8666589
Syntax!
12 лет назад
Ben Kurtovic
1523c2401f
Implement 'background' option plus background images.
12 лет назад
Ben Kurtovic
833bdc6415
Support other backgrounds.
12 лет назад
Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
12 лет назад
Ben Kurtovic
309cb30358
Beginning work on a settings page.
12 лет назад
Ben Kurtovic
ecc5a13cf5
Dynamically load sites from the API and cache this information.
- Also removing some unused imports and cleaning up code.
12 лет назад
Ben Kurtovic
c49119ea97
Protocol-relative URLs in some places for full HTTPS support
12 лет назад
Ben Kurtovic
910a24a89f
Minor updates.
12 лет назад
Ben Kurtovic
2ee3a79d20
Some pretty awesome stuff.
13 лет назад
Ben Kurtovic
4e9b7c1b1c
updates; new layout idea
13 лет назад
Ben Kurtovic
5e63ae849e
bash, improvements, etc etc
13 лет назад
Ben Kurtovic
cbc00a4ad6
Updates, nicer footer, etc
13 лет назад
Ben Kurtovic
4a1829c0c5
dynamic links to stylesheets
13 лет назад
Ben Kurtovic
ddaa5cb9a1
let's show our environ
13 лет назад
Ben Kurtovic
54e95b549e
More stuff
13 лет назад
Ben Kurtovic
a6adbc3b03
Spacing fix/test
13 лет назад
Ben Kurtovic
f56c158d31
Basic index page that works correctly
13 лет назад