Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

This commit fixed a bug when a visitor views the public profile of one user. #29

Closed
wants to merge 3,096 commits into from

15 participants

Adieu Eugene MechanisM Patrick Altman Brian Rosner Justin Abrahms Martin Mahner James Tauber vlinhart Jannis Leidel Luke Hatcher Vladimir Garvardt Mohammad - KBSoft Ryan Nowakowski Bojan Mihelac Hobson Lane
Adieu

When we are calling

previous_invitations_to = FriendshipInvitation.objects.invitations(to_user=other_user, from_user=request.user)

request.user could be AnonymousUser when a guest visitor requests the profile page.

At this time, the query wouldn't work and raise an exception.

The fix checks whether the visitor has logged in or not.

brosner and others added some commits
Brian Rosner brosner Quit properly when we cannot continue any longer 28b932d
Brian Rosner brosner Use REQUEST to get redirect_field_value so redirect URLs can persist …
…form validation errors
6fe378c
Brian Rosner brosner Be consistent with our use of e-mail (go with the version Django uses) 624093a
Brian Rosner brosner Make use of success_url when ACCOUNT_EMAIL_VERIFICATION is True to gi…
…ve a better user experience
867e8d0
Brian Rosner brosner More email -> e-mail fcc81cf
Brian Rosner brosner Django 1.2 is here! bff201a
Brian Rosner brosner Added Pinax has a requirement to all projects c3d34e8
Brian Rosner brosner Added Pygments to company_project 57c0803
Brian Rosner brosner Removed the magic with development builds as it fails when pip pins t…
…he version
2ed4422
Brian Rosner brosner Cleaned up requirements/ directory
Removed the cruft we no longer need (we're using versioning control system so
there is no point in keeping around older releases). Added a development.txt
as the new entry point and included Sphinx.
3596453
Brian Rosner brosner Pinned development releases for more reliable updates using pip 1dea8da
Brian Rosner brosner Updated out-dated requirements 7eeec8a
Brian Rosner brosner Fixed a search/replace fail on django-attachments requirement 4e7fe94
Brian Rosner brosner Updated django-announcements to 0.1.2 which fixes installation with s…
…etuptools
7c6b97f
Brian Rosner brosner Fixed more search/replace fail on textile requirement 09864d9
Brian Rosner brosner Wrap pinax import error message at 78 columns d591984
Brian Rosner brosner More email -> e-mail changes 958a2c7
Brian Rosner brosner Refs #661 — added missing Markdown requirment in cms_*_project 67749b4
Brian Rosner brosner CIA test 1 5666f63
Brian Rosner brosner Worked on first try. Yay! ab1cc65
Brian Rosner brosner Fixed #573 — updated django-generic-flatblocks to 0.9.1 which include…
…s the 1.2 fix
307c4ea
Brian Rosner brosner 0.9a1.dev12 2ff2ebb
Brian Rosner brosner Django 1.2.1 d847b98
Brian Rosner brosner Removed {% captureas %} which Pinax no longer uses for its original p…
…urpose
dfe5add
Brian Rosner brosner Removed |in_list filter in favor of using 'in' from Django 1.2 smart-…
…if tags
1e4ff75
Brian Rosner brosner Removed svn_app_version templatetags as they are no longer used 9451aae
Brian Rosner brosner Pinned django-groups requirement a0f7e0c
Brian Rosner brosner Updated docutils requirement 34bf75e
Brian Rosner brosner Include project-level app templates 9c3a91c
Brian Rosner brosner Cleaned up templates/README and removed section about Pinax trunk as …
…it really doesn't make sense now
a26ec17
Brian Rosner brosner Updated FAQ about 0.7 and Django 1.2. 5ce8068
Brian Rosner brosner Removed python-yadis (no longer needed) and bumped python-openid to 2…
….2.5
2f776c5
James Tauber jtauber added ROADMAP; initially written at PyCon and updated with latest status 6e7d7cc
Brian Rosner brosner Fixed #670 — corrected pip install docs to reflect a working method 33651e2
vlinhart vlinhart l10n: Updated Czech (cs) translation to 97%
New status: 44 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (www.transifex.net).
acf8c48
vlinhart vlinhart l10n: Updated Czech (cs) translation to 100%
New status: 45 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
18f8dac
vlinhart vlinhart l10n: Updated Czech (cs) translation to 12%
New status: 56 messages complete with 0 fuzzies and 379 untranslated.

