당직근무 0.15.3 (웹 2026-11-25.7): 일반근무 이름 한 칸 빼기
0.14.2에 넣은 일반근무 이름(일반근무 전체를 이름 하나로 바꾸기)은 요청을 잘못 알아들어 만든 기능이다. 사용자가 원한 것은 내 당직 기준 +1(비번)부터 근무마다 다른 사람 이름을 넣는 근무 순서 이름(0.15.0)이다. - 앱 옵션 → 달력 표시와 웹 옵션에서 일반근무 이름 칸을 뺐다. 일반근무 글자 숨기기는 그대로다. - 이미 저장된 regularName 값은 앱·웹·구독 제목 어디에도 쓰지 않는다. 서버는 옛 앱이 보내는 값을 받아 보관만 한다. - 관리자 기본값 defaultRegularName을 뺐다. - 앱 0.15.3 / 설치 번호 27. APK 875910바이트, SHA-256 eec32492c43f34b45148308793213d3a55661ccd70bc69a6e9bce020787a10a6
This commit is contained in:
1 parent
5574172a1a
commit
1777ea4b1e
19 files changed
+49
-68
No files matched your search
@@ -176,7 +176,7 @@ class BoardTests(unittest.TestCase):
|
||||
for values in ({"boardPageSize": 5}, {"boardPageSize": "20"}, {"boardPageSize": 20.5}, {"accentColor": "red"}, {"accentColor": "#12345"},
|
||||
{"guide_google_body": "가" * 2001}, {"guide_google_title": ""}, {"defaultWeekStart": "2"}):
|
||||
self.assertEqual(settings(values).status_code, 400, values)
|
||||
self.assertEqual(settings({"accentColor": "#AA3300", "boardPageSize": 10, "defaultRegularName": "", "titleSuffix": "",
|
||||
self.assertEqual(settings({"accentColor": "#AA3300", "boardPageSize": 10, "titleSuffix": "",
|
||||
"guide_google_body": "1. 첫째\n2. 둘째\n\n- 참고"}).status_code, 200)
|
||||
public = self.get("site").json()["settings"]
|
||||
self.assertEqual(public["accentColor"], "#aa3300")
|
||||
@@ -187,7 +187,7 @@ class BoardTests(unittest.TestCase):
|
||||
self.assertEqual(fields["guide_google_body"]["page"], "guide")
|
||||
self.assertEqual(fields["boardOn"]["page"], "board")
|
||||
self.assertTrue(fields["guide_google_body"]["custom"])
|
||||
self.assertEqual(self.call("admin/settings", {"reset": ["guide_google_body", "accentColor", "boardPageSize", "defaultRegularName", "titleSuffix"]}, self.admin).status_code, 200)
|
||||
self.assertEqual(self.call("admin/settings", {"reset": ["guide_google_body", "accentColor", "boardPageSize", "titleSuffix"]}, self.admin).status_code, 200)
|
||||
self.assertIn("URL로 추가", self.get("site").json()["settings"]["guide_google_body"])
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user