-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed membership base from group_roles to group.
Fixed migrations issue. Added management command to fix psql pk issue. Added required creation on new community.
- Loading branch information
Showing
32 changed files
with
530 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ pytz | |
|
||
#search | ||
Whoosh==2.7.0 | ||
django-haystack==2.3.1 | ||
django-haystack==2.4.0 | ||
|
||
# queue | ||
redis | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,16 +7,16 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Open Community\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-06-08 00:02+0300\n" | ||
"PO-Revision-Date: 2015-06-07 12:37+0200\n" | ||
"POT-Creation-Date: 2015-06-17 21:55+0300\n" | ||
"PO-Revision-Date: 2015-06-17 16:14+0200\n" | ||
"Last-Translator: Yaniv Mirel <[email protected]>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: he\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"X-Generator: Poedit 1.7.6\n" | ||
"X-Generator: Poedit 1.8.1\n" | ||
|
||
#: .\apps.py:7 | ||
msgid "Communities & Committees" | ||
|
@@ -228,8 +228,8 @@ msgid "Group" | |
msgstr "קבוצה" | ||
|
||
#: .\models.py:587 .\templates\communities\communitygroup_detail.html:4 | ||
#: .\templates\communities\communitygroup_form.html:4 | ||
#: .\templates\communities\communitygroup_list.html:4 | ||
#: .\templates\communities\communitygrouprole_list.html:4 | ||
msgid "Groups" | ||
msgstr "קבוצות" | ||
|
||
|
@@ -241,6 +241,7 @@ msgstr "קבוצת Role" | |
msgid "Group Roles" | ||
msgstr "קבוצות Role" | ||
|
||
#: .\models.py:637 | ||
#: .\south_migrations\0011_auto__add_field_community_register_missing_board_members__chg_field_co.py:17 | ||
#: .\templates\communities\participants_form.html:27 | ||
msgid "Board" | ||
|
@@ -377,19 +378,25 @@ msgid "Next" | |
msgstr "הבא" | ||
|
||
#: .\templates\communities\communitygroup_detail.html:9 | ||
#: .\templates\communities\communitygrouprole_detail.html:9 | ||
#: .\templates\communities\participants_form.html:10 | ||
#: .\templates\communities\upcoming.html:69 | ||
msgid "Edit" | ||
msgstr "עריכה" | ||
|
||
#: .\templates\communities\communitygroup_form.html:4 | ||
msgid "Create" | ||
msgstr "צור" | ||
#: .\templates\communities\communitygroup_form.html:5 | ||
#: .\templates\communities\communitygrouprole_form.html:5 | ||
msgid "Create new group" | ||
msgstr "צור קבוצה" | ||
|
||
#: .\templates\communities\communitygroup_list.html:21 | ||
msgid "Create Group" | ||
msgstr "צור קבוצה" | ||
|
||
#: .\templates\communities\communitygrouprole_list.html:34 | ||
msgid "Create Group Role" | ||
msgstr "צור קבוצת Role" | ||
|
||
#: .\templates\communities\edit_summary.html:5 | ||
msgid "Edit summary" | ||
msgstr "ערוך סיכום" | ||
|
@@ -950,10 +957,13 @@ msgstr "מספר עמוד צריך להיות 1 או יותר." | |
msgid "No such page!" | ||
msgstr "דף לא קיים!" | ||
|
||
#: .\views.py:430 | ||
#: .\views.py:431 .\views.py:473 | ||
msgid "Group already exists" | ||
msgstr "קבוצה בשם זה כבר קיימת" | ||
|
||
#~ msgid "Create" | ||
#~ msgstr "צור" | ||
|
||
#~ msgid "Board name" | ||
#~ msgstr "שם הועד" | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Open Community\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-06-08 00:02+0300\n" | ||
"POT-Creation-Date: 2015-06-17 21:55+0300\n" | ||
"PO-Revision-Date: 2014-02-11 12:50+0200\n" | ||
"Last-Translator: Yaniv Mirel <[email protected]>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# coding: utf-8 | ||
from django.core.management.base import BaseCommand | ||
from django.db import connection, transaction | ||
|
||
|
||
class Command(BaseCommand): | ||
help = "Fix duplicate key value violates unique constraint error on committee table" | ||
|
||
def handle(self, *args, **options): | ||
cursor = connection.cursor() | ||
cursor.execute("SELECT setval('communities_committee_id_seq', (SELECT MAX(id) FROM communities_committee)+1)") | ||
print "Done" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Open Community\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-06-08 00:02+0300\n" | ||
"POT-Creation-Date: 2015-06-17 21:55+0300\n" | ||
"PO-Revision-Date: 2015-05-14 13:18+0200\n" | ||
"Last-Translator: Yaniv Mirel <[email protected]>\n" | ||
"Language-Team: \n" | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Open Community\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-06-08 00:02+0300\n" | ||
"POT-Creation-Date: 2015-06-17 21:55+0300\n" | ||
"PO-Revision-Date: 2015-03-05 16:27+0200\n" | ||
"Last-Translator: Yaniv Mirel <[email protected]>\n" | ||
"Language-Team: \n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import models, migrations | ||
import django.core.files.storage | ||
import issues.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('issues', '0006_remove_issue_community'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='issueattachment', | ||
name='file', | ||
field=models.FileField(storage=django.core.files.storage.FileSystemStorage(b'C:\\projects\\OpenCommunity\\uploads'), upload_to=issues.models.issue_attachment_path, max_length=200, verbose_name='File'), | ||
), | ||
] |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Open Community\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-06-08 00:02+0300\n" | ||
"POT-Creation-Date: 2015-06-17 21:55+0300\n" | ||
"PO-Revision-Date: 2015-05-14 13:18+0200\n" | ||
"Last-Translator: Yaniv Mirel <[email protected]>\n" | ||
"Language-Team: \n" | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,16 +6,16 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Open Community\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-06-08 00:02+0300\n" | ||
"PO-Revision-Date: 2015-06-07 13:14+0200\n" | ||
"POT-Creation-Date: 2015-06-17 21:55+0300\n" | ||
"PO-Revision-Date: 2015-06-17 21:56+0200\n" | ||
"Last-Translator: Yaniv Mirel <[email protected]>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: he\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"X-Generator: Poedit 1.7.6\n" | ||
"X-Generator: Poedit 1.8.1\n" | ||
|
||
#: .\base_models.py:13 | ||
msgid "HTML content" | ||
|
@@ -32,27 +32,34 @@ msgid "" | |
msgstr "" | ||
|
||
#: .\settings.py:300 | ||
msgid "Admin" | ||
msgstr "אדמין" | ||
msgid "admin" | ||
msgstr "מנהל קהילה" | ||
|
||
#: .\settings.py:301 .\templates\search\search.html:14 | ||
#: .\templates\search\search.html.py:18 .\templates\search\search.html:22 | ||
msgid "All" | ||
msgstr "כל חברי הקהילה" | ||
#: .\settings.py:301 .\settings.py:307 | ||
msgid "chairman" | ||
msgstr "יושב ראש" | ||
|
||
#: .\settings.py:302 .\settings.py:308 | ||
msgid "board" | ||
msgstr "חבר ועד" | ||
|
||
#: .\settings.py:303 .\settings.py:309 | ||
msgid "member" | ||
msgstr "חבר קהילה" | ||
|
||
#: .\settings.py:305 | ||
#: .\settings.py:319 | ||
msgid "Privacy" | ||
msgstr "פרטיות" | ||
|
||
#: .\settings.py:306 | ||
#: .\settings.py:320 | ||
msgid "Commercial" | ||
msgstr "מסחרי" | ||
|
||
#: .\settings.py:307 | ||
#: .\settings.py:321 | ||
msgid "Security" | ||
msgstr "ביטחון" | ||
|
||
#: .\settings.py:308 | ||
#: .\settings.py:322 | ||
msgid "Legal" | ||
msgstr "משפטי" | ||
|
||
|
@@ -304,6 +311,11 @@ msgstr "אפס סיסמא" | |
msgid "Search" | ||
msgstr "חיפוש" | ||
|
||
#: .\templates\search\search.html:14 .\templates\search\search.html.py:18 | ||
#: .\templates\search\search.html:22 | ||
msgid "All" | ||
msgstr "כל חברי הקהילה" | ||
|
||
#: .\templates\search\search.html:15 .\templates\search\search.html.py:19 | ||
#: .\templates\search\search.html:23 | ||
msgid "Issues" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.