- Dec 08, 2014
-
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
Also fix syntax error preventing deletes and drop the [manage all phrases] feature for now.
-
Jared Hancock authored
-
Jared Hancock authored
Link entry and form and entryAnswer and field. This will alleviate extra queries which would otherwise be required.
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
Also, autodetect the endusers timezone using the jstimezonedetect Javascript library.
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
This patch adds support for automatic date and time formatting based on a selection of locale. The locale can default to the system or user specified language+locale, or can be elected separately. For instance, English speakers can pick between US, GB, and many other English speaking locales. This also removes the need of the %timezone table and uses the timezonedb built into PHP 5.3+. User's can now select from a much longer list of database and no longer need to deal with the DST checkbox.
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
This allows for things like related COUNTs and such: ```php ThreadEntry::objects()->annotate( 'attachment_count'=>Aggregate::COUNT('attachments') ) ->filter(array('attachments__type__contains'=>'image/')) ->filter(array('attachment_count__gt'=>0)); ``` This would find all thread entries with at least one image attached.
-
Jared Hancock authored
Move the attachments to the sidebar, add the concept of language-specific attachments. Add a sidebar to the front page. De-emphasize the "open new ticket" button. Add a knowledge base search feature to front page and also add the concept of "featured" articles and categories on the front page.
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
Ensure that for a model class name and primary key, there is only one object floating around in PHP runtime. In doing so, ensure that models loaded from the database are not duplicated in memory. Instead, check the cache when creating objects to see if the object has already been loaded. If so, use the loaded model rather than a new instance. This ensures that updates to a model object are reflected consistently. Also, short circuit lookups so that the cached version is retrieved without consulting the database.
-
Jared Hancock authored
For instance join table2 on (field = 'T' and table1.field_id = table2.id)
-
Jared Hancock authored
Implement select_related() for querysets. Now, related models are loaded along with the requested models automatically.
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
Also complete the translation client-side
-
Jared Hancock authored
This reworks the tabs CSS and javascript coding to be more flexible and to support vertical tabs. (Bootstrap calls this stacked.) The javascript also allows the URL to include the hash-tag of the last-clicked tab so that the tab can be automatically shown when the page is reloaded.
-
Jared Hancock authored
Including language-specific attachments
-
Jared Hancock authored
That way, the format can be standardized and the code can be reused among other translatable objects such as the knowledge base.
-
Jared Hancock authored
-
Jared Hancock authored
Store a complex text with title and body combined with ASCII 0x04 byte (field seprator).
-
Jared Hancock authored
-
Jared Hancock authored
-
Jared Hancock authored
-