Transmitted-via: Transifex (www.transifex.net).
5402765
Brian Rosner brosner Cleaned up some trailing whitespace in ROADMAP fd41ecc
Brian Rosner brosner Removed clone_project from customization documentation replacing it w…
…ith setup_project
04dbb3e
Brian Rosner brosner Fixed a small typo in ref anchor a935c5f
Brian Rosner brosner Added back :ref: which was mistakenly removed a71945b
Brian Rosner brosner Today is clearly not my day 1782e38
Brian Rosner brosner Removed _project suffix from project bases 07b5348
James Tauber
Owner

what's the thinking behind doing this?

Owner

This change was made to match how setup_project uses bases which before these values worked in clone_project. I think we should clarify this a bit better in the paragraph above the list and tweaking the wording for each base.

Martin Mahner

:-)

brosner and others added some commits
Brian Rosner brosner Updated INSTALLED_APPS to use wakawaka 65245e3
Brian Rosner brosner Use WikiPage in tagged_models from wakawaka 73d51bb
Brian Rosner brosner Updated intranet_project wiki URL to use wakawaka e24d418
James Tauber jtauber fixed url in tabs to use wakawaka url name 9474299
James Tauber jtauber moved over templates from wakawaka for pinax theming 0f7a351
James Tauber jtauber fixed whitespace in wakawaka templates d895acf
James Tauber jtauber integrated wakawaka templates into Pinax template structure cfe3067
Brian Rosner brosner 0.9a1.dev13 22dea50
James Tauber jtauber removed third blank line in code example 4a41c6c
James Tauber jtauber added note about using url function for URL patterns 6cb341d
Brian Rosner brosner Minor changes to zero urls.py 6828e63
Patrick Altman paltman removed modpython
Signed-off-by: James Tauber <jtauber@jtauber.com>
85d7ff8
Brian Rosner brosner Removed mailer and uni_from from zero_project e7ab2c7
James Tauber jtauber added vertical whitespace to pinax.fcgi cbc0d5e
Brian Rosner brosner Removed django-mailer and django-uni-form from zero project requirements 8ef0115
Patrick Altman paltman removed template_utils dependency
Signed-off-by: Brian Rosner <brosner@gmail.com>
950d7e9
Brian Rosner brosner Changed order of TEMPLATE_CONTEXT_PROCESSORS in zero 6885bd6
Brian Rosner brosner Corrected import of contrib.sites c269a40
Brian Rosner brosner Corrected style with imports in core/context_processors.py 05287ef
James Tauber jtauber backported changes to zero_project settings for consistency 10707f3
Brian Rosner brosner Removed site tabs in zero project 61b742b
James Tauber jtauber made static_project manage, settings and urls more consistent with ze…
…ro_project
6b3302e
James Tauber jtauber added django debug toolbar and webdesign to static_project 982b7fa
James Tauber jtauber removed django-uni-form requirement from zero_project a2fd7ae
James Tauber jtauber fixed MEDIA_URL in zero_project and static_project 68e67c1
Brian Rosner brosner Added account_project (based on zero_project with pinax.apps.account) 4017065
James Tauber jtauber changed reference to project name in settings comment for consistency 411ff6a
Patrick Altman paltman Rebased company project from zero project
Signed-off-by: Brian Rosner <brosner@gmail.com>
f9f064f
Patrick Altman paltman added initial data fixture for sites app
Signed-off-by: James Tauber <jtauber@jtauber.com>
ccf8f72
Brian Rosner brosner Added missing settings in account_project 7bf0054
Brian Rosner brosner Added about app and missing blurb in homepage template to account pro…
…ject
e50c107
Brian Rosner brosner Updated account_project settings.py to include some missing bits c8c9b73
Brian Rosner brosner Updated account_project with some missing URLpatterns 157ca59
Brian Rosner brosner Rebased basic_project on account_project 8fa48a1
Brian Rosner brosner Removed basic_profiles in favor of new app idios for complete profile…
… control in basic_project
154859a
Brian Rosner brosner Removed extraneous {% load in_filter %} calls ecfe8aa
Brian Rosner brosner Removed extraneous {% load in_filter %} call 2b9526f
Jannis Leidel jezdez Marked two new strings for translation. e79c7f9
Jannis Leidel jezdez Use idios' template for profile form. 4c09cff
Jannis Leidel jezdez Switched model specific exception with general one. 33c9215
Brian Rosner brosner Removed last {% load in_filter %} 54db763
Luke Hatcher lukeman Added static_url context processor to all projects with staticfiles i…
…n INSTALLED_APPS.

