Commit Graph

146 Commits

Author SHA1 Message Date
imacat fa7416d0f3 Replaced the CashReportView list view with the cash view function, to simplify. Moved the pagination query parameter parser from the view to Pagination. 2020-07-11 17:23:38 +08:00
imacat 562989bde2 Renamed templatetags to template_tags, and templatefilters to template_filters. 2020-07-11 07:18:14 +08:00
imacat d7f04dbb39 Added the pagination navigation bar and the action buttons to the cash account in the accounting application. 2020-07-11 07:12:53 +08:00
imacat 241445bc7a Removed is_safe=True from the smart_date template filter. 2020-07-10 18:54:55 +08:00
imacat f8d25412cb Removed an unused import from templatetags. 2020-07-10 00:30:19 +08:00
imacat a7ec80f066 Added a dummy "TODO" view to the Mia core application. 2020-07-09 23:18:37 +08:00
依瑪貓 e1e61869b7 Revised the documentation of the template tags. 2020-07-09 10:40:42 +08:00
imacat 04ca928a3a Added the url_query template tag. 2020-07-09 08:28:16 +08:00
imacat 6bdcdd0d78 Renamed the format template tag to str_format, and simplify it. 2020-07-09 01:29:51 +08:00
imacat bcb5da1a5e Revised the code to generate the page size options in Pagination, to be clear. 2020-07-09 01:03:03 +08:00
imacat e5d0feadbc Added the page size options to the pagination navigation bar. 2020-07-08 23:40:36 +08:00
依瑪貓 dde75b9805 Added Period as the template period helper, and changed PeriodParser to the inner class Period.Parser. 2020-07-08 10:52:03 +08:00
imacat 8cefd0d4bf Removed the unused get_month_range() method from the period parser. 2020-07-08 08:18:57 +08:00
imacat 56ae1bb29a Renamed the parameter period_spec to spec in the period parser. 2020-07-08 08:13:47 +08:00
imacat 39d65e1381 Revised the text message in the period parser. 2020-07-08 07:45:18 +08:00
imacat 76df32a76d Revised the period parser. 2020-07-08 07:40:07 +08:00
imacat 6f604f1c86 Revised the documentation. 2020-07-08 07:24:36 +08:00
imacat 6da65f00ba Moved the period parser from the accounting application to the Mia core application. 2020-07-08 07:20:38 +08:00
imacat d047be7ba9 Added the format template tag that does sprintf-like string format in the templates. 2020-07-08 00:58:25 +08:00
imacat 974d654750 Fixed the documentation of Pagination. 2020-07-07 22:52:29 +08:00
imacat 92867c3e97 Changed the pagination template variable to pagination_links. 2020-07-07 22:50:57 +08:00
imacat e9509c9bac Changed the links attribute of Pagination to a pseudo attribute that is calculated on request. 2020-07-07 22:49:37 +08:00
imacat 19ac9d3200 Added the navigation links for pagination. 2020-07-07 22:18:40 +08:00
imacat 3bce775729 Added the trailing blank line in mia_core.utils. 2020-07-07 21:07:25 +08:00
imacat 1f748d09ce Fixed the documentation in Pagination. 2020-07-07 21:07:05 +08:00
imacat 563a368ab0 Fixed UrlBuilder on its string output. 2020-07-07 21:06:11 +08:00
imacat 897f82bd26 Moved part of the pagination logic from the view to Pagination. 2020-07-07 21:04:07 +08:00
imacat df0380362b Renamed PageNoOutOfRangeError to PageNoOutOfRangeException. 2020-07-07 20:56:01 +08:00
imacat 5ff7f444e9 Added documentation to PageNuOutOfRangeError. 2020-07-07 20:55:29 +08:00
imacat d48d1b017a Moved the pagination and the page number out of range error from the accounting application to the Mia core application. 2020-07-07 20:54:35 +08:00
imacat c0f664761e Added documentation to the utilities and views of the Mia Core application. 2020-07-07 20:49:31 +08:00
imacat cd7d7a5106 Added the home page view. 2020-07-06 23:22:20 +08:00
imacat 66f1e4b4fa Renamed the logout_view() function to logout(). 2020-07-06 23:06:45 +08:00
imacat 68be53e212 Added to log out the current user. 2020-07-06 23:04:14 +08:00
imacat de679cf91a Removed an unsed logging. 2020-07-06 22:26:43 +08:00
imacat 405ae2307e Added the digest_login_required decorator. 2020-07-06 22:26:29 +08:00
imacat 5acda6cd30 Added the HTTP digest authentication to mia_core. 2020-07-05 23:40:39 +08:00
imacat 8a539fb144 Added the User and Country models to mia_core. 2020-07-05 23:40:12 +08:00
imacat aa89286cd9 Added the mia_core application. 2020-07-04 08:17:08 +08:00
依瑪貓 0243289946 Revised the code according to the PyCharm and PEP8 inspection. 2020-07-02 09:45:11 +08:00
imacat dc14f2e27a Renamed the human_date filter to smart_date. 2020-07-02 07:40:45 +08:00
imacat a3c0f3fb82 Added the template helper to display the date in a human-friendly format. 2020-07-02 02:04:35 +08:00
imacat fbce3ab9ef Revised the documentation. 2020-07-02 00:50:27 +08:00
imacat cff4893c77 Added the UrlBuilder utility to the Mia core. 2020-07-01 23:35:23 +08:00
imacat 238f5f6b85 Added the setvar template tag to the Mia core. 2020-07-01 23:35:04 +08:00
imacat cccf96e099 Added the mia_core package. 2020-07-01 23:34:22 +08:00