당직근무 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
+2
-1
@@ -149,7 +149,8 @@ class CalendarTests(unittest.TestCase):
|
||||
# 구독 제목은 바꾼 이름을 쓰고 근무 순서 계산은 그대로다.
|
||||
options=dict(rotation=True,events=False,anniversaries=False,names=False,notes=False)
|
||||
feed=self.client.post('/calendar/api/calendar-sharing',json={'action':'create','options':options},headers=self.auth()).json()['url']
|
||||
text=self.client.get(feed).text;self.assertIn('SUMMARY:주간 근무',text);self.assertNotIn('SUMMARY:일반근무',text);self.assertIn('SUMMARY:당직',text)
|
||||
# 0.15.3부터 '일반근무 이름 한 개'는 쓰지 않는다. 저장은 되어도 구독 제목은 기본 이름이다.
|
||||
text=self.client.get(feed).text;self.assertIn('SUMMARY:일반근무',text);self.assertNotIn('주간 근무',text);self.assertIn('SUMMARY:당직',text)
|
||||
# 다른 회원과 같은 소속에도 이름은 나가지 않는다.
|
||||
self.assertEqual(self.state(self.other_member())['items'],[])
|
||||
for value in ('가'*9,1,None,['주간'],'주간\x07','주간\u200b','\ue000'):
|
||||
|
||||
Reference in new issue
Block a user