Signed-off-by: Brian Rosner <brosner@gmail.com>
160b7eb
Brian Rosner brosner Fixed account_project deployment files 8afebb2
Patrick Altman paltman added notes about installing PIL to clean virtualenv in order to run …
…full test suite
4d2571c
Patrick Altman paltman getting started on documenting apps for pinax ea3e7a0
Patrick Altman paltman added some more account docs bd9fb84
Patrick Altman paltman updated settings documentation for account 2fb148c
Patrick Altman paltman updated templates section for account docs 72a6694
Patrick Altman paltman updated with context information for each template 42e6217
Patrick Altman paltman automodule all of the modules df4b0ac
Patrick Altman paltman added doc string to class 9edfc22
Patrick Altman paltman added ref-install link to fix broken reference in faq 7fb707e
Patrick Altman paltman fixing a couple of document warnings/bugs b3303eb
Patrick Altman paltman added docs for analytics app 0e9e2d8
Patrick Altman paltman correcting comment per brosner's commit comment on d78a168 248ac21
Patrick Altman paltman added docs for authsub a87f61b
Patrick Altman paltman added documentation for autocomplete_app 3cdb22d
Patrick Altman paltman removed unnecessary imports; cleaned white-space and single-quoted st…
…ring
9b7d5be
Patrick Altman paltman added example of wiring up autocomplete in template f23ac24
Patrick Altman paltman added basic_profiles documentation df1fdb3
Patrick Altman paltman add usage section to gettingstarted when there is content to write 0bf9271
Patrick Altman paltman removed extraneous line to be in line with style conventions 3a9e54a
Patrick Altman paltman added docs for bbauth 11c8de8
Patrick Altman paltman relocate import to top and in order to be in line with style guidelines 56157af
Patrick Altman paltman correct indentation on doc comments 754f540
Patrick Altman paltman added docs for blog app 2479591
Brian Rosner brosner Use latest Sphinx no later than 0.6.x a81b76c
Brian Rosner brosner Fixed sys.path bits in conf.py to work correctly b09bf42
Brian Rosner brosner Moved individual app toctree above release notes 893edcb
Brian Rosner brosner Some clean-ups in account documentation (mostly reviewed them for str…
…ucture)
90e44d5
Brian Rosner brosner Rebased private_beta project onto account project
This removes some apps which used to be used by private_beta project. This
project now represents only what is needed for a site in private beta.
ecccbf2
Patrick Altman paltman added docs for apps d262295
Brian Rosner brosner Honor ACCOUNT_OPEN_SIGNUP in account.urls directly 5749945
Brian Rosner brosner Merge branch 'master' into doc-apps 2ccec6a
Brian Rosner brosner Merge branch 'doc-apps' da36e72
Brian Rosner brosner Added missing extra_body block in basic project site_base.html 33144d2
Brian Rosner brosner Rebased private_beta project onto basic project 579b954
Brian Rosner brosner 0.9a1.dev14 0ff0db7
Brian Rosner brosner Rebased intranet project onto basic project d5f2e4a
Patrick Altman paltman remove last remaining vestiges of wikiapp 1db0515
Patrick Altman paltman fixed #674 by adding back in the code to set the proper value in the …
…deploy files from clone_project

