aa-bulletin-board 2.2.2__py3-none-any.whl → 2.2.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,5 +5,5 @@ App init
5
5
  # Django
6
6
  from django.utils.translation import gettext_lazy as _
7
7
 
8
- __version__ = "2.2.2"
8
+ __version__ = "2.2.4"
9
9
  __title__ = _("Bulletin Board")
@@ -6,9 +6,9 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: PACKAGE VERSION\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2024-10-13 02:35+0200\n"
9
+ "Project-Id-Version: AA Bulletin Board 2.2.4\n"
10
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-bulletin-board/issues\n"
11
+ "POT-Creation-Date: 2024-12-09 13:09+0100\n"
12
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -9,17 +9,16 @@ msgstr ""
9
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2024-10-05 15:47+0200\n"
12
- "PO-Revision-Date: 2024-05-10 13:57+0000\n"
13
- "Last-Translator: Geovanny David Morales De la cruz "
14
- "<moralesgeovanny1996@gmail.com>\n"
15
- "Language-Team: Spanish <https://weblate.ppfeufer.de/projects/alliance-auth-"
16
- "apps/aa-bulletin-board/es/>\n"
12
+ "PO-Revision-Date: 2024-12-02 17:40+0000\n"
13
+ "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
14
+ "Language-Team: Spanish <https://weblate.ppfeufer.de/projects/"
15
+ "alliance-auth-apps/aa-bulletin-board/es/>\n"
17
16
  "Language: es\n"
18
17
  "MIME-Version: 1.0\n"
19
18
  "Content-Type: text/plain; charset=UTF-8\n"
20
19
  "Content-Transfer-Encoding: 8bit\n"
21
20
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
22
- "X-Generator: Weblate 5.5.3\n"
21
+ "X-Generator: Weblate 5.8.4\n"
23
22
 
24
23
  #: aa_bulletin_board/__init__.py:9 aa_bulletin_board/models.py:67
25
24
  #: aa_bulletin_board/templates/aa_bulletin_board/base.html:6
@@ -45,7 +44,7 @@ msgstr ""
45
44
 
46
45
  #: aa_bulletin_board/forms.py:110
47
46
  msgid "You have forgotten the content!"
48
- msgstr ""
47
+ msgstr "Ha olvidado el contenido"
49
48
 
50
49
  #: aa_bulletin_board/models.py:71
51
50
  msgid "Can access this app"
@@ -1,23 +1,23 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
4
+ # "Dr. Mattia Zago" <dev@zagomattia.it>, 2024.
5
+ # Peter Pfeufer <info@ppfeufer.de>, 2024.
6
6
  msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "POT-Creation-Date: 2024-10-05 15:47+0200\n"
11
- "PO-Revision-Date: 2024-05-10 13:57+0000\n"
12
- "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
- "Language-Team: Italian <https://weblate.ppfeufer.de/projects/alliance-auth-"
14
- "apps/aa-bulletin-board/it/>\n"
11
+ "PO-Revision-Date: 2024-11-06 20:10+0000\n"
12
+ "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
13
+ "Language-Team: Italian <https://weblate.ppfeufer.de/projects/"
14
+ "alliance-auth-apps/aa-bulletin-board/it/>\n"
15
15
  "Language: it_IT\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
- "X-Generator: Weblate 5.5.3\n"
20
+ "X-Generator: Weblate 5.8.2\n"
21
21
 
22
22
  #: aa_bulletin_board/__init__.py:9 aa_bulletin_board/models.py:67
23
23
  #: aa_bulletin_board/templates/aa_bulletin_board/base.html:6
@@ -45,7 +45,7 @@ msgstr ""
45
45
 
46
46
  #: aa_bulletin_board/models.py:71
47
47
  msgid "Can access this app"
48
- msgstr ""
48
+ msgstr "Ha accesso a questa applicazione"
49
49
 
50
50
  #: aa_bulletin_board/models.py:72
51
51
  msgid "Can manage (add/change/remove) bulletins"
@@ -75,7 +75,7 @@ msgstr ""
75
75
 
76
76
  #: aa_bulletin_board/models.py:111
77
77
  msgid "Group restrictions"
78
- msgstr ""
78
+ msgstr "Restrizioni Gruppo"
79
79
 
80
80
  #: aa_bulletin_board/models.py:122
81
81
  msgid "Bulletin"
