Commit Graph

1271 Commits (68836e7e237d82a377b2b2262cf85f031cb0bba1)

Author SHA1 Message Date
Eric Holscher b10c493731
Merge pull request #4116 from safwanrahman/search_test
Test for search functionality
2018-06-05 11:30:17 -04:00
Safwan Rahman fcef7464b8 Adding another project and test for languages 2018-06-05 07:18:46 +06:00
Eric Holscher cefb86f6d0
Merge pull request #3585 from stsewd/download-raw-log
Download raw build log
2018-05-30 17:54:22 -04:00
Eric Holscher ab6c2c833a Merge branch 'better-ux-subprojects' of https://github.com/stsewd/readthedocs.org 2018-05-30 17:39:19 -04:00
David Fischer e01d94cab7
Merge branch 'master' into do-not-track-support 2018-05-30 13:15:27 -07:00
David Fischer df22053f3f
Check DNT setting on base template 2018-05-30 12:36:28 -07:00
Eric Holscher 7a12c2e25b
Merge pull request #4150 from davidfischer/email-newsletter-footer
Small footer rework
2018-05-30 15:14:34 -04:00
David Fischer 28c17f5d83
Additional reorg of the footer 2018-05-29 13:52:51 -07:00
David Fischer 7bbe0b4b68
Get the scoping right 2018-05-29 13:33:37 -07:00
David Fischer a746c14d9f
Remove the language select form from error pages
- Without the language select form, no CSRF cookies will be sent
2018-05-29 13:31:15 -07:00
Safwan Rahman 085d5baf42 implementing tests for facets 2018-05-28 01:40:59 +06:00
David Fischer 43c0a643d2
Add strings for translation 2018-05-25 16:42:14 -07:00
David Fischer be15da34af
Small footer rework 2018-05-25 16:28:08 -07:00
Eric Holscher a0725f3ce0 Don't change block name 2018-05-24 16:12:20 -04:00
Eric Holscher a7bfcc7651 Merge branch 'ticket_3694' of https://github.com/ajatprabha/readthedocs.org into ajatprabha-ticket_3694 2018-05-24 16:12:09 -04:00
Eric Holscher a10321120f
Merge pull request #3844 from ze/master
Make search bar in dashboard have a more clear message.
2018-05-24 16:01:56 -04:00
Santos Gallegos bd03a78a18 Show link to everyone 2018-05-23 23:19:13 -05:00
Santos Gallegos 03e642b8fc New url 2018-05-23 22:35:20 -05:00
Santos Gallegos 75a8042a71 Show view raw only to staff users 2018-05-23 22:33:12 -05:00
Santos Gallegos a1f22a73c0 Add url for view raw 2018-05-23 22:27:28 -05:00
Santos Gallegos 9f6da49205 Change Raw log to View raw 2018-05-23 22:27:28 -05:00
Santos Gallegos 717d70ea37 Add suggestion for raw log link 2018-05-23 22:27:27 -05:00
David Fischer b79158fda0
Merge pull request #4063 from davidfischer/update-rtd-gold-marketing
Update Gold Member marketing
2018-05-22 11:44:47 -07:00
David Fischer a62ff177d1
Merge branch 'master' into do-not-track-support 2018-05-22 09:41:38 -07:00
David Fischer b44e79959a
Add privacy policy to signup form 2018-05-21 09:50:00 -07:00
David Fischer e7df6c3c9d
Merge branch 'master' into privacy-policy-draft 2018-05-21 09:47:05 -07:00
David Fischer 08e35919db
Updates based on feedback for gold messaging 2018-05-18 16:24:15 -07:00
David Fischer 3f741684c9
Only check navigator.doNotTrack per the standard 2018-05-18 12:06:43 -07:00
David Fischer a466bf6385
Use exists -- it's faster 2018-05-15 11:39:51 -07:00
Manuel Kaufmann 8273eedbe8 Use next field to redirect user when login is done by social 2018-05-11 10:18:20 -05:00
David Fischer 111371ca1c
Update Gold Member marketing 2018-05-05 13:56:12 -07:00
Raju Jha 29f4f0dd98 restored deleted html id 2018-05-01 19:45:19 +05:30
David Fischer b038d9d7ea
Handle a few issues with DNT
- Handle navigator.doNotTrack == 'unspecified'
- Make GA actually store persistent cookies
2018-04-30 20:47:15 -07:00
David Fischer d0cc92e2c4
Initial do not track support 2018-04-30 20:24:31 -07:00
Santos Gallegos 0e73bfab8d Fix unbalanced div 2018-04-30 19:38:52 -05:00
Eric Holscher 18cb59f24b Merge branch 'Jigar3-develop' 2018-04-30 17:19:52 -07:00
Eric Holscher 5c9e27fbc8 Merge branch 'develop' of https://github.com/Jigar3/readthedocs.org into Jigar3-develop 2018-04-30 17:17:46 -07:00
Santos Gallegos 5d710a46d1 Remove unused templates 2018-04-30 18:43:22 -05:00
Santos Gallegos 09d573b363 Remove duplicate templates
This aren't used anymore, we use
`readthedocs/templates/search/elastic_search.html`
2018-04-30 18:32:12 -05:00
Santos Gallegos 97f51f44be Remove haystack from templates 2018-04-30 18:19:10 -05:00
Eric Holscher 637f37d741
Merge pull request #3802 from stsewd/issue2879
[WIP] Remove comments app
2018-04-27 14:32:07 -07:00
Eric Holscher 08eed81dc7
Merge pull request #4018 from rtfd/agj/remove-queue-length
Remove build queue length warning on build list page
2018-04-27 10:40:39 -07:00
Eric Holscher afa5500a1f
Merge pull request #4022 from davidfischer/support-github-bitbucket-login
Support sign in and sign up with GH/GL/BB
2018-04-27 10:38:38 -07:00
David Fischer 8a2bf28532
Sign up is two words 2018-04-25 13:57:23 -07:00
David Fischer 2faf84bbf5
Support sign in and sign up with GH/GL/BB 2018-04-25 12:36:38 -07:00
Anthony Johnson 4ab5f75e1a
Remove build queue length warning on build list page
This piece of UI was never updated to fit somewhere more cohesive in the UI and
I feel is a strange thing to expose directly to users. I think a better
application for this is in an eventual status page. A status page is not a
priority atm though.
2018-04-25 09:09:36 -06:00
David Fischer 9f4d7e5a1b
Remove typekit
- Replace fonts with a native font stack
- Fixes #3939
2018-04-20 11:11:18 -07:00
David Fischer 4e5560cd88
First draft of privacy policy 2018-04-19 21:48:57 -07:00
Santos Gallegos 5562c6642a Fix view docs link (#3882)
* Fix view docs

Add new templatetag

* Run pre-commit

* Remove custom tag

* Add new endpoint to API
2018-04-19 12:53:42 -06:00
Eric Holscher a4f9d63ac2
Merge branch 'master' into develop 2018-04-18 16:50:06 +08:00
Eric Holscher d270a67587
Merge pull request #3593 from stsewd/redirect-repr
Show URLS for exact redirect
2018-04-18 15:57:06 +08:00
Manuel Kaufmann ea0ed486d6
Merge pull request #3811 from vidartf/ticket_2380
Fix page redirect preview
2018-04-17 15:22:15 -05:00
Manuel Kaufmann 0f95cf4262
Merge pull request #3869 from italia/moretranslatable
templates: mark a few more strings for translations
2018-04-17 12:46:56 -05:00
ze 9a4fdf3a5f Remove redundant CSS selectors
Change margins on #project_description to what it seems it was intended to be
Adjust project description template
2018-04-14 23:45:03 -04:00
Santos Gallegos 7b7ecb3bfc Wrap integration list 2018-04-10 20:56:13 -05:00
Santos Gallegos 3f3d6b583e Consistent empty state for lists 2018-04-10 20:56:13 -05:00
Santos Gallegos d2883f3c27 Wrap versions' list to look more consistent 2018-04-10 20:56:13 -05:00
ze 3d96a0634c Make string translatable 2018-03-30 00:16:20 -04:00
Riccardo Magliocchetti 216578ca56 templates: mark a few more strings for translations 2018-03-28 17:58:20 +02:00
ze 589d0774ba Make search bar in dashboard have a more clear message. 2018-03-26 23:02:27 -04:00
Santos Gallegos a0790e446a Show redirects on separate lines 2018-03-26 14:06:48 -05:00
Santos Gallegos 2d6d2a00fe Show link to docs on a build (#3446)
* Show link to docs on a build

* Revert e54401d

* Add view docs link to the right float area
2018-03-23 13:04:33 -06:00
Manuel Kaufmann ded401e7c5 Auto-generate conf.py compatible with Py2 and Py3 (#3745)
* Test to call BaseSphinx.append_conf() without a conf.py

* Fix open.write incompatibility between Py2 and Py3

* Small typo

* Small lint error

* Add docstring and mark test as failed when Exception raised

* Spaces cleanup in conf.py.conf (template)

* Improve test to check content of generated conf.py

* Remove unused import

* Increase in one the number of imported files because of new conf.py

* Fix test to return a valid temporal file as conf.py
2018-03-23 11:41:02 -06:00
Vidar Tonaas Fauske 07d61c377f
Update project_redirects.html 2018-03-16 15:38:28 +01:00
Vidar Tonaas Fauske fdb2d659dc Cleanup from review 2018-03-16 13:55:10 +01:00
Raju Jha 0767e00894 removed autocomplete js 2018-03-15 18:50:02 +05:30
Santos Gallegos a3feab79e8 Remove comment moderation 2018-03-14 19:21:37 -05:00
Anthony Johnson 68f4ab6585
Merge branch 'fix-bug-translations' 2018-03-12 10:52:32 -06:00
Santos Gallegos 32670cb825 Remove inline style 2018-03-09 16:41:12 -05:00
Manuel Kaufmann 8b0350f35d Add filtering of project repos by user owned projects (#3548)
* Filter by my own repositories at Import Remote Project

* Do not filter by own when filtering by org

* Comments and HTML layout

* Remove unused variable

* Respect the page for orgs and owns repos

* Deferred updates

* Remove invalid dependency

* Show all connected accounts

Ability to filter by each connected account independently.

* Endpoint to retrieve all the connected social accounts

* Use one list for all filters (organizations and own accounts)

* Fix tests

* eslint

* Fix merging conflict issues

* Lint fix

* Update styles

* Add generated files
2018-03-09 10:25:39 -07:00
Shubham R Patil d0c6abbf24 Changed 'Submit' text on buttons with something more meaningful (#3749)
* Changed 'Submit' text on buttons with something more meaningful

* Update project_advertising.html

* Update project_edit.html

* fixed typo

* Removed the capitalization in sentences or texts on submit buttons
2018-03-09 10:15:02 -07:00
Santos Gallegos baa6b07e41 Check for http protocol before urlize (#3755) 2018-03-09 08:44:07 -07:00
Raju Jha 4d4b1286fb Replace copy "Go Crazy" with "Search" (#3752)
Closes #3741
2018-03-07 14:57:51 -07:00
Santos Gallegos bdf4844d4c Add help class 2018-03-06 17:19:07 -05:00
Santos Gallegos 70d94c9938 Add Existing Translations header 2018-03-05 15:28:45 -05:00
Eric Holscher 27d9ba3e9a
Merge pull request #3702 from ajatprabha/ticket_3701
Fixed #3701: added closing tag for div element
2018-03-01 11:32:08 +07:00
Eric Holscher 308879aa01
Merge pull request #3633 from aasis21/fix-broken-text-editor
formatting buttons in edit project text editor
2018-03-01 10:47:34 +07:00
Santos Gallegos 84ec88f609 Remove p tag 2018-02-28 22:27:44 -05:00
Santos Gallegos 66419d2c95 Fix grammar 2018-02-28 22:27:28 -05:00
Santos Gallegos 5d3d153cc3 Better help text 2018-02-28 22:27:10 -05:00
Ajat Prabha 8175974a66 patches #3694: rename owners to maintainers 2018-03-01 05:53:36 +05:30
Ajat Prabha 457ac621a3 Fixed #3701: added closing tag for div element 2018-03-01 05:14:09 +05:30
Santos Gallegos 16f3527b76 Remove useless js 2018-02-28 15:47:22 -05:00
Santos Gallegos 5814aeff57 Changes on the template 2018-02-28 15:46:54 -05:00
Santos Gallegos 640960a57a Improve template 2018-02-27 23:57:13 -05:00
aasis21 1330fd32a4 revert back description field removal and added suggested changes 2018-02-27 20:39:45 +05:30
aasis21 2950fdab1c removed rich text editor and its related markitup media files 2018-02-27 00:53:31 +05:30
Jigar 7239f4334c Cleaned up remaining code 2018-02-24 01:27:08 +05:30
Jigar ab55c92bb4 deleted bookmarks app 2018-02-23 19:57:58 +05:30
Santos Gallegos f613c667df Change wrapper 2018-02-21 18:27:35 -05:00
Santos Gallegos 147145e1c0 More general layout 2018-02-21 18:23:03 -05:00
David Fischer 46d543afa8
Update RTD security docs 2018-02-19 15:46:24 -08:00
aasis21 828ec8a10b fixed formatting buttons in edit project text editor 2018-02-18 20:04:42 +05:30
David Fischer 6220da620f
Anonymize IP addresses for Google Analytics 2018-02-16 11:46:42 -08:00
Santos Gallegos 3434ca352e Int to string 2018-02-15 03:07:27 -05:00
Santos Gallegos 74a4a50f48 Remove hardcoded copyright on template 2018-02-15 02:59:16 -05:00
Santos Gallegos b2f24b86e5 Edit layout as multiple lines list 2018-02-10 11:34:30 -05:00
David Fischer e35ac0c8f0
Fix an unclosed tag 2018-02-09 11:04:43 -08:00
David Fischer ad6ce6ec4b
Updates based on feedback 2018-02-05 21:38:29 -08:00
David Fischer 950db4b747
Rework homepage
- Call to action to get started
- Break up large blocks of text
- Remove recent projects
2018-02-05 11:49:18 -08:00
Santos Gallegos ebaeec9438 Add edit and view docs buttons to subproject list 2018-02-01 20:49:07 -05:00
Eric Holscher f7df7d36e5 Merge branch 'jessetan-analytics' of https://github.com/davidfischer/readthedocs.org into davidfischer-jessetan-analytics 2018-01-25 12:10:40 -08:00
Eric Holscher f9386aea12 Revert back to mkdocs search 2018-01-09 14:26:39 -08:00
David Fischer 8694129a22
Merge branch 'analytics' of https://github.com/jessetan/readthedocs.org into jessetan-analytics 2018-01-09 10:07:46 -08:00
Erick Matsen 6c2d798eec
Fixing "reseting" misspelling. 2018-01-06 09:48:07 -08:00
Santos Gallegos c8e4aff6b3 Don't show "build ideas" to unprivileged users
Closes #3430
2017-12-21 17:38:03 -05:00
Eric Holscher 4a835b43d4
Merge pull request #3417 from rtfd/humitos/wipe/move-button
Move wipe button to version detail page
2017-12-21 09:01:49 -08:00
Eric Holscher 26102e0faa
Merge pull request #3418 from rtfd/humitos/build/link-version-detail
Link to version detail page from build detail page
2017-12-20 19:56:01 -08:00
Manuel Kaufmann c9ce5ff4f4 Fix HTML form style 2017-12-20 16:56:25 -05:00
Manuel Kaufmann f8e8ca11f9 Translate missing words 2017-12-20 16:50:50 -05:00
Manuel Kaufmann e9d7733673 CSS: display: inline for Save button 2017-12-20 16:50:50 -05:00
Manuel Kaufmann 08661bdb10 Move button Wipe to Version detail page
Instead of being a button under detail page, it follows the same idea
of deleting a project: a link next to the Save button.
2017-12-20 16:50:50 -05:00
Manuel Kaufmann b3274fb082 Link to version detail page from build detail page 2017-12-20 16:19:42 -05:00
Eric Holscher 04ae1cf2f3 Fix endif 2017-12-18 14:03:44 -08:00
Eric Holscher fce7518f60 Merge remote-tracking branch 'origin/master' into support-dashboard-analytics-code 2017-12-18 14:02:24 -08:00
Eric Holscher f307edb9ef Add concept of dashboard analytics code
This lets us have a specific Analytics code for the dashboard,
instead of using it for dashboard & docs.
This keeps the pre-existing global one for all things,
but lets us segment out the dashboard.

This is mainly useful for having GA not sample our dashboard traffic,
so we can get real data for it.
2017-12-18 13:53:50 -08:00
Manuel Kaufmann 36bc42b3fc Remove extra 's' 2017-12-18 11:22:15 -05:00
Anthony 2bdc987d97
Don't display the build suggestions div if there are no suggestions (#3389)
This added extraneous spacing to the build page.
2017-12-14 12:13:39 -07:00
Manuel Kaufmann 00b081d7af Show connect buttons for installed apps only (#3394)
* Show connect buttons for installed apps only

Instead of hardcode the button/form for each of the services, we share
the ``provider_list.html`` file used in the "Connected Services" tab
from "Account Settings".

This template shows only buttons for the Services installed in the
database.

* Fix lint

* Add missing CSS class used at .com

* Use proper GitLab icon from FontAwesome

* Force tuple but without breaking prospector

* Do not loose the next attribute

* Fix styling
2017-12-14 12:12:21 -07:00
Santos Gallegos 4373cba73c Remove copyright application (#3400) 2017-12-14 12:11:48 -07:00
Eric Holscher 1a053bdf35 Integrate Embed API where we expect it. (#3356)
* Integrate Embed where we expect it.

* Re-enable ImportedFile creation

* Filter files to only HTML.

* Fix tests

* Update media files
2017-12-12 15:10:05 -07:00
Eric Holscher 14e498a24f Fix silly template line breaks 2017-12-08 06:59:56 -08:00
Anthony 01717c03fa
Add changelog and changelog automation (#3364)
* Add changelog and changelog automation

First, update the version in our setup.cfg and changelog:

    invoke prepare <version>

Then, hand edit and commit, added any release notes, etc. Tag manually or:

    invoke release <version>

Finally, push up your changes.

This:

* Uses setup.cfg instead of setup.py
* Parses setup.cfg for version
* Updates setup.cfg on release prepare task
* Show our release version in our footer
* Uses invoke for task execution
* Uses a node library to hit GitHub and fetch the changelog
* Imports this into our existing changelog

* Fix style with autolint

* Lint fixes
2017-12-07 11:03:00 -07:00
Manuel Kaufmann ba71aa1860 GitLab Integration (#3327)
This adds GitLab integration for project import, including remote repositories and webhooks.
2017-12-07 10:57:49 -07:00
Safwan Rahman 762d342b9a [Fix #3182] Better user deletion (#3214)
* [Fix #3182] Better user deletion

* fixup according to comments

* Delete user after user ask to get deleted

* fixing lint
2017-12-05 17:10:50 -07:00
Eric Holscher 0fb9b7e4bb Suggest wiping your environment to folks with bad build outcomes. (#3347)
Suggest wiping your environment to folks with bad build outcomes.

This is a basic start to trying to be more helpful to users.
2017-12-05 17:00:26 -07:00
Eric Holscher 5a5a906949 s/count/exists/ 2017-12-05 08:46:43 -08:00
Eric Holscher ce5932ec0a And template 2017-12-05 08:36:12 -08:00
Eric Holscher 3967f071f4 Fix translation 2017-12-05 08:35:07 -08:00
Eric Holscher fb5e5bbaf0 Try and get folks to put more tags. 2017-12-03 14:15:38 -08:00
Manuel Kaufmann 90ac70d56e Show the proper version in the project dashboard (#3307)
The bug was introduced at

https://github.com/rtfd/readthedocs.org/pull/2944/files#diff-9a10ae0511ab8eb72096c4a0510a364eL38

Since the {% blocktrans %} was removed, the `slug` name was
undefined. Besides, there is no need to translate the slug, so the
first one was also removed
2017-11-27 10:49:50 -07:00
Manuel Kaufmann ebf9a40c5b Do not show Build button when user is not project admin (#3309)
* Do not show Build button when user is not project admin

Closes #3303

* Add test to check for Build section

* Fix old test to make sure a public branch is listed
2017-11-27 09:50:27 -07:00
Manuel Kaufmann 4de678e5c4 Use CSRF token on forms to trigger a new builds (#3260)
* Use CSRF token on forms to trigger a new builds

Avoid "This endpoint is deprecated" raised when hitting and old
endpoint with security issues.

Now, each view that shows a form with the "Build" button uses the
BuildTriggerMixin to handle the POST request and trigger the new build.

Closes #3253

* Filter project by `for_admin_user`

* Use login_required as method_decorator for BuildTriggerMixin

The user must be logged in to trigger a build.
2017-11-15 13:30:52 -07:00
David Fischer 46fac30433
Mention ads and sponsors on the homepage 2017-11-06 20:57:14 -08:00
David Fischer 1cf0ceef50
Link to the advertising page from the footer 2017-10-27 22:17:35 -07:00
Eric Holscher fa70e22730 Fix gold imports 2017-10-24 10:22:58 -07:00
Safwan Rahman f90bbda1ed [Fix #3120] Enable users to delete their own account 2017-10-20 23:25:12 +06:00
David Fischer 9443fe3517 Semantic class names 2017-10-19 12:23:03 -07:00
David Fischer 6ce3fe2bcd Carry forward noopener and noreferrer 2017-10-19 12:23:03 -07:00
David Fischer a66d3cdcfb Fix a URL bug relating to error screens 2017-10-19 12:23:02 -07:00
David Fischer 4ecdf928e4 Read the Docs footer
- link to commercial support, and team information
- language selector is more subdued
- include copyright notice
2017-10-19 12:23:02 -07:00
Eric Holscher 4dc24e8982 Merge pull request #3163 from davidfischer/minor-html-issue
Fix a minor HTML issue - ul can't be a child of ul
2017-10-13 11:30:00 -07:00
David Fischer b64a864294
Fix a minor HTML issue - ul can't be a child of ul 2017-10-12 22:09:10 -07:00
Eric Holscher 9ed7765551 Merge pull request #3125 from EdOverflow/noreferrer
Add rel="noopener noreferrer" in order to prevent leaking the password reset token.
2017-10-12 14:37:43 -07:00
EdOverflow 7895f4f4e7 Add rel="noopener noreferrer". 2017-09-27 15:04:03 +02:00
Jesse Tan 0a3384b7ad Typo: intergrations -> integrations 2017-09-26 10:56:10 +02:00
Jesse Tan 23d80c5682 Switch to Universal Analytics API 2017-09-06 14:41:27 +02:00
Ed Rivas 3fd8bab7cf Fix {% trans %} tags in password reset email. Fixes #3036. (#3049)
* Fix {% trans %} tags in password reset email. Fixes #3036.

* Typo.
2017-08-17 11:30:20 -07:00
Eric Holscher 944a292ced Merge branch 'count-translation' of https://github.com/ewjoachim/readthedocs.org into ewjoachim-count-translation 2017-07-17 11:41:51 -07:00
Anthony 2d4e004bee New subproject admin page (#2957)
* Remove privacy app

The privacy app was a strange mixture of various application models managers,
querysets, and syncers. Instead, logic is moved to where we should be using it,
inside the other applications

* New subproject admin page

This replaces the list of text with a table that is more navigable and also
replaces the create form with a dropdown form of the projects you can add. This
list of projects is limited to projects you are the admin of, and which have not
been added as a sub or super project anywhere else.

This depends on #2954 and others.

* Lint fixes

* Require arguments to project form
2017-06-22 14:56:17 -07:00