Signed-off-by: Brian Rosner <brosner@gmail.com>
cb7641c
Brian Rosner brosner Rebased code project on basic project 7fb18e0
Brian Rosner brosner Added missing python-openid requirement to project-level requirements b3ebeba
Brian Rosner brosner 0.9a1.dev15 4c9fc78
Patrick Altman paltman added group aware wakawaka templates to starter projects that use wak…
…awaka; fixed remaining wakawaka integration items
dd584fa
Brian Rosner brosner Rebased social project onto basic project 8d81468
Brian Rosner brosner Merge remote branch 'paltman/wakawaka_integration' into wakawaka_inte…
…gration
7bc62f6
Brian Rosner brosner Merge branch 'master' into wakawaka_integration
Conflicts:
	pinax/projects/basic_project/settings.py
	pinax/projects/code_project/requirements/base.txt
	pinax/projects/intranet_project/requirements/base.txt
	pinax/projects/intranet_project/settings.py
	pinax/projects/intranet_project/urls.py
	pinax/projects/private_beta_project/requirements/base.txt
	pinax/projects/sample_group_project/requirements/base.txt
	pinax/projects/sample_group_project/settings.py
a75a4af
Patrick Altman paltman moved wakawaka templates up to default level - broken 51ef512
Brian Rosner brosner Merge remote branch 'paltman/wakawaka_integration' into wakawaka_inte…
…gration
8e45cc4
Brian Rosner brosner Added groups.middleware.GroupAwareMiddleware to social project MIDDLE…
…WARE_CLASSES
3d0f6e9
Brian Rosner brosner Added pinax.apps.account.auth_backends.AuthenticationBackend and adde…
…d to all projects
8787f8f
Brian Rosner brosner Merge branch 'master' into wakawaka_integration 80ff614
Brian Rosner brosner Allow all users to create wiki pages 3d72f86
Brian Rosner brosner Merge branch 'wakawaka_integration' f871e8e
Brian Rosner brosner 0.9a1.dev16 d7cccf4
Brian Rosner brosner Include deployment files in MANIFEST.in d2e15ce
Brian Rosner brosner 0.9a1.dev17 6c1d213
Brian Rosner brosner Removed sys.stdout = sys.stderr hack in WSGI deployment files c223eb3
Brian Rosner brosner Pass {% url %} the correct object for URL reversal a74b8fe
Brian Rosner brosner Removed link to profile detail in account project f909aed
Brian Rosner brosner Updated django-wakawaka to 0.4.dev4 980e1e6
Brian Rosner brosner 0.9a1.dev18 e032f4a
Brian Rosner brosner Removed profile detail link in private beta cedf6ea
Brian Rosner brosner Use django-mailer 0.2 43864f1
Brian Rosner brosner 0.9a1.dev19 22a351f
Brian Rosner brosner Updated django-wakawaka to 0.4.dev5 49d8ce6
Brian Rosner brosner 0.9a1.dev20 cbf9da4
Brian Rosner brosner Removed duplicated python-openid requirement in code project 6ca3c91
Brian Rosner brosner Allow global editing of wiki content 30cf6cc
Luke Hatcher lukeman Fixed universal edit button link to use group_url.
Signed-off-by: Brian Rosner <brosner@gmail.com>
44c963e
Luke Hatcher lukeman Added groupurl to the universal edit button on all wakawaka templates.
Signed-off-by: Brian Rosner <brosner@gmail.com>
bca3d3b
Brian Rosner brosner Added missing group_tags load cf59e83
Brian Rosner brosner Removed an instance of using 'as' where not needed ed1e274
Brian Rosner brosner 0.9a1 9b91bf2
Brian Rosner brosner Pin Pinax at 0.9a1 7be1306
Brian Rosner brosner Next release: 0.9a2 137e9a0
Martin Mahner

That’s interesting.

Owner

I don't quite get what emotion you are expressing? Is there more you'd like to say? ;-)

This was done to be compatible with the way wikis worked in Pinax before django-wakawaka. This is largely band-aide code to allow us to get 0.9a1 out the door. I plan on revisiting permissions in general to see how to solve stuff like this. Ideally the site developer will be in full control of how this stuff works.

vgarvardt and others added some commits
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 4%
New status: 20 messages complete with 0 fuzzies and 415 untranslated.

Transmitted-via: Transifex (www.transifex.net).
56d33ba
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 18%
New status: 80 messages complete with 0 fuzzies and 355 untranslated.