@@ -0,0 +1,220 @@
1
+ jquery.sumoselect
2
+ =============
3
+
4
+ jquery.sumoselect.js - A beautiful cross device Single/Multi Select jQuery Select plugin.
5
+ -------------------------------------------------------------------------------
6
+ A jQuery plugin that progressively enhances an HTML Select Box into a Single/Multiple option dropdown list. The dropdown list can be fully customizable using simple css.
7
+ It can adapt itself according to any device, keeping in mind that the User Experience is not broken.
8
+
9
+ # View Live [Demo Here](https://hemantnegi.github.io/jquery.sumoselect/sumoselect_demo.html)
10
+
11
+ Documentaion [Documentation Here](https://hemantnegi.github.io/jquery.sumoselect/)
12
+
13
+ Latest stable : [Download from here](https://github.com/HemantNegi/jquery.sumoselect/releases)
14
+
15
+ **CDNJS**
16
+
17
+ The folks at CDNJS host a copy of the library. The CDN is updated after the release is made public, which means there is a delay between the publishing of a release and its availability on the CDN, so keep that in mind. Just use these links:
18
+
19
+ ```html
20
+ <!-- Latest compiled and minified CSS -->
21
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery.sumoselect/3.1.6/sumoselect.min.css">
22
+
23
+ <!-- Latest compiled and minified JavaScript -->
24
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.sumoselect/3.1.6/jquery.sumoselect.min.js"></script>
25
+ ```
26
+
27
+
28
+ **Notable Features**
29
+ - Inline Search.
30
+
31
+ - Optgroup support.
32
+
33
+ - Single and Multi select option.
34
+
35
+ - Fully customizable by simple css.
36
+
37
+ - Supports almost all devices.
38
+
39
+ - Intelligently Renders itself according to the devices.
40
+
41
+ - Renders native Single/Multiple pop up on Android, ios, Windows and other devices.
42
+
43
+ - Custom postback data format (Multiple select data can be passed either as csv or default select)
44
+
45
+ - Selected, Disabled, and Placeholder Support
46
+
47
+ - Easily extendable to allow developers to create new widgets
48
+
49
+ ## Requirements
50
+ jQuery 1.8.3+ (It is always recommended to use the latest version of jQuery)
51
+
52
+
53
+ ## Desktop Browser Support
54
+ IE8+, Firefox 4+, Chrome, Safari 4+, Opera 11+ (Other browsers may work, but I did not test on them)
55
+
56
+
57
+ ## Mobile/Tablet Browser Support
58
+ iOs 3+, Android 2.1+ , Windows Mobile (Other browsers may work, but I did not test on them)
59
+
60
+
61
+ ## Forking
62
+ If you find that you need a feature that SumoSelect does not currently support, either let me know via the SumoSelect issue tracker, or fork SumoSelect on Github and easily extend SumoSelect to create your own widget!
63
+
64
+ ## Usage
65
+
66
+ *To just go with the default options simply do*
67
+
68
+ ```javascript
69
+ $(document).ready(function () {
70
+ $('.selectBox').SumoSelect();
71
+ });
72
+ ```
73
+
74
+ *To provide optional settings, simply pass a settings object to SumoSelect()*
75
+
76
+ ```javascript
77
+ $(document).ready(function () {
78
+ $('.selectBox').SumoSelect({
79
+ placeholder: 'This is a placeholder',
80
+ csvDispCount: 3
81
+ });
82
+ });
83
+ ```
84
+
85
+ *You can also use data attributes to set options*
86
+
87
+ ```html
88
+ <select class="selectBox" multiple data-max="2">
89
+ ```
90
+
91
+ If you want an instance to the SumoSelect object to call handler methods
92
+
93
+ ```javascript
94
+ const select;
95
+ $(document).ready(function () {
96
+ select = $('.selectBox').SumoSelect();
97
+ });
98
+ ```
99
+ *NOTE: SumoSelect returns an array of select elements if there are more than one in the matching selector.*
100
+
101
+ You can also find the instance to the SumoSelect object by directly selecting your select element like
102
+ ```javascript
103
+ $('select.selectBox')[0].sumo. .....
104
+ ```
105
+
106
+ You can perform all the operations on the underlying original select and then reload the UI by
107
+ ```javascript
108
+ $('select.selectBox')[0].sumo.reload();
109
+ ```
110
+
111
+ ##### You can bind your handlers to some sumoselect specific events eg.
112
+ ```javascript
113
+ $('select.selectBox').on('sumo:opened', function(sumo) {
114
+ // Do stuff here
115
+ console.log("Drop down opened", sumo)
116
+ });
117
+ ```
118
+ Available events
119
+
120
+ - `sumo:opened`
121
+ - `sumo:opening`
122
+ - `sumo:closing`
123
+ - `sumo:closed`
124
+ - `sumo:initialized`
125
+ - `sumo:unloaded`
126
+
127
+
128
+ **Settings**
129
+
130
+ Below are the available settings:
131
+
132
+ - `placeholder` `(string)` The palceholder text to be displayed in the rendered select widget (on priority basis). *Maximum priority is given to native placeholder attribute in select tag i.e.* - *`<select placeholder="this is a placeholder" />`* - *Then the option with disabled and selected attribute i.e.* *`<option disabled selected value="foo" >`* - *Last to to the given placeholder attribute in the settings.*
133
+
134
+ - `csvDispCount` `(int)` The number of items to be displayed in the widget seperated by a `,` after that the text will be warped as *3+ Selected*. Set `0` for all the options.
135
+
136
+ - `captionFormat` `(string)` Its the format in which you want to see the caption when more than csvDispCount items are selected. its default value is `'{0} Selected'` ( here `{0}` will be replaced by the seletion count )
137
+
138
+ - `captionFormatAllSelected` `(string)` Format of caption text when all elements are selected. set null to use captionFormat. It will not work if there are disabled elements in select. default is `'{0} all selected!'`
139
+
140
+ - `floatWidth` `(int)` Minimum screen width of device below which the options list is rendered in floating popup fashion.
141
+
142
+ - `forceCustomRendering` `(boolean)` Force the custom modal ( Floating list ) on all devices below floatWidth resolution.
143
+
144
+ - `nativeOnDevice` `(Array[string])` The keywords to identify a mobile device from useragent string. The system default select list is rendered on the matched device.
145
+
146
+ - `outputAsCSV` `(boolean)` `true` to POST data as csv ( false for default select )
147
+
148
+ - `csvSepChar` `(string)` Seperation char if `outputAsCSV` is set to `true`
149
+
150
+ - `okCancelInMulti` `(boolean)` Displays Ok Cancel buttons in desktop mode multiselect also.
151
+
152
+ - `isClickAwayOk` `(boolean)` for okCancelInMulti=true. sets whether click outside will trigger Ok or Cancel (default is cancel).
153
+
154
+ - `triggerChangeCombined` `(boolean)` In Multiselect mode whether to trigger change event on individual selection of each item or on combined selection ( pressing of OK or Cancel button ).
155
+
156
+ - `selectAll` `(boolean)` To display select all check or not
157
+
158
+ - `search` `(boolean)` To enable searching in sumoselect (default is false).
159
+
160
+ - `searchText` `(string)` placeholder for search input.
161
+
162
+ - `searchFn` `(function)` Custom search function. Following parameters will be passed along: haystack, needle, el
163
+
164
+ - `noMatch` `(string)` placeholder to display if no itmes matches the search term (default 'No matches for "{0}"').
165
+
166
+ - `prefix` `(string)` prefix to prepend the selected text (default is empty) eg. '<b>Hello</b>'.
167
+
168
+ - `locale` `(array)` change the text used in plugin (```['OK', 'Cancel', 'Select All']```). Note: don't break the sequence or skip items.
169
+
170
+ - `up` `(boolean)` the direction in which to open the dropdown (default: false)
171
+
172
+ - `showTitle` `(boolean)` set to false to prevent title (tooltip) from appearing (deafult `true`)
173
+
174
+ - `max` `(int)` Maximum number of selected options (if multiple)
175
+
176
+ - `renderLi` `(function)` Custom `<li>` item renderer
177
+
178
+ - `clearAll` `(boolean)` Display "Clear all" in multiselect (deafult `false`)
179
+
180
+ - `closeAfterClearAll` `(boolean)` Close dropdown after clicking on "Clear all" (deafult `false`)
181
+
182
+ **The default settings are :**
183
+
184
+ ```javascript
185
+ {
186
+ placeholder: 'Select Here',
187
+ csvDispCount: 3,
188
+ captionFormat:'{0} Selected',
189
+ captionFormatAllSelected:'{0} all selected!',
190
+ floatWidth: 400,
191
+ forceCustomRendering: false,
192
+ nativeOnDevice: ['Android', 'BlackBerry', 'iPhone', 'iPad', 'iPod', 'Opera Mini', 'IEMobile', 'Silk'],
193
+ outputAsCSV: false,
194
+ csvSepChar: ',',
195
+ okCancelInMulti: false,
196
+ isClickAwayOk: false,
197
+ triggerChangeCombined: true,
198
+ selectAll: false,
199
+ search: false,
200
+ searchText: 'Search...',
201
+ searchFn: function (haystack, needle, el) {
202
+ return haystack.toLowerCase().indexOf(needle.toLowerCase()) < 0;
203
+ },
204
+ noMatch: 'No matches for "{0}"',
205
+ prefix: '',
206
+ locale: ['OK', 'Cancel', 'Select All'],
207
+ up: false,
208
+ showTitle: true,
209
+ max: null,
210
+ renderLi: (li, originalOption) => li,
211
+ clearAll: false,
212
+ closeAfterClearAll: false
213
+ }
214
+ ```
215
+
216
+ [Furthur Documentation](https://hemantnegi.github.io/jquery.sumoselect/)
217
+
218
+ ## License
219
+
220
+ Copyright (c) 2016 Hemant Negi Licensed under the MIT license.