Commit Graph

79 Commits

Author SHA1 Message Date
Luk
bb485c5ad4 u 2025-01-17 16:14:09 +08:00
Luk
767fa447a2 添加 globalThis 给 getApp, getCurrentPages,以支持在后台 nodejs 里使用; 调整 localizeText,只要是 object, 找不到指定及默认语种的key就返回第一个元素的值 2024-12-17 09:46:25 +08:00
Luk
fa4bcb4fc6 localizeText accepts 'earTH', 'defLAN', 'gloBAL' as default language 2024-12-15 12:35:12 +08:00
luk
948e16cc91 u 2024-11-28 10:18:16 +08:00
Luk
e11583b284 把 is_text/image/video_file 公开给外部使用 2024-10-20 19:48:05 +08:00
Luk
08b6c3e31a localizeText return enUS if the target language is undefined 2024-10-01 20:23:54 +08:00
Luk
c256153822 rename _clid to clid 2024-09-19 11:18:09 +08:00
Luk
192de36036 uni.setStorageSync('_passtoken/uni_id_token/_clid') automatically for callBase() calls 2024-09-18 13:14:47 +08:00
luk
a20b281dd2 improve pickupFile 2024-09-08 11:50:06 +08:00
Luk
9e41a6d203 rename ipfsGateway to ipfsLens 2024-08-16 16:12:06 +08:00
Luk
22d79ffc06 test uploaded file types by file extension 2024-08-08 11:30:29 +08:00
Luk
bc00d6f295 replace export default with module.exports so that it can be used in server side 2024-08-04 20:02:46 +08:00
luk
24bc21cc5d return _msg if pickupFile failes 2024-08-03 14:24:19 +08:00
Luk
8a2048af22 return error state if upload file size exceeds limit 2024-07-02 20:04:00 +08:00
luk
0b18c15347 check file size before uploading 2024-05-09 20:04:02 +08:00
Luk
fdbdbe1693 u 2024-03-28 14:23:18 +08:00
Luk
80fc62e602 add make_bgurl(image) 2024-02-16 09:58:37 +08:00
Luk
5c1b5a05b1 change _type to _io in console.log 2024-02-05 11:41:50 +08:00
Luk
db83067025 console.log({_at, ...}) 2024-02-05 09:49:51 +08:00
Luk
07ad96602e make setBarTitles also work for pad devices 2024-02-04 11:29:09 +08:00
Luk
dd10d0bb3a add open_url_in_webview 2024-01-29 20:43:10 +08:00
Luk
8eb7f03c0c updated .gitignore and seafile-ignore.txt using npm/sysconfig/*-ignore-find2merge.sh 2024-01-28 12:19:08 +08:00
Luk
76417a0cbd u 2024-01-16 22:15:52 +08:00
c71e514af2 u 2023-12-30 13:21:50 +08:00
2cc8f66651 u 2023-12-07 19:16:02 +08:00
53e3aff7b0 bugfix: clip_to_clipboard 2023-11-10 15:55:36 +08:00
5fc9b3ef1c use wo.envar.clientInfo.* instead of uni.getSystemInfoSync() 2023-11-09 15:15:12 +08:00
3da2705fe2 u 2023-10-13 18:38:10 +08:00
6d54d1f507 function ( ... wo=globalThis.wo ... ) 2023-10-09 15:08:23 +08:00
8f4575c87b 每次 callBase 时传入 _clientInfo 参数 2023-10-08 16:20:22 +08:00
baaeb0a485 u 2023-10-04 21:13:45 +08:00
7bf187cc8d u 2023-08-14 11:40:29 +08:00
32d2bcbf5f u 2023-07-13 12:00:20 +08:00
bc5c0a5eb4 合并makeServerUrl 和 make_ipfs_url 到 make_server_url 2023-06-26 13:00:04 +08:00
0086915515 allow {xxYY, earth|default} in localizeText() 2023-06-05 20:25:30 +08:00
34b32132cb small bug fix 2023-05-29 19:12:25 +08:00
d6d4873a66 send _passtoken when uploading file to backend server 2023-05-27 21:13:16 +08:00
3fc655dc0a 在 app 里要用 pageNow.$vm.$data.i18nPageTitle 2023-05-18 11:23:36 +08:00
6bf2b39983 bugfix: langNow() --> my.langNow() 2023-05-16 13:15:10 +08:00
c4d6b8ee79 use getCurrentPages()?.pop?.() to replace this.thisPage?.() 2023-05-16 10:11:46 +08:00
61424e89b6 update this.thisPage() to this.thisPage?.() 2023-05-15 23:17:59 +08:00
274dc1bd29 makeServerUrl 支持 envar.servUrl 2023-05-14 23:58:20 +08:00
076a42f86f fix: 在PC端,需要 uni.hideTabBar() 2023-05-14 10:46:16 +08:00
c30c4cc66d u 2023-05-13 21:32:30 +08:00
e246e34e78 u 2023-04-19 08:01:22 +08:00
8f7bca3786 u 2023-04-08 15:53:14 +08:00
5eb2b729ed u 2023-03-26 15:16:42 +08:00
11d2e98ef9 u 2023-03-21 13:57:21 +08:00
da8bb9a4a5 send _passtoken in post body instead of in header, because cloudflare doesn't pass header to my server 2023-03-12 16:54:15 +08:00
f49f9c6685 u 2023-02-05 12:18:25 +08:00