Transmitted-via: Transifex (www.transifex.net).
b5e7e7a
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 27%
New status: 120 messages complete with 0 fuzzies and 315 untranslated.

Transmitted-via: Transifex (www.transifex.net).
140b888
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 31%
New status: 138 messages complete with 1 fuzzy and 296 untranslated.

Transmitted-via: Transifex (www.transifex.net).
1a85799
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 2 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
abbb30e
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 4 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
64abdc6
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 7 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
fc65d3d
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 16 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
7574e65
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 18 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
4b94c11
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 95%
New status: 22 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
1a9c5f9
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 67 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
3d7359c
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 29 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
87065e2
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 97%
New status: 44 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
592c87b
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 8 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
b0b1469
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 4 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
d186098
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 8 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
80f7047
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 9 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
c38f604
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 9 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
e6228df
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 9 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
66095f3
Vladimir Garvardt vgarvardt l10n: Updated Russian (ru) translation to 100%
New status: 32 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
230df43
Jannis Leidel jezdez Updated all translations. b7fb3c0
Jannis Leidel jezdez Compiled all translations. 412c06a
Brian Rosner brosner Marked "Log in or Sign up" for translation 3c6fdea
Brian Rosner brosner Wrapped sign up link in _account_bar.html to honor ACCOUNT_OPEN_SIGNUP c1b6009
Brian Rosner brosner Added Patrick Altman to our core developers. Congrats Patrick and tha…
…nks for all your hard work.
48cf5b4
Justin Abrahms

Awesome. Congrats paltman!

brosner and others added some commits
Brian Rosner brosner Moved to using e-mail backends (external apps will be updated to use …
…django.core.send_mail too)
b0349f6
Mohammad - KBSoft kbsoft-kw Fixed #690 - fixed following/followers template tags in addition to _…
…account_bar.html transblock
c2534c6
Mohammad - KBSoft kbsoft-kw Fixed #692 - renamed project_name to user_project_name 93c45a9
Brian Rosner brosner Updated django-notification to 0.2a1.dev4 a7bcbbd
Brian Rosner brosner Removed Pinax as a dependency for dealing with development version of…
… Pinax better

During the release process we will pin the release and comment it out again
for the next release cycle.
dfdfe02
Brian Rosner brosner Marked more strings for translation in _account_bar.html 7a1f372
James Tauber jtauber fixed requirements file reference in contributing docs 0ce2938
Brian Rosner brosner Consolidated environment code to pinax.env.setup_environ ddd760f
James Tauber jtauber updated templates to support notices / notice settings split 3404ae0
Brian Rosner brosner Updated django-email-confirmation to 0.2.dev4 8741680
Luke Hatcher lukeman Fixed comments javascript path in intranet project.
Signed-off-by: Brian Rosner <brosner@gmail.com>
f92d25b
Brian Rosner brosner Updated Django to 1.2.3 — recommended update for everyone f1d3831
Brian Rosner brosner Updated Sphinx conf.py release variable for 0.9a2 caff4a3
Brian Rosner brosner Fixed another instance of external_apps.txt being referenced in contr…
…ibuting documentation
6024df5
Brian Rosner brosner No longer need this little hack 4191203
Brian Rosner brosner Added missing projects to PINAX_PROJECTS in test runner 6f94b49
Jannis Leidel jezdez Loosened parameter handling in account auth backend a little to be ab…
…le to use default admin login form and email login form at the same time.
2337dde
Brian Rosner brosner Fixed a typo (most likely) in the variable for acct_login_url in _acc…
…ount_bar.html. Thanks Fandekasp for discovering it.
14df90d
Patrick Altman paltman added open_id and oauth logins to signup template b0c619b
Brian Rosner

None of the projects which use account depend on django-oauth-access yet. This will, right now, fail for all projects using this template out of the box. You'll need to revert lines 56–71.

Owner

Reverted in the next commit:

4ef6714

paltman and others added some commits
Patrick Altman paltman remove oauth bits from signup page 4ef6714
Ryan Nowakowski tubaman changed absolute url to url template tag in admin link 0cf3b6f
Ryan Nowakowski tubaman change absolute url for profile list to url template tag a9e0cb3
Brian Rosner brosner Fixed #701 — renamed deployment files from pinax.(fcgi|wsgi) to (fcgi…
…|wsgi).py

