Commit Graph
48 Commits
Author SHA1 Message Date
依瑪貓 edf3d99c81 Fixed a typo in the method name in CssAndJavaScriptLibraries in the Mia core application. 2020-09-02 15:36:40 +08:00
依瑪貓 2b808b236a Removed an unused import in the Mia core application. 2020-09-02 15:36:03 +08:00
依瑪貓 910abb7d74 Revised the built-in CDN library URLs for long lines in the Mia core application. 2020-09-02 15:35:44 +08:00
imacat c0946481dd Changed the CSS and JavaScript libraries from the hard-coded site-specific location to the settings with default to CDN download. 2020-08-29 21:54:12 +08:00
imacat d1ef253d9d Removed an unused import from the utilities in the Mia core application. 2020-08-28 20:26:02 +08:00
imacat 04703df6b5 Replaced the combined localized data models into flexible, separated localized data models and their accompanying localization data models, so that adding new languages works automatically without having to change the data model definitions. 2020-08-24 21:59:50 +08:00
imacat 1be05c2252 Added type hints to the Mia core application. 2020-08-13 08:05:35 +08:00
imacat 7c218cbc76 Removed the strip_form() utility to strip_post() in the Mia core application. 2020-08-09 14:23:43 +08:00
依瑪貓 474c74ebb0 Revised Pagination so that the status ID does not pass along with the pagination links in the Mia core application. 2020-08-05 10:17:46 +08:00
imacat 733335c715 Replaced the set() method with the kwargs-based query() method in UrlBuilder in the Mia core application. 2020-08-03 23:12:04 +08:00
imacat fe8dae191e Revised the strip_form() utility to remove the empty input in the Mia core application. 2020-08-02 09:44:08 +08:00
imacat 1b89fef01c Fixed and replaced the incorrect class property declaration with the instance property declaration, and replaced unnecessary pseudo properties with instance properties. 2020-08-02 01:04:47 +08:00
imacat da80816b37 Revised the coding style according to PEP8. 2020-08-02 00:08:53 +08:00
imacat aec234fc01 Renamed the add_param() method to add(), the del_param() method to remove(), and the set_param() method to set() in UrlBuilder in the Mia core application. 2020-07-31 21:16:03 +08:00
imacat 1a27d87400 Added the strip_form() utility to the Mia core application, and apply it to the transaction_store() view of the accounting application. 2020-07-31 00:14:12 +08:00
imacat 5a2a3a6c56 Fixed the UrlBuilder utility to allow dummy parameter value that is None in the Mia core application. 2020-07-24 07:25:30 +08:00
imacat 10cbe2a70f Revised the documentation of the utilities of the Mia core application. 2020-07-24 06:42:33 +08:00
imacat 6e49443b88 Renamed the new_id() utility to new_pk() in the Mia core application. 2020-07-23 23:24:42 +08:00
imacat e04736b90d Renamed the new_sn() utility to new_id() in the Mia core application. 2020-07-23 23:04:18 +08:00
imacat 8d2d4c39b6 Added the set_multi_lingual_attr() utility function in the Mia core application. 2020-07-21 21:21:43 +08:00
依瑪貓 c6a62d92d5 Added the search page in the accounting application. 2020-07-21 10:04:29 +08:00
imacat 361b8c9881 Added the new_sn() utility method to the Mia core application. 2020-07-20 21:55:34 +08:00
imacat b8b5546b9f Renamed the variables. 2020-07-19 21:08:10 +08:00
imacat 1cd64955a3 Removed the now-unused SqlQuery from the Mia core application. 2020-07-18 23:43:31 +08:00
imacat e2945045f3 Added the default parameter to the get_multi_lingual_attr() function to allow a different default lanugage for a data model. 2020-07-16 23:18:16 +08:00
imacat 418dcd9803 Renamed the get_multi_language_attr() method to get_multi_lingual_attr(), and renamed the multi-lingual model fields from _zhtw to _zh_hant, and _zhcn to _zh_hans. 2020-07-16 23:13:15 +08:00
imacat 42e444b8c8 Revised the code for PEP8. 2020-07-16 22:25:33 +08:00
imacat 94884e72b8 Added and applied the current() method to Language in the Mia core application. 2020-07-14 22:14:39 +08:00
imacat ef4c8ea2ae Renamed the get_default() method to default() in Language in the Mia core application. 2020-07-14 22:12:17 +08:00
imacat fa034b9a6a Added the get_multi_language_attr() function to the Mia core application, to deal with the multi-lingual attributes, and applied it in the data models. 2020-07-14 22:01:32 +08:00
imacat 39c75f772a Added the balance-before record and the sum record to the cash account report. Moved the SqlQuery utility from the accounting application to the Mia core application. 2020-07-13 19:54:27 +08:00
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 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
imacat 6f604f1c86 Revised the documentation. 2020-07-08 07:24:36 +08:00
imacat 974d654750 Fixed the documentation of Pagination. 2020-07-07 22:52:29 +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 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