Commit Graph

103 Commits (68836e7e237d82a377b2b2262cf85f031cb0bba1)

Author SHA1 Message Date
Anthony 6261427e66
Update translations from transifex (#4645)
* Update translations from transifex

* Drops our local-only fabric for invoke, extend common/tasks.py
* Adds some more commands to update doc translation pieces
* Fixes a context issue in application template
* Rebuild docs locale from scratch
* Drops docs/locale/en, it doesn't seem used
* Translations are already update on Transifex

* Add requirement for sphinx-intl
2018-09-27 09:51:01 -06:00
Eric Holscher 7f01c6cd3e
Merge pull request #3445 from stsewd/consistent-sections
Wrap versions' list to look more consistent
2018-06-06 16:13:53 -04: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 3f3d6b583e Consistent empty state for lists 2018-04-10 20:56:13 -05: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
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
Joachim Jablon d7069b99c0 Useless translation 2017-06-13 22:19:28 +02:00
fmoor 72f85db673 remove dependency on django-filter, resolves #2635 2017-05-24 12:46:20 -07:00
Ryan P Kilby 0951652d58 Fix django-filter 1.0 template deprecations 2016-11-23 03:48:18 -05:00
Eric Holscher 013c81825f Fix version sort order and add build_version block (#2253)
* Fix version sort order and add build_version block

* Properly sort version aware

* Include proper version sorting

* sort branches & whatnot below versions

* Fix docstring
2016-06-08 16:46:20 -07:00
Eric Holscher 9c73c8e01f Remove project search box. (#2157) 2016-06-02 16:41:55 -07:00
Eric Holscher 826003f306 Add another block 2016-04-21 13:21:34 -07:00
Eric Holscher 12dade73c7 Add a few useful blocks to templates 2016-04-21 13:05:21 -07:00
Eric Holscher 10989739ab Mark strings as translatable 2015-10-07 10:57:29 -07:00
Eric Holscher ceea8712b9 Clean up a few bits of UX around build filtering 2015-10-06 11:39:38 -07:00
Eric Holscher 16a75857ef Clean up analytics stuff 2015-02-02 17:14:16 -08:00
Eric Holscher 58507f3272 Merge branch 'analytics'
Conflicts:
	readthedocs/projects/views/public.py
2015-02-02 16:33:33 -08:00
Eric Holscher 8d54afd2a5 Initial stab at analytics 2015-01-08 10:57:48 -08:00
Anthony Johnson 58e66b418b Create onboard mixin and onboard templating for project details
This detects various states of project and builds and offers some onboarding
advice for each state.
2014-12-19 17:18:22 -08:00
Eric Holscher a3233f17f8 Add project details as an include 2014-11-10 13:37:19 -08:00
Eric Holscher 9ad1d56a83 Still sort versions 2014-10-19 17:27:20 -07:00
Eric Holscher 14b7e8cf25 Fix up build version list 2014-10-19 17:25:23 -07:00
Eric Holscher cc01f3f322 Kill build failed marker 2014-10-17 08:58:36 -07:00
Eric Holscher f471156444 Merge remote-tracking branch 'agjohnson/ux-and-onboarding' into user-dashboard
Conflicts:
	readthedocs/templates/projects/project_dashboard.html
2014-10-08 18:08:52 -07:00
Eric Holscher 739bccc501 Add template tags to privacy app and use them 2014-10-08 18:05:18 -07:00
Anthony Johnson 0cd361e830 Reorder project details, add build state 2014-09-25 14:53:10 -07:00
Anthony Johnson c2d35e5121 Fix last built time when there are no builds 2014-09-25 13:04:35 -07:00
Eric Holscher 60f6422a5d Minimize description on the profile page. 2014-08-30 19:17:43 -07:00
Anthony Johnson 9b5583dfa8 Merge WIP branch 'test-project-ux' into staging 2014-08-27 01:39:52 -07:00
Eric Holscher 041e6ceb15 Point project-search at ES front end. 2014-08-25 12:53:28 -07:00
Anthony Johnson 2aa8ffd4c2 Test project dashboard ux changes 2014-08-22 00:59:50 -07:00
Anthony Johnson cfef762621 Update templates to improve ability to style 2014-08-18 15:42:03 -07:00
Eric Holscher b7ddce1711 Clean up styling for badges 2014-08-14 15:42:13 -07:00
Eric Holscher 47757de59b Clean up badge code, enable option for redirecting.
Needs some style cleanup.
2014-08-14 15:42:13 -07:00
Eric Holscher 7dfd1856e1 Clean up badge html whitespace 2014-08-06 07:54:51 -07:00
Eric Holscher 4da85888f0 Link to badge when you click on the badge. 2014-08-05 23:39:01 -07:00
Eric Holscher f578b272f9 Add badge to project page. 2014-08-05 23:27:58 -07:00
Eric Holscher 5a02e0d432 Actually use the date of the last build. 2014-07-31 16:14:43 -07:00
Eric Holscher 7659223d40 Revert "Revert "Merge pull request #843 from rtfd/merge-1.6""
This reverts commit 3545214c3f.
2014-07-31 14:41:47 -07:00
Eric Holscher 3545214c3f Revert "Merge pull request #843 from rtfd/merge-1.6"
This reverts commit c9602934fc, reversing
changes made to e67465175d.
2014-07-31 14:39:01 -07:00
Eric Holscher 8609c16db5 More 1.6 fixes:
* markup tags
* Upgrade packages
* Fix up API
2014-06-14 14:19:57 -07:00
Anthony Johnson 1442d58305 Merge branch '1.6-compat' into merge-py3-django16
Conflicts:
	pip_requirements.txt
	readthedocs/projects/models.py
	readthedocs/restapi/urls.py
	readthedocs/settings/base.py
	readthedocs/templates/core/project_bar.html
	readthedocs/templates/projects/project_edit_base.html
2014-06-01 19:28:21 -07:00
Stein Magnus Jodal a69b35fc04 crate.io: Remove from project details page
As the import task fails, the data may be stale and the links only redirect to
PyPI.
2014-01-07 00:21:20 +01:00
Eric Holscher d350e2de1f Revert "Fix url tags"
This reverts commit 3a1e454fde.
2013-11-24 11:41:51 -08:00
Eric Holscher b3250a8a1d Fix url tags 2013-11-23 21:24:43 -08:00
Eric Holscher 3a1e454fde Fix url tags 2013-11-23 21:24:28 -08:00
Eric Holscher 8dfbbcf4e3 Fix short urls to link to http. Refs #328. 2013-10-27 00:11:21 -07:00
Eric Holscher d9e76d2c04 Revert "Revert "Update project landing page sidebar to use slug in build example""
This reverts commit e9383981ba.
2013-09-28 13:25:24 -07:00