This is beneficial for deployment which might require importing the file (
particularly wsgi.py.) It allows users to use gunicorn's WSGI app deployment
strategy with Pinax.
1d09f61
Brian Rosner brosner 0.9a2.dev2 1c75577
Brian Rosner brosner Fixed two bugs when setting up the environment when the caller is in …
…a deployment file

It is possible for __file__ to be a pyc file in some deployment situations
and it can be a full path (not sure how this slipped by).
09eae40
Brian Rosner brosner 0.9a2.dev3 e86307d
Brian Rosner brosner Removed basic_profiles from cms_* projects as it wasn't ever used 1ad7c5f
Brian Rosner brosner Upgraded Django version to 1.2.4 (includes security fixes amongst oth…
…er bugfixes)
68fde88
Brian Rosner brosner 0.9a2.dev4 c2751e5
Brian Rosner brosner Added SIGNUP_REDIRECT_URLNAME to allow sign-up specific redirecting
get_default_redirect has been changed to work better with settings by removing
its dependency on them. The signature is changed to accept a fallback URL as
a required parameter allowing any setting to be used.
7548a1b
Brian Rosner brosner 0.9a2.dev5 838963b
Brian Rosner brosner Updated Sphinx to 1.0.x a4660a5
Brian Rosner brosner Fixed other uses of get_default_redirect to match the new signature b390673
Brian Rosner brosner Updated images to support transparency and smaller for the new site. …
…Thanks Issac Kelly for providing new images.
19ae7a8
Brian Rosner brosner Cleaned up setup.py style d043b84
Brian Rosner brosner Changed maintainer to myself in setup.py b68f32f
Brian Rosner brosner Added download_url c135004
Brian Rosner brosner Do not use the deprecated django.core.context_processors.auth context…
… processor
9a4c15a
Brian Rosner brosner 0.9a2.dev6 3712832
James Tauber jtauber fixed openid urls include 4e34b74
Brian Rosner brosner Fixed a missing import and NameError in signup_codes 1320a1c
Brian Rosner brosner Pass down e-mail address to signup form in signup_codes signup view 811ccd6
Brian Rosner brosner 0.9a2.dev7 3c75220
Brian Rosner brosner Added missing comma 36ee4f1
Brian Rosner brosner Ya know, sometimes it just happens this way — sigh 9311757
Brian Rosner brosner Bumped django-mailer to 0.2a1.dev3 7a8ebc6
Bojan Mihelac bmihelac Fixed #751 — security middleware should not return False
Signed-off-by: Brian Rosner <brosner@gmail.com>
7e045b1
Brian Rosner brosner {% user_display %} out must be conditionally escaped when displaying …
…a value as templatetags do not do this for you.
3cd4129
Brian Rosner brosner Upgraded Pinax to use Django 1.2.5
This release does have a backwards incompatible change with regard to a
secruity fix. If you are calling your Django code from Javascript this might
be affecting you. Please see http://docs.djangoproject.com/en/1.2/releases/1.2.5/
3520b4c
Brian Rosner brosner 0.9a2.dev10 a208eea
Eugene MechanisM

Congrats!! Nice team!

James Tauber jtauber closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 2 deletions.
  1. +6 −2 pinax/apps/profiles/views.py
8 pinax/apps/profiles/views.py
@@ -131,8 +131,12 @@ def profile(request, username, template_name="profiles/profile.html", extra_cont
"message": ugettext("Let's be friends!"),
})
- previous_invitations_to = FriendshipInvitation.objects.invitations(to_user=other_user, from_user=request.user)
- previous_invitations_from = FriendshipInvitation.objects.invitations(to_user=request.user, from_user=other_user)
+ if request.user.is_authenticated():
+ previous_invitations_to = FriendshipInvitation.objects.invitations(to_user=other_user, from_user=request.user)
+ previous_invitations_from = FriendshipInvitation.objects.invitations(to_user=request.user, from_user=other_user)
+ else:
+ previous_invitations_to = []
+ previous_invitations_from = []
return render_to_response(template_name, dict({
"is_me": is_me,
Something went wrong with that request. Please try again.