比较提交
| 作者 | SHA1 | 提交日期 | |
|---|---|---|---|
|
|
0f3f14522c | ||
|
|
a20f1e674f | ||
|
|
d944ad8652 | ||
|
|
8c2f226d43 | ||
|
|
ad0603350b | ||
|
|
5aa35100a2 | ||
|
|
ddab3b0bcd | ||
|
|
d83a97bd83 | ||
|
|
cdf23fb4fd | ||
|
|
d15d01733c | ||
|
|
68700d4016 | ||
|
|
1a4c802322 | ||
|
|
6f02a40a51 | ||
|
|
e2f4327dfd | ||
|
|
978cc84d53 | ||
|
|
749ef7c4b9 | ||
|
|
da15deefb7 | ||
|
|
46d7ff7bbc | ||
|
|
6541a4dd22 | ||
|
|
158829a418 | ||
|
|
6bc086ade0 | ||
|
|
7f833757da | ||
|
|
c7f6311506 | ||
|
|
da700d4e2f | ||
|
|
3524267800 |
没有与搜索条件相匹配的文件
@@ -37,3 +37,17 @@ python3 Backend/deploy.py --package '/Volumes/备份/大鱼调色/发行包/大
|
||||
先从仓库审查、提交并推送,再由部署脚本同步到专项工程;脚本验证实际 SMB 挂载及基线。覆盖原文件前同目录旁路备份并核对字节,新增文件无需不存在的备份。只写明确列出的路径,不加载或输出生产配置。更新包签名、公证、票据与正式 APP 验收通过后才发布;同名包不同字节立即停止。发布后完整下载核对大小与 SHA-256,并核验较低/相同构建号的更新结果。
|
||||
|
||||
回滚:先备份当前文件,再恢复部署记录中对应旁路备份;禁止降低已有清单构建号来自动降级。撤下更新时备份并移走 beta.json,更新路由回到没有更新;历史安装包和诊断表保留。源代码可从产品远程仓库恢复,签名私钥及服务端数据库不属于 Git 备份。
|
||||
|
||||
## 微信首次扫码登录专项(2026-11-13)
|
||||
|
||||
本轮使用仓库 `Backend/` 为有范围的本机专项工程。新增保存生产主题 `wp-content/themes/ripro5/inc/oauth/weixin/callback.php`,仅将 `DayuColor` 加入现有扫码证明名单;同时在线 LUT 会话接口把拒绝/过期返回为 HTTP 401,让现有 1.22.1 客户端及时结束等待。无需重编 APP。
|
||||
|
||||
```sh
|
||||
php Backend/tests/wechat_callback.php
|
||||
php Backend/tests/online_luts.php
|
||||
python3 Backend/deploy_wechat_login.py
|
||||
```
|
||||
|
||||
前两项执行合成账号和 OAuth 的隔离测试,不加载生产配置;后一项仅审阅两个明确目标、SHA-256、挂载与权限。先按仓库约定完成源码提交、推送和回读,再加 `--apply --ssh-control <已认证连接>` 进行部署。脚本固定目标 SSH 主机和已确认的 NAS 原生路径,不接收或保存密码。写入前复核全部目标基线,每个覆盖文件均创建原目录分钟级旁路备份;使用原文件所有者通过原生 SSH 保留 UID/GID、权限和扩展属性,两个文件均暂存成功才替换,失败回滚已替换文件。部署报告保存每个相对路径、备份完整路径、摘要与原生元数据。回退沿用上节规则。若生产基线已变化,先重新比较,不能直接更新预期摘要来绕过保护。
|
||||
|
||||
此前会话目录与网络限制已在当前会话解除,无需修改 NAS 权限。真实未绑定用户扫码仍需实际验收。现状与部署结果见 [开发交接](../开发交接.md),证据见 [验证报告](../verification/WeChatLoginFix.json)。
|
||||
@@ -0,0 +1,215 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Review by default; --apply deploys only the two WeChat login fixes."""
|
||||
import argparse
|
||||
import base64
|
||||
import datetime
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import shlex
|
||||
import subprocess
|
||||
|
||||
from deploy import ROOT, NAS, MOUNT, sha, check_mount, write_json
|
||||
|
||||
FILES = (
|
||||
Path('wp-content/themes/ripro5/inc/oauth/weixin/callback.php'),
|
||||
Path('wp-content/mu-plugins/dayu-color-online-luts.php'),
|
||||
)
|
||||
|
||||
# Run as the existing file owner on the NAS: SMB reports synthetic Mac modes.
|
||||
# No credentials or production configuration are included in this program.
|
||||
NATIVE_DEPLOY = r'''
|
||||
import base64, datetime, hashlib, json, os, pathlib, shutil, stat, sys, uuid
|
||||
root = pathlib.Path('/vol1/1000/dayumedia/wwwroot/dayu_media')
|
||||
allowed = {'wp-content/themes/ripro5/inc/oauth/weixin/callback.php',
|
||||
'wp-content/mu-plugins/dayu-color-online-luts.php'}
|
||||
request = json.load(sys.stdin)
|
||||
assert len(request['files']) == 2
|
||||
assert {r['relativePath'] for r in request['files']} == allowed
|
||||
def digest(path):
|
||||
return hashlib.sha256(path.read_bytes()).hexdigest()
|
||||
def metadata(path):
|
||||
s = path.stat()
|
||||
return dict(uid=s.st_uid, gid=s.st_gid, mode=oct(stat.S_IMODE(s.st_mode)),
|
||||
xattrs={k:base64.b64encode(os.getxattr(path,k)).decode()
|
||||
for k in sorted(os.listxattr(path))})
|
||||
def syncdir(path):
|
||||
fd=os.open(str(path),os.O_RDONLY)
|
||||
try: os.fsync(fd)
|
||||
finally: os.close(fd)
|
||||
def clone(original, destination, expected):
|
||||
fd=os.open(str(destination),os.O_CREAT|os.O_EXCL|os.O_WRONLY,0o600)
|
||||
os.close(fd)
|
||||
shutil.copy2(original,destination)
|
||||
if (destination.stat().st_uid,destination.stat().st_gid)!=(expected['uid'],expected['gid']):
|
||||
os.chown(destination,expected['uid'],expected['gid'])
|
||||
if stat.S_IMODE(destination.stat().st_mode)!=int(expected['mode'],8):
|
||||
os.chmod(destination,int(expected['mode'],8))
|
||||
# fnOS creates a system.trim_acl inherited from the parent even when the
|
||||
# original has none. copy2 does not remove these destination-only xattrs.
|
||||
for key in set(os.listxattr(destination))-set(expected['xattrs']):
|
||||
os.removexattr(destination,key)
|
||||
for key,value in expected['xattrs'].items():
|
||||
os.setxattr(destination,key,base64.b64decode(value))
|
||||
assert metadata(destination)==expected, 'Native metadata copy mismatch'
|
||||
with destination.open('rb') as f: os.fsync(f.fileno())
|
||||
stamp=datetime.datetime.now(datetime.timezone(datetime.timedelta(hours=8))).strftime('%Y%m%d%H%M')
|
||||
rows=[]
|
||||
stages=[]
|
||||
changed=[]
|
||||
result=dict(ok=False,files=rows,rolledBack=False)
|
||||
try:
|
||||
# Check the entire batch before creating backups or staging new content.
|
||||
for item in request['files']:
|
||||
target=root/item['relativePath']
|
||||
assert target.resolve()==target and target.is_file(), 'Unexpected path or symlink'
|
||||
original=digest(target)
|
||||
source=base64.b64decode(item['sourceBase64'],validate=True)
|
||||
assert hashlib.sha256(source).hexdigest()==item['sourceSHA256']
|
||||
assert original in (item['expectedSHA256'],item['sourceSHA256']), 'Production baseline changed'
|
||||
attrs=metadata(target)
|
||||
assert attrs['uid']==os.geteuid(), 'Run as the original file owner'
|
||||
row=dict(relativePath=item['relativePath'],nativeTarget=str(target),
|
||||
beforeSHA256=original,sha256=item['sourceSHA256'],beforeMetadata=attrs,
|
||||
status='already-current' if original==item['sourceSHA256'] else 'pending')
|
||||
rows.append(row)
|
||||
for row,item in zip(rows,request['files']):
|
||||
if row['status']=='already-current': continue
|
||||
target=pathlib.Path(row['nativeTarget'])
|
||||
backup=target.with_name(target.stem+'-'+stamp+target.suffix+'bak')
|
||||
clone(target,backup,row['beforeMetadata'])
|
||||
assert digest(backup)==row['beforeSHA256'], 'Backup content mismatch'
|
||||
row['nativeBackup']=str(backup)
|
||||
syncdir(target.parent)
|
||||
# Stage both files before replacing either production file.
|
||||
for row,item in zip(rows,request['files']):
|
||||
if row['status']=='already-current': continue
|
||||
target=pathlib.Path(row['nativeTarget'])
|
||||
stage=target.with_name('.dayu-wechat-stage-'+uuid.uuid4().hex)
|
||||
stages.append(stage)
|
||||
clone(target,stage,row['beforeMetadata'])
|
||||
with stage.open('wb') as f:
|
||||
f.write(base64.b64decode(item['sourceBase64'],validate=True))
|
||||
f.flush(); os.fsync(f.fileno())
|
||||
os.utime(stage,None)
|
||||
assert metadata(stage)==row['beforeMetadata'], 'Staged metadata mismatch'
|
||||
assert digest(stage)==row['sha256'], 'Staged content mismatch'
|
||||
row['stage']=str(stage)
|
||||
for row in rows:
|
||||
if row['status']=='already-current': continue
|
||||
target=pathlib.Path(row['nativeTarget'])
|
||||
assert digest(target)==row['beforeSHA256'], 'Production changed before replacement'
|
||||
assert metadata(target)==row['beforeMetadata'], 'Permissions changed before replacement'
|
||||
os.replace(row['stage'],target)
|
||||
changed.append(row)
|
||||
syncdir(target.parent)
|
||||
row['status']='deployed'
|
||||
for row in rows:
|
||||
target=pathlib.Path(row['nativeTarget'])
|
||||
assert digest(target)==row['sha256']
|
||||
row['afterMetadata']=metadata(target)
|
||||
assert row['afterMetadata']==row['beforeMetadata'], 'Final metadata mismatch'
|
||||
result['ok']=True
|
||||
except Exception as e:
|
||||
result['error']=str(e)
|
||||
rollback_errors=[]
|
||||
for row in reversed(changed):
|
||||
try:
|
||||
target=pathlib.Path(row['nativeTarget'])
|
||||
restore=target.with_name('.dayu-wechat-restore-'+uuid.uuid4().hex)
|
||||
stages.append(restore)
|
||||
clone(pathlib.Path(row['nativeBackup']),restore,row['beforeMetadata'])
|
||||
assert digest(restore)==row['beforeSHA256']
|
||||
os.replace(restore,target); syncdir(target.parent)
|
||||
row['status']='rolled-back'
|
||||
except Exception as failure: rollback_errors.append(str(failure))
|
||||
result['rolledBack']=bool(changed) and not rollback_errors
|
||||
result['rollbackErrors']=rollback_errors
|
||||
finally:
|
||||
for stage in stages:
|
||||
if stage.exists(): stage.unlink()
|
||||
for row in rows: row.pop('stage',None)
|
||||
print(json.dumps(result,ensure_ascii=False))
|
||||
'''
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('--apply', action='store_true')
|
||||
parser.add_argument('--ssh-control', help='Existing authenticated SSH control socket; no password argument')
|
||||
args = parser.parse_args()
|
||||
mounts = subprocess.check_output(['/sbin/mount'], text=True).splitlines()
|
||||
matches = [line for line in mounts if f' on {MOUNT} (smbfs,' in line]
|
||||
assert len(matches) == 1 and '@192.168.31.21/dayumedia%' in matches[0], 'NAS SMB mount mismatch'
|
||||
baseline = json.loads((ROOT/'verification/WeChatLoginBaseline.json').read_text())
|
||||
expected = {row['relativePath']: row['sha256'] for row in baseline['files']}
|
||||
files = []
|
||||
# Validate every target before making any production change.
|
||||
for relative in FILES:
|
||||
source = ROOT/'Backend'/relative
|
||||
target = NAS/relative
|
||||
subprocess.run(['php', '-l', str(source)], check=True, capture_output=True)
|
||||
assert sha(target) in (expected[str(relative)], sha(source)), 'Production baseline changed: '+str(relative)
|
||||
files.append(dict(relativePath=str(relative), sourceSHA256=sha(source),
|
||||
productionSHA256=sha(target), writable=os.access(target.parent, os.W_OK)))
|
||||
contracts = []
|
||||
for name in ('wechat_callback.php', 'online_luts.php'):
|
||||
result = subprocess.run(['php', str(ROOT/'Backend/tests'/name)], check=True, capture_output=True, text=True)
|
||||
report = json.loads(result.stdout)
|
||||
assert report['pass']
|
||||
contracts.append(dict(suite=name, count=report['count'], passed=True))
|
||||
review = dict(mode='apply' if args.apply else 'review', localProject=str(ROOT/'Backend'),
|
||||
nasRoot=str(NAS), files=files, contracts=contracts)
|
||||
if not args.apply:
|
||||
print(json.dumps(review, ensure_ascii=False, indent=2))
|
||||
return
|
||||
check_mount()
|
||||
assert all(row['writable'] for row in files), 'Production target is read-only'
|
||||
commit = subprocess.check_output(['git', 'rev-parse', 'HEAD'], cwd=ROOT, text=True).strip()
|
||||
remote = subprocess.check_output(['git', 'ls-remote', 'origin', 'refs/heads/main'], cwd=ROOT, text=True).split()[0]
|
||||
assert remote == commit, 'Source checkpoint must be pushed and verified first'
|
||||
for relative in FILES:
|
||||
saved = subprocess.check_output(['git', 'show', 'HEAD:Backend/'+str(relative)], cwd=ROOT)
|
||||
assert saved == (ROOT/'Backend'/relative).read_bytes(), 'Source not committed: '+str(relative)
|
||||
lock = ROOT/'Backend/.wechat-login-deployment.lock'
|
||||
lock.mkdir()
|
||||
write_json(lock/'owner.json', dict(pid=os.getpid(), sourceCommit=commit))
|
||||
try:
|
||||
request = dict(files=[dict(relativePath=str(relative), expectedSHA256=expected[str(relative)],
|
||||
sourceSHA256=sha(ROOT/'Backend'/relative),
|
||||
sourceBase64=base64.b64encode((ROOT/'Backend'/relative).read_bytes()).decode())
|
||||
for relative in FILES])
|
||||
command = ['/usr/bin/ssh', '-T', '-p', '22', '-o', 'BatchMode=yes',
|
||||
'-o', 'StrictHostKeyChecking=yes']
|
||||
if args.ssh_control:
|
||||
command += ['-o', 'ControlPath='+args.ssh_control]
|
||||
command += ['dayu@192.168.31.21', '/usr/bin/python3 -c '+shlex.quote(NATIVE_DEPLOY)]
|
||||
process = subprocess.run(command, input=json.dumps(request), text=True, capture_output=True, timeout=60)
|
||||
if process.returncode:
|
||||
raise RuntimeError('Native SSH deployment failed: '+process.stderr.strip())
|
||||
outcome = json.loads(process.stdout)
|
||||
results = outcome['files']
|
||||
for result in results:
|
||||
relative = result['relativePath']
|
||||
result['target'] = str(NAS/relative)
|
||||
if 'nativeBackup' in result:
|
||||
result['backup'] = str(NAS/Path(result['nativeBackup']).relative_to('/vol1/1000/dayumedia/wwwroot/dayu_media'))
|
||||
if outcome['ok']:
|
||||
assert sha(NAS/relative) == result['sha256'], 'SMB/native content mismatch'
|
||||
write_json(ROOT/'verification/WeChatLoginDeployment.json', dict(
|
||||
checkedAt=datetime.datetime.now(datetime.timezone.utc).isoformat(), sourceCommit=commit,
|
||||
localProject=str(ROOT/'Backend'), nasRoot=str(NAS), files=results,
|
||||
nativeResult=outcome, liveScanVerified=False,
|
||||
status='files deployed; fresh unbound-account scan still required' if outcome['ok'] else 'deployment failed'))
|
||||
assert outcome['ok'], json.dumps(outcome,ensure_ascii=False)
|
||||
print(json.dumps(dict(deployed=len(results), files=results), ensure_ascii=False, indent=2))
|
||||
finally:
|
||||
def ignore_missing(function, path, exception):
|
||||
if not isinstance(exception[1], FileNotFoundError):
|
||||
raise exception[1]
|
||||
shutil.rmtree(lock, onerror=ignore_missing)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@@ -55,6 +55,19 @@ check(body(Dayu_Color_Online_LUTs::logout(new Request(array(),$restored['token']
|
||||
$session=array('app_name'=>'DayuColor','device_uuid'=>$device,'expires_at'=>time()+120,'status'=>'pending','user_id'=>7);
|
||||
$transients[$login]=$session;
|
||||
check(body(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))))['status']==='pending','pending login cannot mint a credential');
|
||||
$bound=0;
|
||||
check(body(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))))['status']==='pending','first unbound device can wait for WeChat approval');
|
||||
$transients[$login]['status']='approved';
|
||||
check(denied(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))),401),'approval cannot bypass missing UUID binding');
|
||||
check(isset($transients[$login])&&!isset($options['dayu_color_lut_once_'.hash('sha256',$key)]),'missing binding does not consume the login session');
|
||||
$transients[$login]=$session;$transients[$login]['status']='denied';$transients[$login]['message']='该 UUID 已绑定其他账号,请先解绑';
|
||||
$failed=Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device)));
|
||||
check(denied($failed,401)&&$failed->message===$transients[$login]['message'],'callback denial immediately stops installed client polling with the actual reason');
|
||||
$transients[$login]['status']='expired';
|
||||
check(denied(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))),401),'expired callback stops installed client polling');
|
||||
$transients[$login]=$session;$transients[$login]['expires_at']=time()-1;
|
||||
check(denied(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))),401),'past session deadline stops polling');
|
||||
$transients[$login]=$session;$bound=7;
|
||||
$transients[$login]['app_name']='FCPXSoundEffects';check(denied(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))),401),'another product login rejected');
|
||||
$transients[$login]=$session;$transients[$login]['status']='approved';
|
||||
$issued=Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device)));$token=body($issued)['token']??'';
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
// Execute the actual theme callback with synthetic OAuth and WordPress services.
|
||||
// Never load wp-config.php, contact WeChat, or read/change real accounts.
|
||||
namespace Yurun\OAuthLogin\Weixin {
|
||||
class OAuth2 {
|
||||
public $http, $openid='synthetic-wechat-openid';
|
||||
public function __construct(...$args) { $this->http=new \stdClass; }
|
||||
public function getAccessToken($state) { return 'synthetic-provider-token'; }
|
||||
public function getUserInfo() { return array('nickname'=>'测试用户', 'headimgurl'=>'https://example.invalid/avatar'); }
|
||||
}
|
||||
}
|
||||
namespace {
|
||||
define('ABSPATH', __DIR__.'/'); define('MINUTE_IN_SECONDS', 60);
|
||||
class CallbackRedirect extends \RuntimeException {}
|
||||
class CallbackRejected extends \RuntimeException {}
|
||||
class LoginEvents {
|
||||
public $events=array();
|
||||
public function log_login_event($stage,$fields=array()) { $this->events[]=array('stage'=>$stage,'fields'=>$fields); }
|
||||
}
|
||||
class CallbackDB {
|
||||
public $usermeta='synthetic_usermeta';
|
||||
public function prepare(...$args) { return $args; }
|
||||
public function get_var($query) { return 7; }
|
||||
}
|
||||
$wpdb=new CallbackDB;
|
||||
$GLOBALS['dayu_macos_app_auth']=new LoginEvents;
|
||||
$transients=array(); $checks=array();
|
||||
function _cao($key) { return array('appid'=>'synthetic','appkey'=>'synthetic'); }
|
||||
function home_url($path) { return 'https://dayu.media'.$path; }
|
||||
function wp_parse_url($url) { return parse_url($url); }
|
||||
function sanitize_text_field($value) { return trim(strip_tags($value)); }
|
||||
function set_transient($key,$value,$ttl) { global $transients; $transients[$key]=$value; return true; }
|
||||
function get_current_user_id() { return 0; }
|
||||
function wp_set_current_user($id) {}
|
||||
function wp_set_auth_cookie(...$args) {}
|
||||
function get_user_by(...$args) { return (object)array('user_login'=>'synthetic-user'); }
|
||||
function do_action(...$args) {}
|
||||
function wp_safe_redirect($url) { throw new CallbackRedirect; }
|
||||
function cao_wp_die(...$args) { throw new CallbackRejected; }
|
||||
function is_wp_error($value) { return false; }
|
||||
function check($passed,$name) {
|
||||
global $checks;
|
||||
$checks[]=array('name'=>$name,'pass'=>(bool)$passed);
|
||||
if (!$passed) { fwrite(STDERR,'FAIL '.$name."\n"); exit(1); }
|
||||
}
|
||||
// Redirects throw before the production callback's exit statements.
|
||||
function callback_proof($app, $overrides=array(), $host='dayu.media', $provider_state=true) {
|
||||
global $transients;
|
||||
$transients=array(); $GLOBALS['dayu_macos_app_auth']->events=array();
|
||||
$query=array_merge(array('action'=>'app_wechat_auth_check','app_name'=>$app,
|
||||
'fcpxqwen_session'=>str_repeat('a',40),'device_uuid'=>'00000000-0000-0000-0000-000000000001'),$overrides);
|
||||
$_SESSION=array('oauth_rurl'=>'https://'.$host.'/wp-admin/admin-ajax.php?'.http_build_query($query));
|
||||
if ($provider_state) { $_SESSION['YURUN_WEIXIN_STATE']='synthetic-state'; }
|
||||
$_GET=array('code'=>'synthetic-code');
|
||||
try { include $GLOBALS['callback_source']; } catch (CallbackRedirect $e) {} catch (CallbackRejected $e) {}
|
||||
return $_SESSION['dayu_fcpx_wechat_oauth']??null;
|
||||
}
|
||||
$callback_source=$argv[1]??__DIR__.'/../wp-content/themes/ripro5/inc/oauth/weixin/callback.php';
|
||||
session_start();
|
||||
$proof=callback_proof('DayuColor');
|
||||
check(is_array($proof),'DayuColor first scan writes OAuth proof without any prior UUID binding');
|
||||
check($proof['session_hash']===hash('sha256',str_repeat('a',40))
|
||||
&&$proof['device_hash']===hash('sha256','00000000-0000-0000-0000-000000000001')
|
||||
&&$proof['openid_hash']===hash('sha256','synthetic-wechat-openid'),
|
||||
'proof binds this login session, hardware UUID and provider identity');
|
||||
check(abs(time()-$proof['issued_at'])<=1,'proof has a fresh server timestamp');
|
||||
check(($transients['dayu_fcpx_oauth_proof_'.hash('sha256',str_repeat('a',40))]??null)===$proof,
|
||||
'transient fallback matches proof across PHP session boundaries');
|
||||
check(in_array('oauth_proof_written',array_column($GLOBALS['dayu_macos_app_auth']->events,'stage'),true),
|
||||
'successful proof is visible in existing login diagnostics');
|
||||
foreach (array('FCPXQwen3ASR','FCPXPython','FCPXSoundEffects','qwenzhiyin','DayuDownie','DayuLightFactory') as $app) {
|
||||
check(is_array(callback_proof($app)),'existing app callback preserved: '.$app);
|
||||
}
|
||||
check(callback_proof('UnknownApp')===null,'unrecognized apps do not receive proof');
|
||||
check(callback_proof('DayuColor',array(),'foreign.example')===null,'foreign redirect host cannot receive proof');
|
||||
check(callback_proof('DayuColor',array('action'=>'other_action'))===null,'wrong callback action cannot receive proof');
|
||||
check(callback_proof('DayuColor',array('fcpxqwen_session'=>'short'))===null,'invalid login session cannot receive proof');
|
||||
check(callback_proof('DayuColor',array('device_uuid'=>'random-client-id'))===null,'non-hardware UUID cannot receive proof');
|
||||
check(callback_proof('DayuColor',array(),'dayu.media',false)===null,'browser cookie or redirect alone cannot bypass provider state');
|
||||
session_destroy();
|
||||
echo json_encode(array('pass'=>true,'count'=>count($checks),
|
||||
'scope'=>'Actual scoped theme callback with synthetic OAuth and WordPress services; no live scan or user data.',
|
||||
'checks'=>$checks),JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE)."\n";
|
||||
}
|
||||
@@ -75,6 +75,11 @@ final class Dayu_Color_Online_LUTs {
|
||||
if (!$device || !preg_match('/^[A-Za-z0-9_-]{32,80}$/D', $key)) { return self::error('login', '登录会话无效,请重新登录。', 400); }
|
||||
$transient='dayu_app_login_' . hash('sha256', $key); $session=get_transient($transient);
|
||||
if (!is_array($session) || intval($session['expires_at'] ?? 0) < time() || ($session['app_name'] ?? '') !== self::APP || !hash_equals((string)($session['device_uuid'] ?? ''), $device)) { return self::error('expired', '登录会话已过期,请重新登录。', 401); }
|
||||
// Installed clients stop polling on 401. Do not leave a denied callback
|
||||
// looking like a pending login until the ten-minute timer expires.
|
||||
if (in_array($session['status'] ?? '', array('denied', 'expired'), true)) {
|
||||
return self::error('login_failed', sanitize_text_field($session['message'] ?? '微信登录失败,请重新登录。'), 401);
|
||||
}
|
||||
if (($session['status'] ?? '') !== 'approved') { return self::response(array('status'=>sanitize_key($session['status'] ?? 'pending'), 'message'=>sanitize_text_field($session['message'] ?? '等待微信登录'))); }
|
||||
$user_id=intval($session['user_id'] ?? 0);
|
||||
if (!$user_id || self::bound_user($device) !== $user_id || !get_user_by('ID', $user_id)) { return self::error('binding', '账号绑定已变化,请重新登录。', 401); }
|
||||
|
||||
@@ -0,0 +1,280 @@
|
||||
<?php
|
||||
if (!defined('ABSPATH')) {die;} // Cannot access directly.
|
||||
//启用 session - 检查是否已经启动
|
||||
if (!session_id()) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
$dayu_login_log = function ($stage, $fields = array()) {
|
||||
if (isset($GLOBALS['dayu_macos_app_auth'])
|
||||
&& is_object($GLOBALS['dayu_macos_app_auth'])
|
||||
&& method_exists($GLOBALS['dayu_macos_app_auth'], 'log_login_event')) {
|
||||
$GLOBALS['dayu_macos_app_auth']->log_login_event($stage, $fields);
|
||||
}
|
||||
};
|
||||
|
||||
//获取后台配置
|
||||
$wxConfig = _cao('oauth_weixin');
|
||||
$wxOAuth = new \Yurun\OAuthLogin\Weixin\OAuth2($wxConfig['appid'], $wxConfig['appkey']);
|
||||
|
||||
// 尝试提高健壮性:强制 IPv4、设置超时与重试,规避服务器 IPv6/DNS 异常和偶发网络抖动
|
||||
try {
|
||||
if (defined('CURLOPT_IPRESOLVE') && defined('CURL_IPRESOLVE_V4')) {
|
||||
$wxOAuth->http->option(CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
// 忽略设置失败
|
||||
}
|
||||
// 毫秒
|
||||
$wxOAuth->http->connectTimeout = 10000; // 10s 连接超时
|
||||
$wxOAuth->http->timeout = 15000; // 15s 总超时
|
||||
$wxOAuth->http->retry = 1; // 失败重试 1 次
|
||||
|
||||
if (isset($wxConfig['agent']) && $wxConfig['agent']) {
|
||||
$wxOAuth->loginAgentUrl = esc_url(home_url('/oauth/weixinagent'));
|
||||
}
|
||||
// 防止未设置触发 Notice
|
||||
if (empty($_SESSION['YURUN_WEIXIN_STATE'])) {
|
||||
cao_wp_die('非法访问,没有经过第三方登录返回');
|
||||
}
|
||||
// 获取accessToken,把之前存储的state传入,会自动判断。
|
||||
// 第三方返回异常(例如 code been used)时,当前代码未捕获会导致致命错误。
|
||||
// 这里做一次兜底处理,提示用户并引导其重试登录。
|
||||
try {
|
||||
$accessToken = $wxOAuth->getAccessToken($_SESSION['YURUN_WEIXIN_STATE']);
|
||||
} catch (\Throwable $e) {
|
||||
// 清理已用的 state,避免重复使用
|
||||
unset($_SESSION['YURUN_WEIXIN_STATE']);
|
||||
// 记录错误便于排查,但不给用户暴露底层异常内容
|
||||
if (function_exists('error_log')) {
|
||||
error_log('Weixin OAuth getAccessToken failed: ' . $e->getMessage());
|
||||
// 进一步主动探测一次接口,记录更详细的网络错误信息(不影响业务流程)
|
||||
try {
|
||||
$probe = new \Yurun\Util\HttpRequest();
|
||||
if (defined('CURLOPT_IPRESOLVE') && defined('CURL_IPRESOLVE_V4')) {
|
||||
$probe->option(CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
||||
}
|
||||
$probe->connectTimeout = 8000;
|
||||
$probe->timeout = 12000;
|
||||
$res = $probe->get('https://api.weixin.qq.com/sns/oauth2/access_token', array(
|
||||
'appid' => $wxConfig['appid'],
|
||||
'secret' => $wxConfig['appkey'],
|
||||
'code' => isset($_GET['code']) ? $_GET['code'] : '',
|
||||
'grant_type' => 'authorization_code',
|
||||
));
|
||||
$snippet = substr($res->body(), 0, 200);
|
||||
error_log('Weixin OAuth probe status=' . $res->getStatusCode() . ' errno=' . $res->getErrno() . ' error=' . $res->getError() . ' body=' . $snippet);
|
||||
} catch (\Throwable $e2) {
|
||||
error_log('Weixin OAuth probe exception: ' . $e2->getMessage());
|
||||
}
|
||||
}
|
||||
// 给出友好提示并提供重新发起登录的入口,避免 Fatal Error 白屏
|
||||
$restartUrl = esc_url(home_url('/oauth/weixin')) . (isset($_SESSION['oauth_rurl']) ? ('?rurl=' . rawurlencode($_SESSION['oauth_rurl'])) : '');
|
||||
$msg = '授权码已失效或被重复使用,请返回后重试(请勿刷新回调页)。<br><a href="' . $restartUrl . '">点击这里重新发起微信登录</a>';
|
||||
cao_wp_die('微信登录失败', $msg);
|
||||
}
|
||||
|
||||
$openid = $wxOAuth->openid; // 唯一ID
|
||||
$dayu_login_log('oauth_provider_callback', array(
|
||||
'has_oauth_code' => !empty($_GET['code']),
|
||||
'has_openid' => !empty($openid),
|
||||
'has_php_session' => session_status() !== PHP_SESSION_NONE,
|
||||
));
|
||||
|
||||
// 兼容网络异常/返回非JSON导致的空结果:
|
||||
// 当请求失败时,yurun-http 返回 null,未抛异常,这里显式拦截避免白屏
|
||||
if (empty($accessToken) || empty($openid)) {
|
||||
$raw = isset($wxOAuth->result) ? $wxOAuth->result : null;
|
||||
if (function_exists('error_log')) {
|
||||
// 记录原始返回,便于排查(一般为 null 或包含 errcode/errmsg)
|
||||
error_log('Weixin OAuth getAccessToken returned empty. result=' . (is_array($raw) ? json_encode($raw, JSON_UNESCAPED_UNICODE) : var_export($raw, true)));
|
||||
}
|
||||
// 进一步主动探测一次接口,记录更详细的网络错误信息(不影响业务流程)
|
||||
try {
|
||||
$probe = new \Yurun\Util\HttpRequest();
|
||||
if (defined('CURLOPT_IPRESOLVE') && defined('CURL_IPRESOLVE_V4')) {
|
||||
$probe->option(CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
||||
}
|
||||
$probe->connectTimeout = 8000;
|
||||
$probe->timeout = 12000;
|
||||
$res = $probe->get('https://api.weixin.qq.com/sns/oauth2/access_token', array(
|
||||
'appid' => $wxConfig['appid'],
|
||||
'secret' => $wxConfig['appkey'],
|
||||
'code' => isset($_GET['code']) ? $_GET['code'] : '',
|
||||
'grant_type' => 'authorization_code',
|
||||
));
|
||||
$snippet = substr($res->body(), 0, 200);
|
||||
error_log('Weixin OAuth probe status=' . $res->getStatusCode() . ' errno=' . $res->getErrno() . ' error=' . $res->getError() . ' body=' . $snippet);
|
||||
} catch (\Throwable $e2) {
|
||||
error_log('Weixin OAuth probe exception: ' . $e2->getMessage());
|
||||
}
|
||||
$restartUrl = esc_url(home_url('/oauth/weixin')) . (isset($_SESSION['oauth_rurl']) ? ('?rurl=' . rawurlencode($_SESSION['oauth_rurl'])) : '');
|
||||
$msg = '未能获取微信授权凭证,可能由于服务器无法连接微信接口、网络波动,或回调参数已过期。<br><a href="' . $restartUrl . '">点击这里重新发起微信登录</a>';
|
||||
cao_wp_die('微信登录失败', $msg);
|
||||
}
|
||||
try {
|
||||
$userInfo = $wxOAuth->getUserInfo(); // 第三方用户信息,失败也可能抛异常
|
||||
} catch (\Throwable $e) {
|
||||
if (function_exists('error_log')) {
|
||||
error_log('Weixin OAuth getUserInfo failed: ' . $e->getMessage());
|
||||
}
|
||||
cao_wp_die('微信登录失败', '获取用户信息失败,请返回后重试。');
|
||||
}
|
||||
|
||||
// 防御性校验:避免空数组/空字段导致后续逻辑不执行而白屏
|
||||
if (empty($userInfo) || !is_array($userInfo) || (empty($userInfo['nickname']) && empty($userInfo['headimgurl']))) {
|
||||
if (function_exists('error_log')) {
|
||||
error_log('Weixin OAuth getUserInfo returned invalid: ' . var_export($userInfo, true));
|
||||
}
|
||||
$restartUrl = esc_url(home_url('/?oauth=weixin'));
|
||||
$msg = '未能获取到完整的微信用户资料,请返回后重试。<br><a href="' . $restartUrl . '">点击这里重新发起微信登录</a>';
|
||||
cao_wp_die('微信登录失败', $msg);
|
||||
}
|
||||
|
||||
// Dayu macOS APP 设备绑定必须能证明本次跳转确实经过了微信 OAuth,不接受仅有旧 WordPress Cookie 的回调。
|
||||
$dayu_oauth_rurl = isset($_SESSION['oauth_rurl']) ? (string) $_SESSION['oauth_rurl'] : '';
|
||||
$dayu_target = $dayu_oauth_rurl !== '' ? wp_parse_url($dayu_oauth_rurl) : false;
|
||||
$dayu_home = wp_parse_url(home_url('/'));
|
||||
if (is_array($dayu_target)
|
||||
&& is_array($dayu_home)
|
||||
&& !empty($dayu_target['host'])
|
||||
&& !empty($dayu_home['host'])
|
||||
&& hash_equals(strtolower((string) $dayu_home['host']), strtolower((string) $dayu_target['host']))) {
|
||||
$dayu_query = array();
|
||||
parse_str((string) ($dayu_target['query'] ?? ''), $dayu_query);
|
||||
$dayu_session_key = sanitize_text_field((string) ($dayu_query['fcpxqwen_session'] ?? ''));
|
||||
$dayu_device_uuid = strtoupper(sanitize_text_field((string) ($dayu_query['device_uuid'] ?? '')));
|
||||
$dayu_app_name = sanitize_text_field((string) ($dayu_query['app_name'] ?? ''));
|
||||
$dayu_trace_id = sanitize_text_field((string) ($dayu_query['trace_id'] ?? ''));
|
||||
if (($dayu_query['action'] ?? '') === 'app_wechat_auth_check'
|
||||
&& in_array($dayu_app_name, array('FCPXQwen3ASR', 'FCPXPython', 'FCPXSoundEffects', 'qwenzhiyin', 'DayuDownie', 'DayuLightFactory', 'DayuColor'), true)
|
||||
&& preg_match('/^[A-Za-z0-9_-]{32,80}$/', $dayu_session_key)
|
||||
&& preg_match('/^[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}$/', $dayu_device_uuid)) {
|
||||
$dayu_oauth_proof = array(
|
||||
'session_hash' => hash('sha256', $dayu_session_key),
|
||||
'device_hash' => hash('sha256', $dayu_device_uuid),
|
||||
'openid_hash' => hash('sha256', (string) $openid),
|
||||
'issued_at' => time(),
|
||||
);
|
||||
$_SESSION['dayu_fcpx_wechat_oauth'] = $dayu_oauth_proof;
|
||||
set_transient(
|
||||
'dayu_fcpx_oauth_proof_' . hash('sha256', $dayu_session_key),
|
||||
$dayu_oauth_proof,
|
||||
10 * MINUTE_IN_SECONDS
|
||||
);
|
||||
$dayu_login_log('oauth_proof_written', array(
|
||||
'trace_id' => $dayu_trace_id,
|
||||
'app_name' => $dayu_app_name,
|
||||
'device_uuid' => $dayu_device_uuid,
|
||||
'has_openid' => !empty($openid),
|
||||
'proof_written' => true,
|
||||
'proof_transient' => true,
|
||||
));
|
||||
} else {
|
||||
$dayu_login_log('oauth_proof_not_written', array(
|
||||
'trace_id' => $dayu_trace_id,
|
||||
'app_name' => $dayu_app_name,
|
||||
'device_uuid' => $dayu_device_uuid,
|
||||
'has_openid' => !empty($openid),
|
||||
'proof_written' => false,
|
||||
));
|
||||
}
|
||||
}
|
||||
// 处理本地业务逻辑
|
||||
//
|
||||
if ($openid && $userInfo) {
|
||||
$_prefix = 'weixin';
|
||||
$_openid_meta_key = 'open_' . $_prefix . '_openid';
|
||||
// 初始化信息
|
||||
$metaInfo = array(
|
||||
'openid' => $openid,
|
||||
'name' => $userInfo['nickname'],
|
||||
'bind' => 1,
|
||||
'avatar' => $userInfo['headimgurl'],
|
||||
);
|
||||
if (!empty($userInfo['unionid'])) {
|
||||
$metaInfo['unionid'] = $userInfo['unionid'];
|
||||
}
|
||||
|
||||
global $wpdb, $current_user;
|
||||
|
||||
// 查询meta
|
||||
$user_exist = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM $wpdb->usermeta WHERE meta_key=%s AND meta_value=%s", $_openid_meta_key, $openid));
|
||||
// 如果当前用户已登录,而$user_exist存在,即该开放平台账号连接被其他用户占用了,不能再重复绑定了
|
||||
$current_user_id = get_current_user_id();
|
||||
if ($current_user_id != 0 && isset($user_exist) && $current_user_id != $user_exist) {
|
||||
cao_wp_die('绑定失败,可能之前已有其他账号绑定,请先登录其他账户解绑。');
|
||||
}
|
||||
|
||||
if (isset($user_exist) && (int) $user_exist > 0) {
|
||||
// 该开放平台账号已连接过WP系统,再次使用它直接登录
|
||||
$user_exist = (int) $user_exist;
|
||||
if (function_exists('dayu_sync_user_payout_wechat_openid')) {
|
||||
dayu_sync_user_payout_wechat_openid($user_exist, $openid);
|
||||
}
|
||||
if (!empty($metaInfo['unionid'])) {
|
||||
update_user_meta($user_exist, 'open_' . $_prefix . '_unionid', $metaInfo['unionid']);
|
||||
}
|
||||
wp_set_current_user($user_exist);
|
||||
wp_set_auth_cookie($user_exist);
|
||||
$user = get_user_by('id', $user_exist);
|
||||
do_action('wp_login', $user->user_login, $user); // 保证挂载的action执行
|
||||
wp_safe_redirect($_SESSION['oauth_rurl']);
|
||||
exit;
|
||||
} elseif ($current_user_id) {
|
||||
// Open 连接未被占用且当前已登录了本地账号, 那么直接绑定信息到该账号 case: 从个人资料设置中点击了绑定社交账号等操作
|
||||
update_user_meta($current_user_id, 'open_' . $_prefix . '_openid', $metaInfo['openid']);
|
||||
update_user_meta($current_user_id, 'open_' . $_prefix . '_bind', $metaInfo['bind']);
|
||||
update_user_meta($current_user_id, 'open_' . $_prefix . '_name', $metaInfo['name']);
|
||||
update_user_meta($current_user_id, 'open_' . $_prefix . '_avatar', $metaInfo['avatar']);
|
||||
if (function_exists('dayu_sync_user_payout_wechat_openid')) {
|
||||
dayu_sync_user_payout_wechat_openid($current_user_id, $openid);
|
||||
}
|
||||
if (!empty($metaInfo['unionid'])) {
|
||||
update_user_meta($current_user_id, 'open_' . $_prefix . '_unionid', $metaInfo['unionid']);
|
||||
}
|
||||
wp_safe_redirect($_SESSION['oauth_rurl']);
|
||||
exit;
|
||||
} else {
|
||||
// 该开放平台账号未连接过WP系统,使用它登录并分配和绑定一个WP本地新用户
|
||||
$login_name = "u" . mt_rand(1000, 9999) . mt_rand(1000, 9999);
|
||||
$user_pass = wp_generate_password(64, true, true);
|
||||
$nickname = $metaInfo['name'];
|
||||
$userdata = array(
|
||||
'user_login' => $login_name,
|
||||
'user_email' => $login_name.'_mail@no.com',
|
||||
'display_name' => $nickname,
|
||||
'nickname' => $nickname,
|
||||
'user_pass' => $user_pass,
|
||||
'role' => get_option('default_role'),
|
||||
'first_name' => $nickname,
|
||||
);
|
||||
$user_id = wp_insert_user($userdata);
|
||||
if (is_wp_error($user_id)) {
|
||||
echo $user_id->get_error_message();
|
||||
} else {
|
||||
// 更新用户字段
|
||||
update_user_meta($user_id, 'open_' . $_prefix . '_openid', $metaInfo['openid']);
|
||||
update_user_meta($user_id, 'open_' . $_prefix . '_bind', $metaInfo['bind']);
|
||||
update_user_meta($user_id, 'open_' . $_prefix . '_name', $metaInfo['name']);
|
||||
update_user_meta($user_id, 'open_' . $_prefix . '_avatar', $metaInfo['avatar']);
|
||||
update_user_meta($user_id, 'user_avatar_type',$_prefix);
|
||||
if (function_exists('dayu_sync_user_payout_wechat_openid')) {
|
||||
dayu_sync_user_payout_wechat_openid($user_id, $openid);
|
||||
}
|
||||
if (!empty($metaInfo['unionid'])) {
|
||||
update_user_meta($user_id, 'open_' . $_prefix . '_unionid', $metaInfo['unionid']);
|
||||
}
|
||||
|
||||
//登录
|
||||
wp_set_auth_cookie($user_id, true, false);
|
||||
$user = get_user_by('id', $user_id);
|
||||
do_action('wp_login', $user->user_login, $user); // 保证挂载的action执行
|
||||
wp_safe_redirect($_SESSION['oauth_rurl']);
|
||||
}
|
||||
exit;
|
||||
}
|
||||
} else {
|
||||
// 理论不会到达,但为防止意外(例如上游返回结构变化),兜底提示,避免白屏
|
||||
cao_wp_die('微信登录失败', '授权返回数据不完整,请重新尝试登录。');
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"title": "大鱼调色 1.22.1 公测版|在线 LUT 自动预览与统一分类",
|
||||
"content": "<!-- wp:paragraph -->\n<p>大鱼调色是适用于 Final Cut Pro 和 Motion 的原生 FxPlug 4 调色插件。1.22.1(构建 133)支持打开浏览器自动批量预览在线 LUT,将在线与本地目录放在同一分类栏,点击在线 LUT 即可安装到对应本地分类并应用。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>本文主下载已更新为 1.22.1(构建 133)。同一个 PKG 已包含“大鱼调色”整合效果和全部 16 个独立模块效果,以及所需的完整主 App,无需另外下载安装独立模块。</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>官方原始安装包不加密,不限制安装数量。</strong> 插件安装和本地调色无需登录、激活码或机器码。在线 LUT 需要登录大鱼账号并具备访问权限。原始 PKG 可以原样转发,请保持安装包完整。禁止二次加密或加上一机一码后分发。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.22.1 在线 LUT 自动预览与统一分类</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>打开浏览器即可批量查看在线效果。</strong> 浏览器自动使用当前缓存帧,加载当前页在线 LUT 的效果缩略图,无需逐个点击预览。如果首次打开还没有缓存帧,会在获得首帧后自动补载。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>在线与本地共用分类栏。</strong> “在线 LUT”总分类下列出在线子分类;本地文件夹支持二级及更深层级,可展开或折叠,方便按用途整理。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>点击在线 LUT 后安装并应用。</strong> 文件校验通过后保存到本地对应分类,可在“已安装 LUT / 对应分类”中找到并离线使用。重复安装会复用已有文件,在线预载失败也不影响本地 LUT 操作。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>在线预览会将当前缓存帧的 PNG 缩略图发送到 dayu.media,最长边为 640 像素,用于批量生成效果图。服务器仅在内存处理,不保存预览帧,不上传视频文件。同一次打开期间,移动播放头不会连续上传;需要换用其他画面时点击“更新预览”。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>本次正式版已在 Final Cut Pro 12.4 验证自动预览、点击安装应用、原图划像和播放。APP 与 PKG 均已完成正式签名和 Apple 公证;Motion 本轮未复测。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.22.0 在线 LUT 资源库</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>1.22.0 首次加入大鱼在线 LUT 目录、分类搜索与下载安装,并提供主 App 账号识别和微信登录入口。1.22.1 在此基础上完善自动预览、统一分类和本地层级目录。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.8 多层调色与拖动优化</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>多层调色减少 GPU 等待。几何蒙版省去多余的色彩转换,羽化与部分覆盖继续按原方式混合。在 Apple M4 的插件单帧渲染测试中,4K 曝光加 HSL 蒙版由 87.7 毫秒降到 75.0 毫秒,一级 CST 加蒙版由 49.5 毫秒降到 42.8 毫秒。128 帧对照输出逐字节一致。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>从 1.21.6 升级后,蜘蛛盘、曲线、一级白平衡轮和颜色分级轮会合并拖动中的参数写入。松手提交最终值,每次拖动可一次撤销。曲线和两种色轮已在 Final Cut Pro 12.4 工作台验证。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.6 LUT 浏览器更新</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>点击已生成的缩略图时,右侧划像直接复用这张图,左侧原图和列表缩略图继续显示。移动播放头后,新预览在后台生成,就绪后再替换。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>缩略图和划像按源帧比例显示,竖屏、方形和宽画幅都能保留原构图。同一次打开期间,点选 LUT 时列表顺序保持稳定。重新打开浏览器后,最近成功应用的 LUT 会排到前面。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.3 高清 LUT 预览与划像对比</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>打开“风格 LUT”的缩略图浏览库,勾选底部的“高清预览”。缩略图从 640×360 源帧生成双倍像素图,重开浏览器时会记住此设置。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>选中一个 LUT 后,右侧大图显示同一帧。左侧是应用当前 LUT 前的画面,右侧是 100% LUT 效果。拖动分界线或下方滑杆,即可查看画面细节和颜色差异Line truncated
|
||||
"excerpt": "大鱼调色 1.22.1(构建 133)支持打开浏览器自动批量预览在线 LUT,在线与本地共用分类栏,点击即可安装并应用;本地目录支持二级及更深分类。已签名公证,包含整合效果和 16 个独立模块。",
|
||||
"seo": {
|
||||
"title": {
|
||||
"value": "大鱼调色 1.22.1 公测版|在线 LUT 自动预览与统一分类"
|
||||
},
|
||||
"description": {
|
||||
"value": "大鱼调色 1.22.1 适用于 Final Cut Pro 和 Motion,支持自动批量预览在线 LUT、在线与本地统一分类、点击安装应用及本地二级目录。已签名公证的 PKG 包含完整主 App、整合效果及 16 个独立模块。"
|
||||
},
|
||||
"keywords": {
|
||||
"value": "大鱼调色,Final Cut Pro,Motion,FxPlug4,调色插件,LUT,高清缩略图,划像对比,局部马赛克,蒙版追踪,Vision,在线LUT,自动预览,LUT分类"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"resource": {
|
||||
"cao_original_filename": "大鱼调色-1.22.1.pkg"
|
||||
}
|
||||
}
|
||||
+12
-1
@@ -144,7 +144,18 @@ def main():
|
||||
appearance=dict(title="大鱼调色", subtitle="适用于 Final Cut Pro 与 Motion 的原生调色效果",
|
||||
badgeImage=str(ROOT / "design/dayu-color-app-icon-v1.png"), authorContact="https://dayu.media"),
|
||||
pages=dict(welcome="安装大鱼调色 " + version + ",包含原生 FxPlug 调色插件和 Final Cut Pro 效果入口。",
|
||||
readme="系统要求:macOS 14.6 或更高版本。本发行构建适用于 Apple Silicon Mac。\n\n安装内容:\n/Library/Plug-Ins/FxPlug/大鱼调色.app\n登录用户“影片/Motion Templates/Effects/大鱼调色”中的效果模板与预览图。\n\n重新打开 Final Cut Pro 后,在“效果 → 大鱼调色”中应用;Motion 中可选择原生滤镜。\n本安装包不包含用户自选 LUT、预设或媒体文件。\n\n公测诊断默认开启,可在主 APP 关闭。仅发送版本、系统环境、阶段耗时、资源使用与本产品崩溃/卡顿调用栈摘要到 dayu.media;不发送素材、预设或账号,保留30天。在线 LUT 在主 APP 启动时自动识别本机已绑定的大鱼账号;未绑定时可微信登录。有效会员或购买文章 14421 / 15792 可使用全部已发布在线 LUT。插件内点击“预览当前帧”时,单独发送当前帧缩略图到 dayu.media 用于在线效果预览;服务器内存处理,不保存预览帧,不上传视频文件。主 APP 启动时检查更新,新版由用户确认安装。",
|
||||
readme=(
|
||||
'系统要求:macOS 14.6 或更高版本。本发行构建适用于 Apple Silicon Mac。\n'
|
||||
'\n'
|
||||
'安装内容:\n'
|
||||
'/Library/Plug-Ins/FxPlug/大鱼调色.app\n'
|
||||
'登录用户“影片/Motion Templates/Effects/大鱼调色”中的效果模板与预览图。\n'
|
||||
'\n'
|
||||
'重新打开 Final Cut Pro 后,在“效果 → 大鱼调色”中应用;Motion 中可选择原生滤镜。\n'
|
||||
'本安装包不包含用户自选 LUT、预设或媒体文件。\n'
|
||||
'\n'
|
||||
'公测诊断默认开启,可在主 APP 关闭。仅发送版本、系统环境、阶段耗时、资源使用与本产品崩溃/卡顿调用栈摘要到 dayu.media;不发送素材、预设或账号,保留30天。在线 LUT 在主 APP 启动时自动识别本机已绑定的大鱼账号;未绑定时可微信登录。有效会员或购买文章 14421 / 15792 可使用全部已发布在线 LUT。打开插件 LUT 浏览器时,自动发送当前缓存帧缩略图到 dayu.media 并批量生成在线预览;服务器内存处理,不保存预览帧,不上传视频文件。在线与本地分类统一显示,点击在线 LUT 后安装到本地对应分类并应用,可供离线使用。主 APP 启动时检查更新,新版由用户确认安装。'
|
||||
),
|
||||
license="", conclusion="大鱼调色已安装。主 APP 自动注册插件,成功后保持运行。关闭窗口仍在后台收集已开启的诊断;菜单栏可重新打开或退出。请重开宿主并实际检查效果。"))
|
||||
manifest_path = CACHE / "dayu-color-package-manifest.json"
|
||||
manifest_path.write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + "\n")
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# 大鱼调色 1.22.1(133)
|
||||
|
||||
打开 LUT 浏览器即可批量预览在线效果,在线与本地共用分类栏,点击即可安装并应用。
|
||||
|
||||
- 打开 LUT 浏览器时自动使用当前缓存帧,批量加载当前页在线 LUT 的效果预览;保留“更新预览”按钮。首次没有缓存帧时自动等待首帧,播放过程中不持续上传。
|
||||
- 在线与本地合并到同一分类栏。“在线 LUT”总分类包含在线子分类;本地文件夹支持二级及更深层级,可展开或折叠。
|
||||
- 点击在线 LUT 后,校验下载并安装到本地“已安装 LUT / 对应分类”,随后应用到当前风格层,供离线使用。重复安装相同文件会复用已有副本。
|
||||
- 后台预载失败不影响本地 LUT 与文件夹操作;在线预览并发限制为 2,切换分类与滚动时复用已生成图像。
|
||||
|
||||
适用于 Apple Silicon Mac,macOS 14.6 或更高版本;Final Cut Pro / Motion 原生 FxPlug 4。
|
||||
打开浏览器时发送当前缓存帧的 PNG 缩略图到 dayu.media 用于在线预览,最长边 640;服务器内存处理,不保存帧、不上传视频文件。在线权限规则保持不变。
|
||||
|
||||
验证:68 项在线与分类合约、40 项本地浏览器回归、1,028 项正式安装自检及 FCP 12.4 自动预览、安装应用、划像与播放通过。APP 和 PKG 均已通过 Apple 公证、票据及系统安全检查,安装包20项展开检查通过。Motion 未复测;本轮验收使用独立正式安装的 APP,未再次运行本 PKG 的系统安装脚本。
|
||||
|
||||
安装包:`大鱼调色-1.22.1.pkg`,44,557,648 字节。
|
||||
SHA-256:`a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663`
|
||||
实际 APP 编译提交:`7f833757da243f2a4610c23c36ec278b44c80ad4`。
|
||||
|
||||
正式安装位置:`/Library/Plug-Ins/FxPlug/大鱼调色.app`。安装前保存工作并正常退出 Final Cut Pro / Motion 和大鱼调色。
|
||||
+14
-2
@@ -1,6 +1,16 @@
|
||||
# 2026-11-11 统一 LUT 浏览器 1.22.1(133)
|
||||
|
||||
唯一正式安装 `/Library/Plug-Ins/FxPlug/大鱼调色.app` 已替换 Debug:Release 1.22.1(133),APP 公证 `ae55bcd2-d131-4ef2-8733-405e28d92f7e` Accepted,签名/票据/Gatekeeper、1,028 项正式安装自检及 FCP 12.4 自动在线预览、分类安装、对比与播放通过。临时 Debug 及旧 131 回滚副本已清理;用户 LUT 与既有合成验收库保留。Motion 未复测。[安装](verification/Delivery1.22.1.json) · [宿主](verification/HostUnifiedLUT1.22.1.json) · [清理](verification/Cleanup1.22.1.json)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,main。实际编译节点 `7f833757da243f2a4610c23c36ec278b44c80ad4`,独立 HTTPS 检出核对921个跟踪文件。克隆后 `git switch --detach 7f833757da243f2a4610c23c36ec278b44c80ad4` 恢复 APP 源码;工具用 main 最新交付记录。Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+ 与锁定 ColorManagement 依赖。通过 `tools/deliver.py` 构建和正式安装,验收后 `Packaging/build_pkg.py` 制包。主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 B3W25FX5H5;证书、私钥、公证 profile 和 Git 账号独立恢复。
|
||||
|
||||
此前代理导致 S3 分片上传失败;用户授权仅 Apple 上传地址临时直连并恢复,原 Release 完整上传并获 Accepted,原代理完整字节和实际系统状态已恢复。详见 [公证记录](verification/UnifiedLUTNotaryResubmission133.json)。PKG 公证 `b1f73787-263b-47d7-b126-68d858437594` Accepted,20项验包通过;最终包44,557,648字节,SHA-256 `a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663`。[验包](verification/Package1.22.1.json)。发行标签 `v1.22.1-unified-luts-20261111` 指向 `cdf23fb4fd1863867945e528ae060522d566b457`,已远端核验。独立HTTPS检出逐字节核对939个文件、255个APP构建输入与实际编译节点一致,Git完整性通过,无LFS/子模块。[恢复核验](verification/Recovery1.22.1.json)。[Release431](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.1-unified-luts-20261111) 附件70的草稿及发布后完整下载均匹配44,557,648字节与上述SHA-256,[下载记录](verification/Release1.22.1.json)。当前包保留在 `/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg`,临时下载、恢复检出和本轮生成APP均已清理。2026-11-12按用户要求仅更新文章15792的下载链接与原文件名至1.22.1(133),WordPress附件15979,新包已完整下载并核对签名、公证票据、44,557,648字节与上述SHA-256。随后同步1.22.1标题、摘要、正文更新记录、安装说明与SEO,并补齐1.22.0在线LUT记录;已完成认证回读、普通及新请求的前台核验。价格、会员权限和历史图片保留。[文章内容验证](verification/Article1.22.1.json) · [文章链接验证](verification/ArticleLink1.22.1.json)。主APP更新通道未改,仍1.21.8(126);无服务器源码部署。[当前交接](开发交接.md)
|
||||
|
||||
---
|
||||
|
||||
# 2026-11-11 在线 LUT 1.22.0(131)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。APP 实际编译提交 `d979f8958caf36cc7b97ea838960c69f7fbb4d91`;从独立 HTTPS 检出编译,254 个应用/模板/色彩管理文件和已提交工程基线逐字节一致。正式后端另包含 188553a61313674628d9faf6f9e2962b5cdebe42 的 SQL 编号序列化修正。发行标签计划 `v1.22.0-online-luts-20261111`,完整发行提交和附件校验在发布后补充。 PKG 公证 `bfb54c49-b563-4420-9e9b-2319e1565420` Accepted,20 项验包及载荷权限检查通过。PKG 44557321 字节,SHA-256 `82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd`。
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。APP 实际编译提交 `d979f8958caf36cc7b97ea838960c69f7fbb4d91`;从独立 HTTPS 检出编译,254 个应用/模板/色彩管理文件和已提交工程基线逐字节一致。正式后端另包含 188553a61313674628d9faf6f9e2962b5cdebe42 的 SQL 编号序列化修正。发行标签 `v1.22.0-online-luts-20261111` 指向完整提交 `31d1089264e10469bececa7b27b3bcd06a7eb445`;独立远端检出核对 911 个跟踪文件、无 LFS/子模块,Git 完整性通过,APP 构建输入与实际编译节点一致。 PKG 公证 `bfb54c49-b563-4420-9e9b-2319e1565420` Accepted,20 项验包及载荷权限检查通过。PKG 44557321 字节,SHA-256 `82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd`。
|
||||
|
||||
新机器恢复 Git 登录后克隆,以 `git switch --detach d979f8958caf36cc7b97ea838960c69f7fbb4d91` 取回实际编译源码;恢复线上后端使用最终发行标签。使用 Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+ 和锁定的 ColorManagement 依赖;运行 `tools/deliver.py`,保持交付锁直到正式安装后的宿主验收,再输入 `complete`。从验收后的 APP 运行 `Packaging/build_pkg.py`。主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 B3W25FX5H5,唯一安装 `/Library/Plug-Ins/FxPlug/大鱼调色.app`。证书私钥、公证 profile、Git 凭据独立恢复;用户会话重新识别/登录,不进 Git。
|
||||
|
||||
@@ -8,7 +18,9 @@ APP 公证 `1e57ee70-d099-4942-91fd-29a2d5f47a44` Accepted,1,028 项正式安
|
||||
|
||||
后端源码 `Backend/wp-content/mu-plugins/`,本机镜像 `/Users/mac/Downloads/dayumedia/dayu-color-beta`,生产根 `/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media`。保持两个相对路径:`wp-content/mu-plugins/dayu-color-online-luts.php` 和 `wp-content/mu-plugins/dayu-color-online-luts/renderer.php`。按 `Backend/deploy_online_luts.py` 核对挂载、基线与原目录旁路备份后部署,不能直接在 SMB 源上编辑。依赖现有 WordPress 的 `app_device_login`、JWT 校验、扫码登录、统一设备绑定、会员/支付记录与 LUT 材料库;本仓库不复制完整站点、用户数据库或密钥,恢复服务还需站点独立安全备份。客户端只使用硬件 UUID,随机会话令牌与设备标识分开。
|
||||
|
||||
[安装](verification/Delivery1.22.0.json) · [宿主](verification/HostOnlineLUT1.22.0.json) · [部署与备份](verification/OnlineLUTDeployment.json) · [硬件登录实测](verification/OnlineLUTHardwareLoginLive.json) · [专项](research/OnlineLUTIntegration-20261111.md) · [交接](开发交接.md)。文章 15792 与主 APP 更新通道仍为 1.21.8(126),本轮未更改。
|
||||
Release **428** 的 PKG 附件 **69** 已发布,草稿和发布后的完整下载均匹配 44,557,321 字节与 SHA-256。保留唯一当前发行包 `/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg`;本轮恢复检出、浏览器下载副本、参考仓库检出、合成验收库及旧版生成备份已清理。
|
||||
|
||||
[Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.0-online-luts-20261111) · [下载校验](verification/Release1.22.0.json) · [远端恢复](verification/Recovery1.22.0.json) · [安装](verification/Delivery1.22.0.json) · [宿主](verification/HostOnlineLUT1.22.0.json) · [部署与备份](verification/OnlineLUTDeployment.json) · [硬件登录实测](verification/OnlineLUTHardwareLoginLive.json) · [专项](research/OnlineLUTIntegration-20261111.md) · [交接](开发交接.md)。文章 15792 与主 APP 更新通道仍为 1.21.8(126),本轮未更改。
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# 微信登录修复上线前历史
|
||||
|
||||
以下为历史记录,现状以项目开发交接为准。
|
||||
|
||||
### 2026-11-13 本会话部署接续(进行中)
|
||||
|
||||
用户明确要求读取交接并上线微信登录修复,部署授权继续有效。已验证当前 SMB 可列举、新建、重命名和删除本轮空测试目录;两个目标目录及 Git 锁目录现均可写,远端 main 可回读,未修改 NAS 权限。生产两文件仍与原始基线一致。67 项隔离检查和部署审阅再次通过;仅部署下列两个 PHP 文件,保留现有 Xcode 工程排序差异。真实 NAS 权限分别为 UID/GID 1000:1001、callback.php 0705、online-luts.php 0700;正式替换须保留这些权限及现有扩展属性,不能以 SMB 的合成 0700 显示推断原始权限。先保存修复检查点,再部署并核验运行端。
|
||||
|
||||
### 2026-11-13 报错复核
|
||||
|
||||
用户继续反馈“未检测到本次微信OAuth确认”。已读取最新生产回调及诊断:北京时间 00:01:52 和 00:03:09 的两次新尝试均由 `oauth_proof_not_written` 进入 `wechat_oauth_proof_required`;生产回调名单仍缺 `DayuColor`。两文件 SHA-256 仍与上轮旧生产基线一致,修复尚未上线。NAS 目标和 Git 锁目录仍不可写,未尝试绕过权限;本轮无实现改动,未重复执行已通过的 67 项检查。复核记录已追加至 [验证报告](verification/WeChatLoginFix.json),交接未能提交/推送的原因沿用下节。下一步仍是开放目录写权限及联网后保存并部署两文件,随后在 APP 发起新扫码,已拒绝的旧会话不能用于验收。
|
||||
|
||||
用户随后明确“授权并部署”,部署授权持续有效,**无需再次请求用户同意部署**。已重新执行部署预检,67 项检查通过,生产摘要仍等于旧基线;实际执行 `python3 Backend/deploy_wechat_login.py --apply`,在任何生产写入前由 `check_mount()` 返回 `AssertionError: 目标共享不可写`,退出码 1。Git 锁目录仍不可写,`git ls-remote` 仍报 `Could not resolve host: dayu.media`。未生成生产备份、未部署、未提交或推送;需要改变会话的实际目录/网络权限配置,聊天中的同意未改变这些系统权限。权限生效后直接继续提交、部署与线上核验,不再询问是否授权。
|
||||
|
||||
用户提供截图确认客户端“完整访问权限”已开启。只读检查 `/Users/mac/.codex/config.toml` 同样为 `sandbox_mode = "danger-full-access"`、`approval_policy = "never"`。当前命令进程 UID 501;本机 Git 锁目录属 UID 501/0755,NAS 两个目标父目录属 UID 501/0700,挂载参数没有 `read-only` 标志,但当前调用对三个目录的 `os.access(W_OK)` 均为 false,Git 请求仍无法解析域名。结论是客户端显示/本地配置与当前调用的实际执行限制不一致,具体未生效原因尚未确认;此前将其描述为 NAS 只读不准确,不应让用户继续重复授权或改 NAS 权限。尚未部署,授权持续有效。[诊断证据](verification/WeChatLoginFix.json)
|
||||
|
||||
用户授权使用指定账号资料通过 NAS SSH 检查并修复权限。已安全读取资料(仅账号/密码两行,没有端口字段),未输出凭据;先以默认 22 端口执行无密码、严格主机密钥校验的 `BatchMode` 连接检查,请求只读 `id`。结果为 `ssh: connect to host 192.168.31.21 port 22: Operation not permitted`,退出码 255,在账号验证之前即本地拒绝;没有发送密码、执行远端命令或修改 NAS 权限。直接局域网 IP 的 SSH 同样受限,进一步确认当前阻塞在本地执行环境。未验证 SSH 账号有效性或实际服务端口,不将猜测当作 NAS 配置事实。仍未提交/推送/部署;权限恢复后沿用已有部署授权继续,服务端权限只在获得实际异常证据后做最小修复。
|
||||
|
||||
后续用户提供 NAS SSH 设置截图,现已确认服务开关开启、实际端口 22、`dayu` 管理员允许 SSH 登录;这补齐上一条的端口配置证据,未证明当前命令执行环境已放行或账号已通过认证。既有 SSH 错误仍为连接阶段的 `Operation not permitted`,不应让用户继续修改 NAS SSH 开关或盲目调整目录权限。未重复同一受限连接,未更改服务端;可由用户在 Mac 系统终端执行 `ssh -p 22 dayu@192.168.31.21`,独立区分系统终端可达性与当前会话限制。部署和 Git 状态保持未完成。
|
||||
|
||||
## 2026-11-12 微信首次登录修复:本地通过,待部署
|
||||
|
||||
用户反馈“微信登录还是有问题,特别是没有绑定 UUID 的用户”。已核对 `main`、远程和正式安装 1.22.1(133);工程已有的 Security 引用排序差异未修改。基线提交 `8c2f226d4369d5117ec626c20a05543be95143c5`。
|
||||
|
||||
根因是生产主题 `wp-content/themes/ripro5/inc/oauth/weixin/callback.php` 的本次 OAuth 证明应用名单缺少 `DayuColor`。现有日志中 13 次大鱼调色扫码均为 `oauth_proof_not_written`,12 次明确以 `wechat_oauth_proof_required` 拒绝;现有硬件自动登录不会走此入口。另一个问题是在线 LUT 会话接口把 `denied` 当 HTTP 200 返回,1.22.1 客户端因此继续等待到十分钟超时。
|
||||
|
||||
已从生产逐字节保存这两个文件的基线;本地 `Backend/` 补入主题回调有范围副本,只增加 `DayuColor`;在线 LUT 会话对 `denied`/`expired` 返回现有客户端可终止轮询的 HTTP 401 和原失败原因。UUID、账号、有效期、一次性兑换及权限校验保留。APP 二进制、正式安装、PKG、Release、文章与更新通道均未改。
|
||||
|
||||
17 项实际主题回调隔离检查与 50 项在线接口检查通过;在旧生产基线上,新增回归分别重现缺失证明和失败后不终止的问题。PHP 语法、Python AST、部署预检通过。[基线](verification/WeChatLoginBaseline.json) · [完整验证与范围](verification/WeChatLoginFix.json)。这是使用合成 OAuth/账号的本地检查,尚未做真实未绑定账号扫码验收。
|
||||
|
||||
**尚未上线,未提交、未推送本轮改动。** 本会话生产 NAS 两个目标父目录均不可写;按现有 `tools/checkpoint.py` 保存基线时,创建 `/Users/mac/.codex/git-backup-locks/` 下的仓库锁得到 `Operation not permitted`,在暂存/提交前已退出。只读远端回读也因 `Could not resolve host: dayu.media` 失败;需要恢复本会话联网。生产 SHA-256 复核仍等于旧基线,没有创建生产旁路备份或修改用户绑定。最终 `git diff --check` 通过。
|
||||
|
||||
接手第一步:为本会话开放上述 NAS 生产目标与 Git 锁目录写权限,复核最新生产基线;仅暂存本轮相关文件,通过 `tools/checkpoint.py` 提交、推送并回读。执行 `python3 Backend/deploy_wechat_login.py` 审阅,再执行同命令加 `--apply` 部署;脚本限定两文件、要求提交与远端一致、逐文件原目录旁路备份和 SHA-256 核对。此范围使用仓库 `Backend/` 为本机专项工程,不覆盖下载目录旧镜像。上线后由真实未绑定 UUID 账号重新发起扫码,核对 `oauth_proof_written → oauth_proof_check → session_approved`、新增设备绑定及 APP 在线权限;另复核设备冲突/数量上限的错误及时结束等待。现有 1.22.1 客户端无需更新。
|
||||
|
||||
@@ -49,3 +49,7 @@ UUID 恢复的生产接口实测通过:识别本机已有绑定,复用共享
|
||||
APP 公证 `1e57ee70-d099-4942-91fd-29a2d5f47a44` Accepted,实际编译提交 d979f8958caf36cc7b97ea838960c69f7fbb4d91。正式安装主 APP 自动硬件登录、退出保持和刷新恢复通过;FCP 共享钥匙串后列出 1,233 项/17 分类。现场修正 PHP 临时数组遍历未将 SQL 字符串编号/大小转换到返回数组的问题,新增合约使总数44项。部署后网格与服务器当前帧预览实际显示,下载653号 01冰- 并应用到宿主,右侧原图/云端效果划像正常,播放通过后正常退出。只上传合成色卡,不含用户素材。新机首次微信 OAuth 和 Motion 未验收。详见最终宿主报告。
|
||||
|
||||
最终 131 PKG 公证 `bfb54c49-b563-4420-9e9b-2319e1565420` Accepted,票据、Gatekeeper、20 项验包通过。大小 44557321,SHA-256 82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd。修正后的生产全目录再次核对21页,1,233项均符合原生编号/大小及摘要字段规则。旧130临时PKG与131合成验收库已清理;正式浏览器下载的有效LUT保留供离线使用。
|
||||
|
||||
## 发行与收尾
|
||||
|
||||
Release428/附件69 已发布,标签 v1.22.0-online-luts-20261111 指向 31d1089264e10469bececa7b27b3bcd06a7eb445。草稿用正常登录网站会话完整下载,核对 44,557,321 字节和 SHA-256 后才发布;随后上传器复用同一附件,正式地址再次完整下载核对并回读成功。仓库原有公开属性保持,未改站点文章或 beta 更新清单。独立远端恢复核对发行节点911个跟踪文件和 Git 完整性,APP/模板/色彩输入与实际编译节点一致,无LFS/子模块。临时恢复、参考检出、草稿下载及已知生成备份已清理,正式安装和当前发行包保留;下载的有效 LUT 保留离线使用。
|
||||
@@ -0,0 +1,16 @@
|
||||
# 1.22.0(131)交接快照
|
||||
|
||||
## 1.22.0(131)在线 LUT
|
||||
|
||||
已接入主 APP 硬件 UUID 账号识别、微信登录回退、在线分类/搜索/分页、校验下载及手动当前帧在线预览。有效会员,或购买文章 **14421 / 15792 任意一个**的账号,可浏览全部已发布在线 LUT;每次请求由服务端复核设备绑定与权益。本地调色保持离线可用。点击“预览当前帧”才上传最长边 640 的 PNG 缩略图到 dayu.media,服务器内存处理,不保存帧;移动播放头不会自动上传。
|
||||
|
||||
两个 MU 后端文件已按 NAS 生产基线流程部署。44 项后端合约、46 项原生在线浏览器合约、40 项本地浏览器回归、6 项线上未授权检查和既有更新接口检查通过。最终正式 APP 的签名、票据、Gatekeeper、1,028 项正式安装检查、17 套模板及 PluginKit 唯一路径通过。
|
||||
|
||||
已从唯一正式路径启动 **1.22.0(131)**,APP 公证 `1e57ee70-d099-4942-91fd-29a2d5f47a44` Accepted;实际编译为独立远端检出的 `d979f8958caf36cc7b97ea838960c69f7fbb4d91`。主 APP 自动识别 macOS 硬件 UUID 绑定账号,退出保持退出,刷新恢复通过。FCP 12.4 独立合成色卡验证共享登录、1,233 个 LUT/17 分类、云端当前帧缩略图、下载应用、原图划像和 2:01→3:24 播放,宿主正常退出。主 APP 留在已登录可用状态。只上传合成色卡,未上传用户素材。真实接口另核对全部 21 页、搜索、分类与下载摘要。
|
||||
|
||||
现场发现 SQL 编号/大小以字符串输出导致空网格,已在后端修正,44 项 PHP 合约覆盖,并在正式 FCP 重新验收通过。新机未绑定时的微信 OAuth 首次扫码和 Motion 宿主未实测。130 的 APP/PKG 曾通过验证但未发行,现已被 131 取代。最终 PKG 已完成 Installer 签名、公证 `bfb54c49-b563-4420-9e9b-2319e1565420`、票据与 Gatekeeper 验证,20 项验包通过;大小 44557321 字节,SHA-256 `82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd`。Release **428** 已发布,附件 **69** 完整下载通过;标签 `v1.22.0-online-luts-20261111` 指向 `31d1089264e10469bececa7b27b3bcd06a7eb445`。独立远端恢复逐字节核对 911 个跟踪文件和 Git 完整性,APP 构建输入与实际编译提交一致。
|
||||
|
||||
[专项实现和生产映射](research/OnlineLUTIntegration-20261111.md) · [部署](verification/OnlineLUTDeployment.json) · [安装](verification/Delivery1.22.0.json) · [宿主范围](verification/HostOnlineLUT1.22.0.json) · [构建恢复](verification/OnlineLUTBuildRecovery.json)。127/128/129/130 为未发行候选,其诊断证据保留;最终 131 验证后已清理已知替换备份。工程文件既有的 Security 引用排序差异保留,不纳入本任务提交。站点文章和更新通道暂仍为 1.21.8(126),本轮没有改动它们。
|
||||
|
||||
[Release 及下载](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.0-online-luts-20261111) · [发行校验](verification/Release1.22.0.json) · [验包](verification/Package1.22.0.json) · [独立恢复](verification/Recovery1.22.0.json)。本轮合成验收库、恢复检出、参考检出、下载副本和旧版生成备份已清理;正式浏览器下载的一个有效 LUT 保留供离线使用。
|
||||
|
||||
+68
-27
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Single-install Release delivery; keeps a product lock through host acceptance."""
|
||||
from pathlib import Path
|
||||
import subprocess,os,json,shutil,plistlib,uuid,sys,datetime,hashlib,time
|
||||
import subprocess,os,json,shutil,plistlib,uuid,sys,datetime,hashlib,time,argparse,tempfile,re
|
||||
from template_payload import template_files
|
||||
ROOT=Path(__file__).resolve().parent.parent
|
||||
CACHE=Path('/Users/mac/Library/Caches/CodexBuilds/com.dayu.color')
|
||||
@@ -84,7 +84,43 @@ def write_template_file(target,data,mode,flags):
|
||||
finally:
|
||||
temp.unlink(missing_ok=True)
|
||||
|
||||
def resume_notary(submission,archive,expected_hash,source):
|
||||
if not re.fullmatch(r'[0-9a-f]{40}',source or ''):raise RuntimeError('恢复须提供原始完整编译提交')
|
||||
if not re.fullmatch(r'[0-9a-f]{64}',expected_hash or '') or hashlib.sha256(archive.read_bytes()).hexdigest()!=expected_hash:raise RuntimeError('公证提交 ZIP 摘要不匹配,停止恢复')
|
||||
run('git','cat-file','-e',source+'^{commit}');identity(APP,'com.dayu.color');run('codesign','--verify','--deep','--strict',str(APP))
|
||||
# Validate the exact submitted bundle, including symlinks; never rebuild or re-sign.
|
||||
with tempfile.TemporaryDirectory(prefix='notary-resume-',dir=CACHE) as scratch:
|
||||
run('ditto','-x','-k',str(archive),scratch)
|
||||
submitted=Path(scratch)/APP.name;identity(submitted,'com.dayu.color')
|
||||
live={str(p.relative_to(APP)) for p in APP.rglob('*')};saved={str(p.relative_to(submitted)) for p in submitted.rglob('*')}
|
||||
if live!=saved:raise RuntimeError('待安装 APP 与已提交 ZIP 内容清单不同')
|
||||
for relative in live:
|
||||
a=APP/relative;b=submitted/relative
|
||||
if a.is_symlink() or b.is_symlink():same=a.is_symlink() and b.is_symlink() and os.readlink(a)==os.readlink(b)
|
||||
elif a.is_dir() or b.is_dir():same=a.is_dir() and b.is_dir()
|
||||
else:same=a.read_bytes()==b.read_bytes()
|
||||
if not same:raise RuntimeError('待安装 APP 与已提交 ZIP 不一致:'+relative)
|
||||
unregister(submitted/PLUGIN)
|
||||
preflight=json.loads((CACHE/'release-preflight.json').read_text())
|
||||
if not preflight.get('pass'):raise RuntimeError('缺少通过的原始发布前检查')
|
||||
print('Exact submitted APP verified; querying original Apple submission '+submission,flush=True)
|
||||
failures=0
|
||||
while True:
|
||||
try:
|
||||
result=json.loads(run('xcrun','notarytool','info',submission,'--keychain-profile',PROFILE,'--keychain',KEYCHAIN,'--output-format','json'));failures=0
|
||||
except subprocess.CalledProcessError:
|
||||
failures+=1
|
||||
if failures>=3:raise RuntimeError('连续三次无法读取 Apple 公证状态;产物保留,可继续原提交恢复')
|
||||
time.sleep(15);continue
|
||||
if result.get('id')!=submission:raise RuntimeError('公证编号不匹配')
|
||||
if result.get('status')!='In Progress':return result
|
||||
time.sleep(15)
|
||||
|
||||
def main():
|
||||
parser=argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('--resume-notary');parser.add_argument('--submitted-zip-sha256');parser.add_argument('--compiled-source')
|
||||
args=parser.parse_args()
|
||||
if not args.resume_notary and (args.submitted_zip_sha256 or args.compiled_source):parser.error('摘要与编译提交仅用于恢复原公证提交')
|
||||
hosts_closed();CACHE.mkdir(parents=True,exist_ok=True);LOCK.parent.mkdir(parents=True,exist_ok=True);LOCK.mkdir()
|
||||
(LOCK/'owner.json').write_text(json.dumps(dict(PID=os.getpid(),cwd=str(ROOT),product='大鱼调色',started=datetime.datetime.now(datetime.timezone.utc).isoformat())))
|
||||
old=None;stage=None
|
||||
@@ -92,32 +128,37 @@ def main():
|
||||
ids=run('security','find-identity','-v','-p','codesigning')
|
||||
if IDENTITY not in ids:raise RuntimeError('有效发布证书或私钥不可用')
|
||||
if any(l.endswith('/Contents/MacOS/大鱼调色') for l in run('ps','-axo','comm=').splitlines()):raise RuntimeError('请先正常退出当前大鱼调色窗口')
|
||||
print('Building final Release',flush=True)
|
||||
run('xcodebuild','-project','大鱼调色.xcodeproj','-scheme','Wrapper Application','-configuration','Release','-enableAddressSanitizer','NO','-derivedDataPath',str(CACHE/'DerivedData'),'clean','build',log=CACHE/'release-build.log')
|
||||
for source,bundled,_ in template_files():
|
||||
target=APP/BUNDLED_TEMPLATES/bundled
|
||||
target.parent.mkdir(parents=True,exist_ok=True)
|
||||
shutil.copyfile(ROOT/'template'/source,target)
|
||||
target.chmod(0o644)
|
||||
# Sources on exFAT can be exposed as owner-only. Installer changes ownership to root.
|
||||
(APP/'Contents/Resources/Basis_balanceWheel.png').chmod(0o644)
|
||||
identity(APP,'com.dayu.color');plugin=APP/PLUGIN;identity(plugin,'com.dayu.color.XPC')
|
||||
# Xcode registers its build product with Launch Services. Keep the host from
|
||||
# discovering this generated copy while signing/notarization are pending.
|
||||
unregister(plugin);unregister(LOOSE)
|
||||
for name in ['FxPlug','PluginManager']:run('codesign','--force','--timestamp','--options','runtime','--sign',IDENTITY,str(plugin/'Contents/Frameworks'/(name+'.framework')))
|
||||
run('codesign','--force','--timestamp','--options','runtime','--sign',IDENTITY,str(plugin))
|
||||
run('codesign','--force','--timestamp','--options','runtime','--entitlements',str(ROOT/'大鱼调色/Wrapper Application/SandboxEntitlements.entitlements'),'--sign',IDENTITY,str(APP))
|
||||
run('codesign','--verify','--deep','--strict',str(APP))
|
||||
details=run('codesign','-dvvv',str(APP))
|
||||
if 'TeamIdentifier=B3W25FX5H5' not in details or 'Timestamp=' not in details or 'runtime' not in details:raise RuntimeError('签名身份/时间戳/runtime未通过')
|
||||
preflight=self_test(plugin/'Contents/MacOS/大鱼调色 XPC Service',CACHE/'release-preflight.json')
|
||||
(CACHE/'release-preflight.json').write_text(json.dumps(preflight,ensure_ascii=False,indent=2)+'\n')
|
||||
if not preflight.get('pass'):raise RuntimeError('Release集成自检失败,正式旧版未替换')
|
||||
archive=CACHE/'notarization-submission.zip'
|
||||
if archive.exists():archive.unlink()
|
||||
run('ditto','-c','-k','--keepParent',str(APP),str(archive));print('Submitting signed Release to Apple',flush=True)
|
||||
result=json.loads(run('xcrun','notarytool','submit',str(archive),'--keychain-profile',PROFILE,'--keychain',KEYCHAIN,'--wait','--output-format','json'));(CACHE/'notary-result.json').write_text(json.dumps(result,indent=2))
|
||||
if args.resume_notary:
|
||||
result=resume_notary(args.resume_notary,archive,args.submitted_zip_sha256,args.compiled_source)
|
||||
(CACHE/'notary-result.json').write_text(json.dumps(result,indent=2))
|
||||
else:
|
||||
print('Building final Release',flush=True)
|
||||
run('xcodebuild','-project','大鱼调色.xcodeproj','-scheme','Wrapper Application','-configuration','Release','-enableAddressSanitizer','NO','-derivedDataPath',str(CACHE/'DerivedData'),'clean','build',log=CACHE/'release-build.log')
|
||||
for source,bundled,_ in template_files():
|
||||
target=APP/BUNDLED_TEMPLATES/bundled
|
||||
target.parent.mkdir(parents=True,exist_ok=True)
|
||||
shutil.copyfile(ROOT/'template'/source,target)
|
||||
target.chmod(0o644)
|
||||
# Sources on exFAT can be exposed as owner-only. Installer changes ownership to root.
|
||||
(APP/'Contents/Resources/Basis_balanceWheel.png').chmod(0o644)
|
||||
identity(APP,'com.dayu.color');plugin=APP/PLUGIN;identity(plugin,'com.dayu.color.XPC')
|
||||
# Xcode registers its build product with Launch Services. Keep the host from
|
||||
# discovering this generated copy while signing/notarization are pending.
|
||||
unregister(plugin);unregister(LOOSE)
|
||||
for name in ['FxPlug','PluginManager']:run('codesign','--force','--timestamp','--options','runtime','--sign',IDENTITY,str(plugin/'Contents/Frameworks'/(name+'.framework')))
|
||||
run('codesign','--force','--timestamp','--options','runtime','--sign',IDENTITY,str(plugin))
|
||||
run('codesign','--force','--timestamp','--options','runtime','--entitlements',str(ROOT/'大鱼调色/Wrapper Application/SandboxEntitlements.entitlements'),'--sign',IDENTITY,str(APP))
|
||||
run('codesign','--verify','--deep','--strict',str(APP))
|
||||
details=run('codesign','-dvvv',str(APP))
|
||||
if 'TeamIdentifier=B3W25FX5H5' not in details or 'Timestamp=' not in details or 'runtime' not in details:raise RuntimeError('签名身份/时间戳/runtime未通过')
|
||||
preflight=self_test(plugin/'Contents/MacOS/大鱼调色 XPC Service',CACHE/'release-preflight.json')
|
||||
(CACHE/'release-preflight.json').write_text(json.dumps(preflight,ensure_ascii=False,indent=2)+'\n')
|
||||
if not preflight.get('pass'):raise RuntimeError('Release集成自检失败,正式旧版未替换')
|
||||
archive=CACHE/'notarization-submission.zip'
|
||||
if archive.exists():archive.unlink()
|
||||
run('ditto','-c','-k','--keepParent',str(APP),str(archive));print('Submitting signed Release to Apple',flush=True)
|
||||
result=json.loads(run('xcrun','notarytool','submit',str(archive),'--keychain-profile',PROFILE,'--keychain',KEYCHAIN,'--wait','--output-format','json'));(CACHE/'notary-result.json').write_text(json.dumps(result,indent=2))
|
||||
if result.get('status')!='Accepted':
|
||||
if result.get('id'):run('xcrun','notarytool','log',result['id'],'--keychain-profile',PROFILE,'--keychain',KEYCHAIN,str(CACHE/'notary-rejection.json'))
|
||||
raise RuntimeError('Apple未Accepted,正式旧版未替换')
|
||||
@@ -154,7 +195,7 @@ def main():
|
||||
if entries:break
|
||||
time.sleep(.5)
|
||||
if len(entries)!=1 or not entries[0].rstrip().endswith('\t'+str(DEST/PLUGIN)):raise RuntimeError('PluginKit发现多份/错误版本: '+registry)
|
||||
record=dict(status='installed-awaiting-host-verification',path=str(DEST),bundleID='com.dayu.color',version=plistlib.loads((DEST/'Contents/Info.plist').read_bytes())['CFBundleShortVersionString'],build=plistlib.loads((DEST/'Contents/Info.plist').read_bytes())['CFBundleVersion'],team='B3W25FX5H5',notaryID=result['id'],notaryStatus=result['status'],gatekeeper=gate,sourceCommit=run('git','rev-parse','HEAD'),templatePath=str(TEMPLATE),templateSHA256=template_hashes[str(TEMPLATE.relative_to(TEMPLATE_ROOT))],installedTemplateSHA256=template_hashes,shaderSHA256=hashlib.sha256((DEST/PLUGIN/'Contents/Resources/default.metallib').read_bytes()).hexdigest())
|
||||
record=dict(status='installed-awaiting-host-verification',path=str(DEST),bundleID='com.dayu.color',version=plistlib.loads((DEST/'Contents/Info.plist').read_bytes())['CFBundleShortVersionString'],build=plistlib.loads((DEST/'Contents/Info.plist').read_bytes())['CFBundleVersion'],team='B3W25FX5H5',notaryID=result['id'],notaryStatus=result['status'],gatekeeper=gate,sourceCommit=args.compiled_source or run('git','rev-parse','HEAD'),deliveryToolCommit=run('git','rev-parse','HEAD'),templatePath=str(TEMPLATE),templateSHA256=template_hashes[str(TEMPLATE.relative_to(TEMPLATE_ROOT))],installedTemplateSHA256=template_hashes,shaderSHA256=hashlib.sha256((DEST/PLUGIN/'Contents/Resources/default.metallib').read_bytes()).hexdigest())
|
||||
if old:record['previousInstallBackup']=str(old)
|
||||
output=ROOT/'verification/Delivery.json';output.write_text(json.dumps(record,ensure_ascii=False,indent=2)+'\n')
|
||||
run('open',str(DEST));print('FORMAL_INSTALLED. Run installed self-test and host verification; type complete only after success. Type leave to preserve pending state.',flush=True)
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Explicitly authorized temporary Debug install; preserve the notarized rollback."""
|
||||
import argparse, datetime, hashlib, json, os, plistlib, shutil, subprocess, sys, uuid
|
||||
from pathlib import Path
|
||||
import deliver as delivery
|
||||
from template_payload import template_files
|
||||
|
||||
ROOT=Path(__file__).resolve().parent.parent
|
||||
CACHE=delivery.CACHE
|
||||
DEST=delivery.DEST
|
||||
PLUGIN=delivery.PLUGIN
|
||||
APP=CACHE/'DerivedData/Build/Products/Debug/大鱼调色.app'
|
||||
LOOSE=CACHE/'DerivedData/Build/Products/Debug/大鱼调色 XPC Service.pluginkit'
|
||||
|
||||
def main():
|
||||
parser=argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('--source',required=True,type=Path)
|
||||
args=parser.parse_args();source=args.source.resolve()
|
||||
commit=subprocess.check_output(['git','rev-parse','HEAD'],cwd=source,text=True).strip()
|
||||
assert not subprocess.check_output(['git','status','--porcelain','--untracked-files=no'],cwd=source), '调试编译源须为干净的可恢复节点'
|
||||
delivery.hosts_closed()
|
||||
assert not any(line.endswith('/Contents/MacOS/大鱼调色') for line in delivery.run('ps','-axo','comm=').splitlines()),'请先正常退出大鱼调色主 APP'
|
||||
lock=delivery.LOCK;lock.mkdir()
|
||||
(lock/'owner.json').write_text(json.dumps(dict(PID=os.getpid(),cwd=str(ROOT),product='大鱼调色',mode='user-authorized-debug',started=datetime.datetime.now(datetime.timezone.utc).isoformat())))
|
||||
backup=None;stage=None
|
||||
try:
|
||||
print('Building explicitly authorized Debug configuration',flush=True)
|
||||
with (CACHE/'debug-local-build.log').open('w') as log:
|
||||
subprocess.run(['xcodebuild','-project','大鱼调色.xcodeproj','-scheme','Wrapper Application','-configuration','Debug','-enableAddressSanitizer','NO','-derivedDataPath',str(CACHE/'DerivedData'),'build'],cwd=source,stdout=log,stderr=subprocess.STDOUT,check=True)
|
||||
for reference,bundled,_ in template_files():
|
||||
target=APP/delivery.BUNDLED_TEMPLATES/bundled;target.parent.mkdir(parents=True,exist_ok=True);shutil.copyfile(source/'template'/reference,target);target.chmod(0o644)
|
||||
(APP/'Contents/Resources/Basis_balanceWheel.png').chmod(0o644)
|
||||
info=plistlib.loads((APP/'Contents/Info.plist').read_bytes());info['DYLocalDebugBuild']=True;(APP/'Contents/Info.plist').write_bytes(plistlib.dumps(info))
|
||||
delivery.identity(APP,'com.dayu.color');delivery.identity(APP/PLUGIN,'com.dayu.color.XPC')
|
||||
delivery.unregister(APP/PLUGIN);delivery.unregister(LOOSE)
|
||||
for name in ['FxPlug','PluginManager']:
|
||||
delivery.run('codesign','--force','--timestamp','--options','runtime','--sign',delivery.IDENTITY,str(APP/PLUGIN/'Contents/Frameworks'/(name+'.framework')))
|
||||
delivery.run('codesign','--force','--timestamp','--options','runtime','--sign',delivery.IDENTITY,str(APP/PLUGIN))
|
||||
delivery.run('codesign','--force','--timestamp','--options','runtime','--entitlements',str(source/'大鱼调色/Wrapper Application/SandboxEntitlements.entitlements'),'--sign',delivery.IDENTITY,str(APP))
|
||||
delivery.run('codesign','--verify','--deep','--strict',str(APP))
|
||||
stage=DEST.parent/('.dayu-color-debug-stage-'+uuid.uuid4().hex+'.app');delivery.run('ditto',str(APP),str(stage))
|
||||
delivery.identity(DEST,'com.dayu.color')
|
||||
backup=DEST.parent/('.dayu-color-formal-before-debug-'+uuid.uuid4().hex+'.app');os.replace(DEST,backup);os.replace(stage,DEST);stage=None
|
||||
try:
|
||||
delivery.run('codesign','--verify','--deep','--strict',str(DEST));delivery.identity(DEST,'com.dayu.color')
|
||||
delivery.unregister(backup/PLUGIN)
|
||||
for path in [APP,LOOSE]:
|
||||
if path.exists():delivery.unregister(path/PLUGIN if path==APP else path);shutil.rmtree(path)
|
||||
delivery.run('pluginkit','-a',str(DEST/PLUGIN))
|
||||
registry=delivery.run('pluginkit','-m','-A','-D','-v','-i','com.dayu.color.XPC')
|
||||
entries=[line for line in registry.splitlines() if 'com.dayu.color.XPC(' in line]
|
||||
assert len(entries)==1 and entries[0].rstrip().endswith('\t'+str(DEST/PLUGIN)),registry
|
||||
delivery.run('open',str(DEST))
|
||||
assert str(DEST/'Contents/MacOS/大鱼调色') in delivery.run('ps','-axo','comm=').splitlines(),'调试 APP 未从固定位置启动'
|
||||
except BaseException:
|
||||
failed=DEST.parent/('.dayu-color-debug-failed-'+uuid.uuid4().hex+'.app');os.replace(DEST,failed);os.replace(backup,DEST);backup=None;delivery.run('pluginkit','-a',str(DEST/PLUGIN));raise
|
||||
record=dict(status='temporary-debug-awaiting-host-verification',authorization='User explicitly requested local Debug testing while Apple notarization is pending.',configuration='Debug',notarized=False,bundleID='com.dayu.color',version=info['CFBundleShortVersionString'],build=info['CFBundleVersion'],sourceCommit=commit,path=str(DEST),formalRollback=str(backup),pendingReleaseNotary='0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d',signatureVerified=True,pluginKitUniquePath=True,cleanup='Remove this temporary Debug APP when user testing ends or replace with the notarized Release; preserve the formal rollback until then.')
|
||||
report=ROOT/'verification/DebugDelivery1.22.1.json';report.write_text(json.dumps(record,ensure_ascii=False,indent=2)+'\n')
|
||||
print('DEBUG_INSTALLED. Verify FCP from the fixed path, then type keep to leave it for user testing.',flush=True)
|
||||
for decision in sys.stdin:
|
||||
if decision.strip()=='keep':
|
||||
record['status']='temporary-debug-installed-for-user-testing';report.write_text(json.dumps(record,ensure_ascii=False,indent=2)+'\n');break
|
||||
finally:
|
||||
if stage and stage.exists():shutil.rmtree(stage)
|
||||
(lock/'owner.json').unlink();lock.rmdir()
|
||||
|
||||
if __name__=='__main__':main()
|
||||
@@ -1,6 +1,8 @@
|
||||
#import <AppKit/AppKit.h>
|
||||
#import "../大鱼调色/Plugin/DYLUTBrowser.h"
|
||||
#import "../大鱼调色/Plugin/DYLUTLibrary.h"
|
||||
#import "../大鱼调色/Shared/DYOnlineLUT.h"
|
||||
#import <objc/runtime.h>
|
||||
@interface DYLUTBrowser (Probe)
|
||||
- (void)layoutBrowser;
|
||||
- (void)layoutChanged:(id)sender;
|
||||
@@ -10,9 +12,11 @@
|
||||
- (void)qualityChanged:(id)sender;
|
||||
@end
|
||||
static NSMutableArray *checks;
|
||||
static NSProgress *offlineFixture(id cls,SEL sel,NSString *path,NSDictionary *body,BOOL authenticated,DYOnlineLUTReply reply){NSProgress *task=[NSProgress discreteProgressWithTotalUnitCount:1];dispatch_async(dispatch_get_main_queue(),^{reply(nil,[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorNotConnectedToInternet userInfo:nil]);});return task;}
|
||||
static void require(BOOL pass,NSString *name){[checks addObject:@{@"name":name,@"pass":@(pass)}];if(!pass){fprintf(stderr,"FAIL %s\n",name.UTF8String);exit(1);}}
|
||||
static void pump(BOOL(^done)(void)){double end=NSProcessInfo.processInfo.systemUptime+15;while(!done()&&NSProcessInfo.processInfo.systemUptime<end)[[NSRunLoop mainRunLoop]runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:.005]];require(done(),@"asynchronous browser task completed");}
|
||||
int main(int argc,const char **argv){@autoreleasepool{
|
||||
method_setImplementation(class_getClassMethod(DYOnlineLUTClient.class,@selector(request:body:authenticated:completion:)),(IMP)offlineFixture);
|
||||
checks=[NSMutableArray new];require(argc==2,@"report destination supplied");[NSApplication sharedApplication];[NSApp setActivationPolicy:NSApplicationActivationPolicyProhibited];
|
||||
NSURL *root=[NSURL fileURLWithPath:[NSTemporaryDirectory()stringByAppendingPathComponent:[@"dayu-browser-layout-" stringByAppendingString:NSUUID.UUID.UUIDString]]];NSFileManager *fm=NSFileManager.defaultManager;[fm createDirectoryAtURL:root withIntermediateDirectories:YES attributes:nil error:nil];
|
||||
NSString *cube=@"LUT_3D_SIZE 2\n0 0 0\n1 0 0\n0 1 0\n1 1 0\n0 0 1\n1 0 1\n0 1 1\n1 1 1\n";
|
||||
|
||||
+48
-10
@@ -7,7 +7,7 @@
|
||||
#include <cmath>
|
||||
|
||||
@interface DYLUTBrowser (OnlineAcceptance)
|
||||
- (void)sourceChanged:(id)sender;
|
||||
- (void)startOnlinePreviews;
|
||||
- (void)revealLibrary:(id)sender;
|
||||
- (void)previousOnlinePage:(id)sender;
|
||||
- (void)folderClicked:(id)sender;
|
||||
@@ -69,15 +69,21 @@ int main(int argc,const char **argv){@autoreleasepool{
|
||||
NSImage *image=DYLUTThumbnail(nil,pixels,320,180,NSMakeSize(320,180),nil);renderPNG=[[(NSBitmapImageRep *)image.representations[0]representationUsingType:NSBitmapImageFileTypePNG properties:@{}]retain];
|
||||
__block NSString *applied=nil;
|
||||
DYLUTBrowser *browser=[[DYLUTBrowser alloc]initWithLibrary:library preview:frame selectedPath:nil palette:@{} selection:^NSProgress *(NSString *path,void(^completion)(NSError *)){NSProgress *job=[NSProgress discreteProgressWithTotalUnitCount:1];dispatch_async(dispatch_get_main_queue(),^{[applied release];applied=[path copy];completion(nil);});return job;}];
|
||||
pump(^{return [browser valueForKey:@"libraryTask"]==nil;});require(!browser.window.visible,@"acceptance never displays an unsigned test app");[browser setValue:@YES forKey:@"visible"];[browser setValue:@YES forKey:@"remoteMode"];
|
||||
NSPopUpButton *source=[browser valueForKey:@"sourceMenu"];[source selectItemAtIndex:1];[browser sourceChanged:source];pump(^{return [[browser valueForKey:@"onlineEntries"]count]==10;});
|
||||
require(count(@"/catalog")==1&&count(@"/preview")==0,@"opening online categories does not upload a timeline frame");
|
||||
require([[[browser valueForKey:@"importFiles"]accessibilityLabel]isEqual:@"在线预览当前帧"],@"online preview accessibility label reflects its actual action");
|
||||
require([[browser valueForKey:@"folderPaths"]count]==4,@"online categories include all and named categories");
|
||||
pump(^{return [browser valueForKey:@"libraryTask"]==nil;});require(!browser.window.visible,@"acceptance never displays an unsigned test app");
|
||||
require(count(@"/catalog")==0&&count(@"/preview")==0,@"constructing an unopened browser never uploads a frame");
|
||||
NSView *parent=[[[NSView alloc]initWithFrame:NSMakeRect(0,0,1200,760)]autorelease];[browser showInRemoteParent:parent close:nil];
|
||||
pump(^{return count(@"/preview")==10&&[[browser valueForKey:@"onlineTransfers"]count]==0;});
|
||||
require(![[browser valueForKey:@"onlineMode"]boolValue],@"opening local library also preloads the online page");
|
||||
require(count(@"/catalog")==1&&count(@"/preview")==10,@"opening browser automatically uploads cached frame and previews the whole online page");
|
||||
NSArray *folders=[browser valueForKey:@"folderPaths"];require([folders containsObject:@"@online"]&&[folders containsObject:@"@online/婚礼"]&&[folders containsObject:@"在线 LUT"],@"local and online categories share one sidebar with separate stable identities");
|
||||
NSButton *online=[NSButton buttonWithTitle:@"在线 LUT" target:nil action:nil];online.identifier=@"@online";[browser folderClicked:online];
|
||||
pump(^{return [browser valueForKey:@"onlineCatalogTask"]==nil;});
|
||||
require([[[browser valueForKey:@"importFiles"]accessibilityLabel]isEqual:@"更新在线预览缓存帧"],@"optional refresh action has an accurate accessibility label");
|
||||
require(count(@"/preview")==10,@"switching to online root reuses the automatically generated previews");
|
||||
require([[[browser valueForKey:@"countLabel"]stringValue]containsString:@"1233"],@"online total and pagination remain visible");
|
||||
[browser revealLibrary:nil];pump(^{return [[browser valueForKey:@"onlineCatalogTask"]isFinished]||[browser valueForKey:@"onlineCatalogTask"]==nil;});require([[requests.lastObject objectForKey:@"body"][@"page"]integerValue]==2,@"next page requests page two");
|
||||
[browser revealLibrary:nil];pump(^{return [[browser valueForKey:@"onlineCatalogTask"]isFinished]||[browser valueForKey:@"onlineCatalogTask"]==nil;});NSDictionary *lastCatalog=nil;for(NSDictionary *r in requests)if([r[@"path"]hasSuffix:@"/catalog"])lastCatalog=r;require([lastCatalog[@"body"][@"page"]integerValue]==2,@"next page requests page two");
|
||||
[browser previousOnlinePage:nil];pump(^{return [browser valueForKey:@"onlineCatalogTask"]==nil;});
|
||||
NSButton *folder=[NSButton buttonWithTitle:@"婚礼" target:nil action:nil];folder.identifier=@"婚礼";[browser folderClicked:folder];pump(^{return [browser valueForKey:@"onlineCatalogTask"]==nil;});require([requests.lastObject[@"body"][@"category"]isEqual:@"婚礼"],@"category filter is sent to the server");
|
||||
NSButton *folder=[NSButton buttonWithTitle:@"婚礼" target:nil action:nil];folder.identifier=@"@online/婚礼";[browser folderClicked:folder];pump(^{return [browser valueForKey:@"onlineCatalogTask"]==nil;});NSDictionary *categoryRequest=nil;for(NSDictionary *r in requests)if([r[@"path"]hasSuffix:@"/catalog"])categoryRequest=r;require([categoryRequest[@"body"][@"category"]isEqual:@"婚礼"],@"online child category is sent to server without sidebar prefix");
|
||||
NSUInteger before=count(@"/preview");[browser captureOnlineFrame];pump(^{return count(@"/preview")>before&&[[browser valueForKey:@"onlineTransfers"]count]==0;});
|
||||
require(maxPreviews<=2,@"browser limits simultaneous remote preview work");
|
||||
NSDictionary *upload=nil;for(NSDictionary *r in requests)if([r[@"path"]hasSuffix:@"/preview"]){upload=r;break;}
|
||||
@@ -86,6 +92,8 @@ int main(int argc,const char **argv){@autoreleasepool{
|
||||
NSUInteger previous=count(@"/preview");[browser updatePreview:@{@"standard":pixels,@"standardSize":[NSValue valueWithSize:NSMakeSize(320,180)],@"time":@2}];require(count(@"/preview")==previous,@"new timeline frames never trigger automatic uploads");
|
||||
NSDictionary *tiles=[browser valueForKey:@"tiles"];NSButton *tile=tiles.allValues.firstObject;[browser thumbnailClicked:tile];pump(^{return [browser valueForKey:@"selectionTask"]==nil&&applied!=nil;});
|
||||
require([applied hasPrefix:library.rootURL.path]&&[NSFileManager.defaultManager fileExistsAtPath:applied],@"downloaded verified LUT is applied through local host selection");
|
||||
require([applied containsString:@"/在线 LUT/婚礼/"],@"clicked online LUT installs into its local category");
|
||||
require([[browser valueForKey:@"folderPaths"]containsObject:@"在线 LUT/婚礼"],@"download immediately adds the second-level local category to the same sidebar");
|
||||
NSDictionary *reference=[browser valueForKey:@"previewFrames"];NSMutableData *alreadyGraded=[pixels mutableCopy];((float *)alreadyGraded.mutableBytes)[0]=.9;
|
||||
[browser updatePreview:@{@"standard":alreadyGraded,@"standardSize":[NSValue valueWithSize:NSMakeSize(320,180)],@"time":@2}];
|
||||
require([[browser valueForKey:@"previewFrames"]isEqual:reference],@"same-time host redraw cannot regrade the online upload reference");[alreadyGraded release];
|
||||
@@ -95,10 +103,40 @@ int main(int argc,const char **argv){@autoreleasepool{
|
||||
NSUInteger localCount=library.entries.count;[browser thumbnailClicked:tile];pump(^{return [browser valueForKey:@"selectionTask"]==nil;});require(library.entries.count==localCount,@"repeated online click does not duplicate installed LUT");
|
||||
badDownload=YES;[browser thumbnailClicked:tile];pump(^{return [browser valueForKey:@"selectionTask"]==nil;});require([[[browser valueForKey:@"statusLabel"]stringValue]containsString:@"大小"],@"incomplete download produces a visible error");badDownload=NO;
|
||||
paid=NO;[browser folderClicked:folder];pump(^{return [browser valueForKey:@"onlineCatalogTask"]==nil;});require([[browser valueForKey:@"onlineEntries"]count]==0,@"permission rejection removes online entries");
|
||||
[source selectItemAtIndex:0];[browser sourceChanged:source];require(![[browser valueForKey:@"onlineMode"]boolValue]&&[[browser valueForKey:@"visibleEntries"]count]>0,@"local LUT library remains usable without online permission");
|
||||
NSButton *local=[NSButton buttonWithTitle:@"全部本地 LUT" target:nil action:nil];local.identifier=@"*";[browser folderClicked:local];require(![[browser valueForKey:@"onlineMode"]boolValue]&&[[browser valueForKey:@"visibleEntries"]count]>0,@"local LUT library remains usable without online permission");
|
||||
require([[browser valueForKey:@"reveal"]isEnabled],@"local reveal button is restored after an online empty page or error");
|
||||
NSButton *localTile=[[[browser valueForKey:@"tiles"]allValues]firstObject];[localTile setEnabled:YES];[browser thumbnailClicked:localTile];pump(^{return [browser valueForKey:@"selectionTask"]==nil;});require([browser valueForKey:@"onlineSelectedPath"]==nil,@"local selection resets previous online highlight");
|
||||
[browser close];[browser release];[library release];[applied release];[installed release];
|
||||
// Hierarchy uses exact folder membership; a sibling with a common prefix is excluded.
|
||||
NSString *nested=[library.rootURL.path stringByAppendingPathComponent:@"胶片/人像/柔和"];[NSFileManager.defaultManager createDirectoryAtPath:nested withIntermediateDirectories:YES attributes:nil error:nil];
|
||||
[cubeData writeToFile:[nested stringByAppendingPathComponent:@"Nested.cube"]atomically:YES];
|
||||
NSString *sibling=[library.rootURL.path stringByAppendingPathComponent:@"胶片2"];[NSFileManager.defaultManager createDirectoryAtPath:sibling withIntermediateDirectories:YES attributes:nil error:nil];[cubeData writeToFile:[sibling stringByAppendingPathComponent:@"Sibling.cube"]atomically:YES];[library reload:nil];
|
||||
[browser performSelector:@selector(rebuildFolders)];[browser layoutBrowser];
|
||||
require([[browser valueForKey:@"folderPaths"]containsObject:@"胶片/人像"]&&[[browser valueForKey:@"folderPaths"]containsObject:@"胶片/人像/柔和"],@"all local directory levels are available in sidebar");
|
||||
local.identifier=@"胶片/人像";[browser folderClicked:local];require([[browser valueForKey:@"visibleEntries"]count]==1,@"local parent includes descendants and excludes prefix siblings");
|
||||
id branch=nil;for(NSButton *b in [browser valueForKey:@"folderButtons"])if([b.identifier isEqual:@"胶片/人像"])branch=b;
|
||||
require([[branch valueForKey:@"depth"]integerValue]==1&&[[branch valueForKey:@"branch"]boolValue],@"second-level parent is indented and expandable");
|
||||
[branch setValue:@YES forKey:@"disclosureClicked"];[browser folderClicked:branch];[branch setValue:@NO forKey:@"disclosureClicked"];
|
||||
require(![[browser valueForKey:@"folderPaths"]containsObject:@"胶片/人像/柔和"],@"collapsing local parent hides descendants");
|
||||
[branch setValue:@YES forKey:@"disclosureClicked"];[browser folderClicked:branch];[branch setValue:@NO forKey:@"disclosureClicked"];
|
||||
require([[browser valueForKey:@"folderPaths"]containsObject:@"胶片/人像/柔和"],@"expanding local parent restores descendants");
|
||||
[browser close];NSUInteger closedRequests=requests.count;[browser release];
|
||||
pump(^{return activePreviews==0;});require(requests.count==closedRequests,@"closing stops all preview work without scheduling more uploads");
|
||||
paid=NO;NSUInteger beforeEmpty=count(@"/preview");
|
||||
DYLUTBrowser *empty=[[DYLUTBrowser alloc]initWithLibrary:library preview:nil selectedPath:nil palette:@{} selection:nil];
|
||||
[empty showInRemoteParent:parent close:nil];pump(^{return [empty valueForKey:@"onlineCatalogTask"]==nil&&[empty valueForKey:@"libraryTask"]==nil;});
|
||||
require(count(@"/preview")==beforeEmpty,@"opening without a cached frame waits without uploading fallback imagery");
|
||||
require([[empty valueForKey:@"reveal"]isEnabled],@"background online permission failure never disables local folder access");
|
||||
paid=YES;[empty performSelector:@selector(loadOnlineCatalog)];pump(^{return [empty valueForKey:@"onlineCatalogTask"]==nil;});
|
||||
NSMutableData *portrait=[NSMutableData dataWithLength:360*1280*16];float *portraitSamples=(float *)portrait.mutableBytes;for(NSUInteger i=0;i<360*1280;i++)portraitSamples[i*4+3]=1;
|
||||
[empty updatePreview:@{@"standard":portrait,@"standardSize":[NSValue valueWithSize:NSMakeSize(360,1280)],@"time":@3}];
|
||||
pump(^{return count(@"/preview")==beforeEmpty+10&&[[empty valueForKey:@"onlineTransfers"]count]==0;});
|
||||
require(count(@"/preview")==beforeEmpty+10,@"first arriving cache frame automatically fills previously empty online previews");
|
||||
NSDictionary *lastUpload=nil;for(NSDictionary *r in requests)if([r[@"path"]hasSuffix:@"/preview"])lastUpload=r;
|
||||
NSBitmapImageRep *tall=[NSBitmapImageRep imageRepWithData:[[[NSData alloc]initWithBase64EncodedString:lastUpload[@"body"][@"frame_png"]options:0]autorelease]];
|
||||
require(tall.pixelsHigh==640&&tall.pixelsWide==180,@"portrait uploads honor longest-edge cap and preserve aspect");[empty close];[empty release];
|
||||
NSUInteger compactRequests=requests.count;DYLUTBrowser *compact=[[DYLUTBrowser alloc]initWithLibrary:library preview:frame selectedPath:nil palette:@{} selection:nil];[compact embedRecentInView:parent];
|
||||
pump(^{return [compact valueForKey:@"libraryTask"]==nil;});require(requests.count==compactRequests,@"compact recent shortcuts do not start cloud uploads");[compact close];[compact release];
|
||||
[library release];[applied release];[installed release];
|
||||
[NSFileManager.defaultManager removeItemAtURL:root error:nil];
|
||||
for(NSString *key in NSUserDefaults.standardUserDefaults.dictionaryRepresentation.allKeys)if([key containsString:root.path])[NSUserDefaults.standardUserDefaults removeObjectForKey:key];
|
||||
NSDictionary *report=@{@"pass":@YES,@"count":@(checks.count),@"checks":checks,@"scope":@"Isolated AppKit browser with simulated network replies; real Cube validation/import; no user credentials, no production frame upload, no visible test app."};
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"articleID": 15792,
|
||||
"url": "https://dayu.media/15792/",
|
||||
"version": "1.22.1",
|
||||
"build": 133,
|
||||
"state": "verified",
|
||||
"requestID": "dayu-color-1221-build133-article15792-content-20261112",
|
||||
"fields": [
|
||||
"title",
|
||||
"content",
|
||||
"excerpt",
|
||||
"seo.title.value",
|
||||
"seo.description.value",
|
||||
"seo.keywords.value"
|
||||
],
|
||||
"previousTitle": "大鱼调色 1.21.8 公测版|多层调色与拖动优化",
|
||||
"newTitle": "大鱼调色 1.22.1 公测版|在线 LUT 自动预览与统一分类",
|
||||
"beforeContentSHA256": "8850442b9fb50077e8e995eddd49375bd0725bd964e6ee73d92de6f973890225",
|
||||
"plannedContentSHA256": "8933fef311bbb1f33f3164f60ee950d214b526b21b06f795e443801fd479b539",
|
||||
"historicalImagesPreserved": true,
|
||||
"existingInstallationGuideAndCodePreservedExceptCurrentVersionAndLoginClarification": true,
|
||||
"packageCheckReference": "verification/Package1.22.1.json",
|
||||
"downloadReference": "verification/ArticleLink1.22.1.json",
|
||||
"baselineStoredPrivately": true,
|
||||
"preparedAt": "2026-11-12T12:07:49.789155+00:00",
|
||||
"passResult": true,
|
||||
"status": "publish",
|
||||
"title": "大鱼调色 1.22.1 公测版|在线 LUT 自动预览与统一分类",
|
||||
"savedContentSHA256": "8933fef311bbb1f33f3164f60ee950d214b526b21b06f795e443801fd479b539",
|
||||
"frontend": [
|
||||
{
|
||||
"request": "normal",
|
||||
"status": 200,
|
||||
"titleSingleAndExact": true,
|
||||
"descriptionSingleAndExact": true,
|
||||
"keywordsSingleAndExact": true,
|
||||
"newUpdateRecordsPresent": true,
|
||||
"currentVersionAndInstallGuideMatch": true,
|
||||
"historicalImagesAndCodeBlockPresent": true,
|
||||
"priceAndMemberDisplayPreserved": true,
|
||||
"mainPackageURLNotExposed": true
|
||||
},
|
||||
{
|
||||
"request": "fresh",
|
||||
"status": 200,
|
||||
"titleSingleAndExact": true,
|
||||
"descriptionSingleAndExact": true,
|
||||
"keywordsSingleAndExact": true,
|
||||
"newUpdateRecordsPresent": true,
|
||||
"currentVersionAndInstallGuideMatch": true,
|
||||
"historicalImagesAndCodeBlockPresent": true,
|
||||
"priceAndMemberDisplayPreserved": true,
|
||||
"mainPackageURLNotExposed": true
|
||||
}
|
||||
],
|
||||
"preserved": [
|
||||
"download URL and filename",
|
||||
"all commercial resource settings",
|
||||
"author, categories, tags and cover",
|
||||
"SEO enabled states",
|
||||
"FCPX settings",
|
||||
"six historical images",
|
||||
"all 17 effect names and exact App open command"
|
||||
],
|
||||
"downloadURLPreserved": true,
|
||||
"downloadVerificationReference": "verification/ArticleLink1.22.1.json",
|
||||
"mainAPPUpdateChannelNotModified": true,
|
||||
"checkedAt": "2026-11-12T12:08:52.165580+00:00"
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"articleID": 15792,
|
||||
"articleURL": "https://dayu.media/15792/",
|
||||
"intent": "Update main resource URL and original download filename only; preserve article text and commercial settings",
|
||||
"previousDownloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"previousFilename": "大鱼调色-1.21.8.pkg",
|
||||
"newPackage": "大鱼调色-1.22.1.pkg",
|
||||
"bytes": 44557648,
|
||||
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
|
||||
"beforeContentSHA256": "8850442b9fb50077e8e995eddd49375bd0725bd964e6ee73d92de6f973890225",
|
||||
"beforeSnapshotStoredPrivately": true,
|
||||
"requestID": "dayu-color-1221-build133-article15792-link-20261112",
|
||||
"state": "verified",
|
||||
"observedAt": "2026-11-12T09:47:25.571014+00:00",
|
||||
"articleStatus": "publish",
|
||||
"articleTitle": "大鱼调色 1.21.8 公测版|多层调色与拖动优化",
|
||||
"titleAndContentPreserved": true,
|
||||
"allCommercialAndResourceFieldsPreservedExcept": [
|
||||
"cao_downurl",
|
||||
"cao_original_filename"
|
||||
],
|
||||
"seoPreserved": true,
|
||||
"authorCategoriesTagsAndCoversPreserved": true,
|
||||
"fcpxConfigurationPreserved": true,
|
||||
"downloadURL": "https://dayu.media/wp-content/uploads/2026/11/1794476859-979a88b6cac1538.pkg",
|
||||
"originalFilename": "大鱼调色-1.22.1.pkg",
|
||||
"fullPackageDownloadVerified": true,
|
||||
"downloadedBytes": 44557648,
|
||||
"downloadedSHA256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
|
||||
"downloadSignatureAndGatekeeperPassed": true,
|
||||
"downloadStaplerValid": true,
|
||||
"attachmentID": 15979,
|
||||
"checkedAt": "2026-11-12T09:50:44.948567+00:00",
|
||||
"frontend": [
|
||||
{
|
||||
"request": "normal",
|
||||
"status": 200,
|
||||
"titleAndSEOUnchanged": true,
|
||||
"priceAndMemberDisplayPreserved": true,
|
||||
"mainPackageURLNotExposed": true,
|
||||
"installGuideAndCodeBlockPresent": true
|
||||
},
|
||||
{
|
||||
"request": "fresh",
|
||||
"status": 200,
|
||||
"titleAndSEOUnchanged": true,
|
||||
"priceAndMemberDisplayPreserved": true,
|
||||
"mainPackageURLNotExposed": true,
|
||||
"installGuideAndCodeBlockPresent": true
|
||||
}
|
||||
],
|
||||
"passResult": true,
|
||||
"attachmentReadback": "Authenticated WordPress media REST limited to parent 15792",
|
||||
"downloadVersion": "1.22.1",
|
||||
"appBuild": 133,
|
||||
"downloadTemporaryCopyRemoved": true,
|
||||
"articleTextAndVersionLabelsNotEdited": true,
|
||||
"mainAPPUpdateChannelNotModified": true,
|
||||
"updateChannelReadback": {
|
||||
"version": "1.21.8",
|
||||
"build": 126
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,10 @@
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verify-online-luts",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verify-browser-customization",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/online-lut-131",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/superseded-build130.pkg"
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/superseded-build130.pkg",
|
||||
"/Users/mac/Downloads/大鱼调色-1.22.0.pkg",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/Recovery/online-lut-1.22.0",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/Reference/FcpxSoundEffectsExtension"
|
||||
],
|
||||
"scope": "Only this task’s known synthetic QA files and generated executables. User LUTs, source, other tasks and historical installers retained.",
|
||||
"original126RollbackBackupRemoved": true,
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"removedOrVerifiedAbsent": [
|
||||
"/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app",
|
||||
"/Library/Plug-Ins/FxPlug/.dayu-color-previous-f7b778a9a3564b7085a2890067351436.app",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/DerivedData/Build/Products/Release/大鱼调色.app",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/DerivedData/Build/Products/Release/大鱼调色 XPC Service.pluginkit",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip"
|
||||
],
|
||||
"retained": [
|
||||
"/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"/Users/mac/Movies/大鱼调色LUT",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/大鱼调色_验收.fcpbundle"
|
||||
],
|
||||
"scope": "Current delivery-generated APPs and notary ZIP only. Existing historical PKGs and user LUTs retained.",
|
||||
"registry": " com.dayu.color.XPC(1.1)\tB7D6A7FB-8F55-4F73-9823-6B40F13D2831\t2026-11-11 14:36:15 +0000\t/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit\n (1 plug-in)\n",
|
||||
"downloadAndTemporaryScriptRemoved": [
|
||||
"/Volumes/备份/大鱼调色-1.22.1.pkg",
|
||||
"/Volumes/备份/大鱼调色-1.22.1 (1).pkg",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-apple-route-session.py"
|
||||
],
|
||||
"onlyCurrentProductAppAtFormalPluginRoot": [
|
||||
"/Library/Plug-Ins/FxPlug/大鱼调色.app"
|
||||
],
|
||||
"finalPackageRetained": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg",
|
||||
"privateProxyBackupRemoved": true,
|
||||
"independentRecoveryCloneRemoved": true
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"debugInstalled": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"debugRemainsByExplicitUserAuthorization": true,
|
||||
"userConfirmedWorking": true,
|
||||
"formalRollback": "/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app",
|
||||
"formalRollbackBuild": "131",
|
||||
"formalRollbackSignatureAndStapleValidated": true,
|
||||
"removedTaskGeneratedPaths": [
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/Recovery/lut-unified",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/lut-unified-133",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verify-online-unified",
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verify-local-unified"
|
||||
],
|
||||
"debugBuildAPPRemoved": true,
|
||||
"debugLooseServiceRemoved": true,
|
||||
"retainedPendingNotaryAPP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/DerivedData/Build/Products/Release/大鱼调色.app",
|
||||
"retainedOriginalSubmissionZIP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip",
|
||||
"submissionZIPMatchesOriginal": true,
|
||||
"remainingCleanup": "After notarized Release acceptance/installation, remove temporary Debug APP and original 131 rollback, then clean pending Release build product and submission ZIP."
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"status": "temporary-debug-installed-for-user-testing",
|
||||
"authorization": "User explicitly requested local Debug testing while Apple notarization is pending.",
|
||||
"configuration": "Debug",
|
||||
"notarized": false,
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.22.1",
|
||||
"build": "133",
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"formalRollback": "/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app",
|
||||
"pendingReleaseNotary": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
|
||||
"signatureVerified": true,
|
||||
"pluginKitUniquePath": true,
|
||||
"cleanup": "Remove this temporary Debug APP when user testing ends or replace with the notarized Release; preserve the formal rollback until then.",
|
||||
"userConfirmation": "我已测试可行",
|
||||
"hostObserved": "FCP shows 1233 online LUTs, populated effect thumbnails, original/styled comparison, unified sidebar and second-level local categories.",
|
||||
"releaseNotaryStatus": "Accepted",
|
||||
"currentlyInstalled": false,
|
||||
"exceptionEnded": true,
|
||||
"replacedBy": "verification/Delivery1.22.1.json"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"pass": true,
|
||||
"remote": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"tag": "debug/v1.22.1-build133-20261111",
|
||||
"tagCommit": "46d7ff7bbc9de3cf3bec63f1f8fe39fcbdbe0b67",
|
||||
"compiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"independentHTTPSClone": true,
|
||||
"filesByteMatched": 927,
|
||||
"appBuildInputsMatchCompiledSource": true,
|
||||
"gitFsckPassed": true,
|
||||
"lfsPointers": [],
|
||||
"submodules": [],
|
||||
"scope": "User-accepted temporary Debug checkpoint; notarized Release and package are pending."
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"tag": "debug/v1.22.1-build133-20261111",
|
||||
"checkpointCommit": "46d7ff7bbc9de3cf3bec63f1f8fe39fcbdbe0b67",
|
||||
"compiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"remote": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"remoteVerified": true,
|
||||
"kind": "User-accepted temporary local Debug checkpoint; not a notarized Release."
|
||||
}
|
||||
@@ -2,13 +2,14 @@
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.22.0",
|
||||
"build": "131",
|
||||
"version": "1.22.1",
|
||||
"build": "133",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "1e57ee70-d099-4942-91fd-29a2d5f47a44",
|
||||
"notaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"deliveryToolCommit": "1a4c802322bd203f8dd152535d2a00f473a2184a",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
@@ -65,5 +66,7 @@
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"shaderSHA256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
|
||||
"hostVerification": "verification/HostOnlineLUT1.22.0.json"
|
||||
"hostVerification": "verification/HostUnifiedLUT1.22.1.json",
|
||||
"installedSelfTestChecks": 1028,
|
||||
"debugExceptionEnded": true
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.22.1",
|
||||
"build": "133",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"deliveryToolCommit": "1a4c802322bd203f8dd152535d2a00f473a2184a",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"shaderSHA256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
|
||||
"hostVerification": "verification/HostUnifiedLUT1.22.1.json",
|
||||
"installedSelfTestChecks": 1028,
|
||||
"debugExceptionEnded": true
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"version": "1.22.1",
|
||||
"build": 133,
|
||||
"configuration": "Release",
|
||||
"notarized": true,
|
||||
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"host": "Final Cut Pro 12.4",
|
||||
"syntheticProject": "大鱼调色_主题与LUT浏览库验收",
|
||||
"observed": [
|
||||
"Opened browser without clicking preview or LUT; online root automatically loaded processed synthetic chart thumbnails",
|
||||
"Catalogue 1233 entries with 21 pages; S-Log3 Undone v5 child has 68 entries, two pages",
|
||||
"One category tree contains online root and local categories; local installed LUT children and LUT浏览库验收素材/冷色、暖色 observed on opening",
|
||||
"Clicked online:1446; UI confirmed installed to local category and applied, and inspector displayed the resulting local .cube path",
|
||||
"Original/styled split comparison visibly rendered; FCP playback advanced and was paused without error"
|
||||
],
|
||||
"hostProcess": [
|
||||
"8391 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/MacOS/大鱼调色",
|
||||
"8434 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit/Contents/MacOS/大鱼调色 XPC Service"
|
||||
],
|
||||
"installedLUT": {
|
||||
"path": "/Users/mac/Movies/大鱼调色LUT/look LUTs/在线 LUT/S-Log3 Undone v5/1446-a1 II S-Log3 Undone LC v4 33 (Monitoring)-426df6f51133.cube",
|
||||
"bytes": 954243,
|
||||
"sha256": "426df6f511334f314540246ec0ec52c2040b3ae7b78d17bbe91a8421065b1d69"
|
||||
},
|
||||
"limitations": [
|
||||
"Motion not retested",
|
||||
"PKG installation scripts not executed during this host acceptance"
|
||||
],
|
||||
"previousUserConfirmation": "我已测试可行",
|
||||
"verifiedAt": "2026-11-11T14:39:00.947001+00:00"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": "1.22.1",
|
||||
"build": 133,
|
||||
"configuration": "Debug",
|
||||
"notarized": false,
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"userConfirmed": "我已测试可行",
|
||||
"observed": [
|
||||
"Main APP shows version 1.22.1 build 133 and account access available",
|
||||
"Online grid displays multiple processed synthetic color-chart thumbnails",
|
||||
"Catalogue total 1233 with pagination",
|
||||
"One sidebar contains online root and local folders",
|
||||
"Local installed categories and another local folder show second-level rows",
|
||||
"Original/styled comparison visibly displays images"
|
||||
],
|
||||
"hostProcess": [
|
||||
"4974 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit/Contents/MacOS/大鱼调色 XPC Service"
|
||||
],
|
||||
"automatedContracts": {
|
||||
"onlineAndHierarchy": 68,
|
||||
"localBrowser": 40
|
||||
},
|
||||
"scope": "Agent observed current FCP UI; user performed and confirmed local testing. No claim of notarized Debug delivery or Motion acceptance."
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
"error": "未提供错误信息",
|
||||
"name": "runtime-directory",
|
||||
"pass": true,
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389"
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C"
|
||||
},
|
||||
{
|
||||
"descriptors": 285,
|
||||
@@ -1040,7 +1040,7 @@
|
||||
"error": "未提供错误信息",
|
||||
"name": "renderer-export-33cube",
|
||||
"pass": true,
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/diagnostic-export.cube"
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C/diagnostic-export.cube"
|
||||
},
|
||||
{
|
||||
"bytes": 1186074,
|
||||
@@ -1059,8 +1059,8 @@
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"heartbeats": 2,
|
||||
"maximumGapMS": 17.447791644372046,
|
||||
"heartbeats": 5,
|
||||
"maximumGapMS": 5.860666686203331,
|
||||
"name": "external-activation-main-loop-responsive",
|
||||
"pass": true
|
||||
},
|
||||
@@ -1551,7 +1551,7 @@
|
||||
"closePixels": 128,
|
||||
"name": "workspace-offscreen-compact-icons-and-close-render-pixels",
|
||||
"pass": true,
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/workspace-topbar.png",
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C/workspace-topbar.png",
|
||||
"toolbarPixels": 3867
|
||||
},
|
||||
{
|
||||
@@ -1622,7 +1622,7 @@
|
||||
},
|
||||
{
|
||||
"name": "workspace-independent-style-fixture-inserted",
|
||||
"node": "BCD3E99A-9451-422C-84B1-9E65198B0A4B",
|
||||
"node": "E7795E92-7058-4ACB-AD41-7B2F7E885C39",
|
||||
"pass": true,
|
||||
"validDocument": true
|
||||
},
|
||||
@@ -1631,10 +1631,10 @@
|
||||
"error": "none",
|
||||
"name": "workspace-independent-style1-writes-target-node-inside-undo",
|
||||
"nodePaths": {
|
||||
"look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/node.cube"
|
||||
"look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C/node.cube"
|
||||
},
|
||||
"pass": true,
|
||||
"rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/user-new.cube",
|
||||
"rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C/user-new.cube",
|
||||
"undoStartsAfter": 3,
|
||||
"undoStartsBefore": 2,
|
||||
"written": true
|
||||
@@ -4719,7 +4719,7 @@
|
||||
{
|
||||
"name": "viewer-real-osc-draws-minimal-curve-on-clear-canvas",
|
||||
"pass": true,
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/viewer-workspace.png"
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C/viewer-workspace.png"
|
||||
},
|
||||
{
|
||||
"name": "canvas-hsl-plot-captures-outside-and-commits-one-undo",
|
||||
@@ -5118,6 +5118,6 @@
|
||||
"pass": true
|
||||
}
|
||||
],
|
||||
"runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389",
|
||||
"runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C",
|
||||
"scope": "Native model and renderer integration with real Metal/IOSurface textures and fake FxPlug host selectors; no GUI or live host document."
|
||||
}
|
||||
@@ -0,0 +1,166 @@
|
||||
{
|
||||
"pass" : true,
|
||||
"checks" : [
|
||||
{
|
||||
"name" : "report destination supplied",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "isolated library loaded",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "recent use deduplicates and puts latest first",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "recent history survives a new library instance",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous browser task completed",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "recent category is first in the sidebar",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "recent category contains only used LUTs in order",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "all LUTs also put recent uses before unused names",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "loading does not update recent history",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "host rejection does not update history",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "only successful host application records recent use",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "selecting a LUT keeps the tiles in place and updates selection",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "search respects recent-first ordering",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "clearing a search still uses the opening order",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "recent folder also uses the opening order",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "grid reflows when the browser size changes",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "list layout has full-width rows",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "sidebar divider changes folder width without overlapping previews",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous browser task completed",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "layout and sidebar width survive reopening",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "reopening places the successful selection first",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous browser task completed",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "remote-parent checks never display a test window",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous browser task completed",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "list thumbnail keeps portrait aspect",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "portrait grid cards follow frame geometry",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous browser task completed",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous browser task completed",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "click reuses the original and selected tile bitmaps without replacing preview work",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "empty snapshots keep both previews and pending work",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "same-time host render after selection cannot replace the comparison reference",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "previous previews stay visible while the next frame renders",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous browser task completed",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "moving the playhead replaces the original and both uses of the LUT bitmap",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous browser task completed",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "the comparison and grid use the same high resolution frame",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "remote window geometry is owned and remembered by the host",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "remote close callback runs once",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "recent history stays bounded at 40 newest paths",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "isolated fixtures and preferences cleaned",
|
||||
"pass" : true
|
||||
}
|
||||
],
|
||||
"scope" : "Real AppKit browser objects, hidden host-owned window fixture, asynchronous acknowledgement and root-scoped history; no visible test app or user LUT changes."
|
||||
}
|
||||
+16
-16
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg",
|
||||
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
|
||||
"bytes": 44557321,
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg",
|
||||
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
|
||||
"bytes": 44557648,
|
||||
"testUnsigned": false,
|
||||
"installationExecuted": false,
|
||||
"checks": [
|
||||
@@ -31,27 +31,27 @@
|
||||
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.22.0",
|
||||
"build": "131"
|
||||
"version": "1.22.1",
|
||||
"build": "133"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-iqxoz06i/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.b400f64b-6c97-4e70-9d81-fcc94d4d9586/1C8FB4E7-D0F6-4C78-9315-5CE4F7B684EA/大鱼调色"
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-f13eo94l/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.a219b8a8-7991-4dbb-8f88-f6bba424c22c/674E6120-3C0A-4B62-ADE6-66DDD5C9B7B4/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.22.0.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-11 11:58:15 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"signature": "Package \"大鱼调色-1.22.1.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-11 14:41:21 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"status": "Accepted",
|
||||
"name": "大鱼调色-1.22.0.pkg",
|
||||
"createdDate": "2026-11-11T11:58:18.896Z",
|
||||
"id": "bfb54c49-b563-4420-9e9b-2319e1565420",
|
||||
"message": "Successfully received submission info"
|
||||
"id": "b1f73787-263b-47d7-b126-68d858437594",
|
||||
"message": "Successfully received submission info",
|
||||
"name": "大鱼调色-1.22.1.pkg",
|
||||
"createdDate": "2026-11-11T14:41:25.556Z"
|
||||
},
|
||||
"appCompiledSource": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
|
||||
"appBuild": "131",
|
||||
"appCompiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"appBuild": "133",
|
||||
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
|
||||
"residentAppClosing": {
|
||||
"identifiers": [
|
||||
@@ -127,6 +127,6 @@
|
||||
"entries": 192,
|
||||
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
|
||||
},
|
||||
"installedAppHostAcceptance": "verification/HostOnlineLUT1.22.0.json",
|
||||
"installedAppHostAcceptance": "verification/HostUnifiedLUT1.22.1.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg",
|
||||
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
|
||||
"bytes": 44557648,
|
||||
"testUnsigned": false,
|
||||
"installationExecuted": false,
|
||||
"checks": [
|
||||
"PKG Developer ID Installer signature",
|
||||
"PKG stapled ticket and Gatekeeper install assessment",
|
||||
"must-close attached to root-authorized payload",
|
||||
"all four FCP/Motion host identifiers",
|
||||
"bundle relocation disabled",
|
||||
"desktop and Bundle ID preinstall guards",
|
||||
"postinstall contains actual FxPlug verification invocations",
|
||||
"GUI worker, registration repair and Finder reveal present",
|
||||
"successful completion and consecutive registration checks",
|
||||
"exact payload contents: 大鱼调色.app",
|
||||
"fixed FxPlug outer APP install path",
|
||||
"outer APP has one real verification action",
|
||||
"service path/identifier/registration version: com.dayu.color.XPC",
|
||||
"nonempty FxPlug service manifest",
|
||||
"payload APP signature, independent ticket and Gatekeeper",
|
||||
"exact payload contents: 大鱼调色",
|
||||
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
|
||||
"complete outer APP payload present",
|
||||
"welcome warns to save work and close hosts",
|
||||
"conclusion gives manual APP and host restart instructions"
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.22.1",
|
||||
"build": "133"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-f13eo94l/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.a219b8a8-7991-4dbb-8f88-f6bba424c22c/674E6120-3C0A-4B62-ADE6-66DDD5C9B7B4/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.22.1.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-11 14:41:21 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"status": "Accepted",
|
||||
"id": "b1f73787-263b-47d7-b126-68d858437594",
|
||||
"message": "Successfully received submission info",
|
||||
"name": "大鱼调色-1.22.1.pkg",
|
||||
"createdDate": "2026-11-11T14:41:25.556Z"
|
||||
},
|
||||
"appCompiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"appBuild": "133",
|
||||
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
|
||||
"residentAppClosing": {
|
||||
"identifiers": [
|
||||
"com.apple.FinalCut",
|
||||
"com.apple.FinalCutApp",
|
||||
"com.apple.motionapp",
|
||||
"com.apple.motionappApp",
|
||||
"com.dayu.color"
|
||||
],
|
||||
"preinstallGuardCount": 1,
|
||||
"normalQuit": true
|
||||
},
|
||||
"packageEntryAdaptation": {
|
||||
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
|
||||
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
|
||||
"requiredApplication": "com.dayu.color"
|
||||
},
|
||||
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
|
||||
"templateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"payloadBundleAccess": {
|
||||
"entries": 192,
|
||||
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
|
||||
},
|
||||
"installedAppHostAcceptance": "verification/HostUnifiedLUT1.22.1.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"authorizedScope": [
|
||||
"notary-submissions-prod.s3.us-west-2.amazonaws.com",
|
||||
"notary-submissions-prod.s3-accelerate.amazonaws.com"
|
||||
],
|
||||
"originalProfileSHA256": "c2fbb33c63fbdd6018209afd172cbeb49dd28a7eefceed02f500e1202e31d078",
|
||||
"phase": "finished",
|
||||
"temporaryProfileSHA256": "3a1056e5e2ce19af781ed4c790d1d1a7f70e15b048c374910929b94b8a79c9ca",
|
||||
"originalBytesRestored": true,
|
||||
"liveProxyExactlyRestored": true,
|
||||
"privateBackupRemoved": true,
|
||||
"passResult": true,
|
||||
"purpose": "Only Apple S3 host routing during PKG notarization upload",
|
||||
"notaryID": "b1f73787-263b-47d7-b126-68d858437594",
|
||||
"notaryStatus": "Accepted",
|
||||
"privateConfigurationNotCommitted": true
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"independentHTTPSCheckout": true,
|
||||
"releaseTag": "v1.22.0-online-luts-20261111",
|
||||
"releaseCommit": "31d1089264e10469bececa7b27b3bcd06a7eb445",
|
||||
"compiledAppCommit": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
|
||||
"trackedFilesByteVerified": 911,
|
||||
"gitFsckStrict": true,
|
||||
"compiledAppInputsUnchangedAtRelease": true,
|
||||
"gitLFSPointers": 0,
|
||||
"submodules": 0,
|
||||
"scope": "Application was built from this independent remote checkout at the compiled source; release tag was independently fetched and all tracked blobs verified. No second cold build.",
|
||||
"temporaryCheckout": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/Recovery/online-lut-1.22.0",
|
||||
"temporaryCheckoutRemovedAfterVerification": true
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"remote": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"tag": "v1.22.1-unified-luts-20261111",
|
||||
"releaseCommit": "cdf23fb4fd1863867945e528ae060522d566b457",
|
||||
"appCompiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"independentHTTPSClone": true,
|
||||
"trackedFilesByteMatched": 939,
|
||||
"appBuildInputsByteMatched": 255,
|
||||
"gitFsck": true,
|
||||
"LFSObjectsRequired": false,
|
||||
"submodules": false,
|
||||
"tools": "Xcode 27.1, FxPlug SDK 4.3.5, Apple Silicon, macOS 14.6+, locked ColorManagement dependencies",
|
||||
"temporaryCloneRemovedAfterCheck": true
|
||||
}
|
||||
+14
-17
@@ -3,23 +3,20 @@
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.21.8-render-fluidity-20261109",
|
||||
"releaseCommit": "ec81578b25753295ad6f03579136a7fa206a5d1f",
|
||||
"releaseID": 422,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.8-render-fluidity-20261109",
|
||||
"prerelease": true,
|
||||
"assetID": 68,
|
||||
"assetName": "大鱼调色-1.21.8.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.8-render-fluidity-20261109/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.8.pkg",
|
||||
"bytes": 44529845,
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"tag": "v1.22.1-unified-luts-20261111",
|
||||
"releaseCommit": "cdf23fb4fd1863867945e528ae060522d566b457",
|
||||
"releaseID": 431,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.1-unified-luts-20261111",
|
||||
"assetID": 70,
|
||||
"assetName": "大鱼调色-1.22.1.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.1-unified-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.1.pkg",
|
||||
"bytes": 44557648,
|
||||
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
|
||||
"existingAssetReused": true,
|
||||
"verification": "Full draft download checked before publication; published attachment downloaded and checked again; release, tag and asset read-back verified.",
|
||||
"verification": "Authenticated full download SHA-256 and byte count, then release/asset read-back.",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api",
|
||||
"draftBrowserDownload": {
|
||||
"path": "/Volumes/备份/大鱼调色-1.21.8.pkg",
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"bytes": 44529845,
|
||||
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.8-render-fluidity-20261109/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.8.pkg"
|
||||
}
|
||||
"draftDownloadVerification": "verification/ReleaseDraftDownload1.22.1.json",
|
||||
"installedAPP": "verification/Delivery1.22.1.json",
|
||||
"hostAcceptance": "verification/HostUnifiedLUT1.22.1.json",
|
||||
"sourceRecovery": "verification/Recovery1.22.1.json"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"releaseID": 428,
|
||||
"assetID": 69,
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.0-online-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.0.pkg",
|
||||
"downloadedFile": "/Users/mac/Downloads/大鱼调色-1.22.0.pkg",
|
||||
"bytes": 44557321,
|
||||
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
|
||||
"verification": "Actual authenticated website session download via the visible draft file link; full file byte count and SHA-256 match the signed notarized package.",
|
||||
"downloadCopyRemovedAfterPublication": true
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"releaseID": 428,
|
||||
"draft": true,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.0-online-luts-20261111",
|
||||
"tag": "v1.22.0-online-luts-20261111",
|
||||
"assets": [
|
||||
{
|
||||
"id": 69,
|
||||
"name": "大鱼调色-1.22.0.pkg",
|
||||
"size": 44557321,
|
||||
"browser_download_url": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.0-online-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.0.pkg"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.22.0-online-luts-20261111",
|
||||
"releaseCommit": "31d1089264e10469bececa7b27b3bcd06a7eb445",
|
||||
"releaseID": 428,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.0-online-luts-20261111",
|
||||
"assetID": 69,
|
||||
"assetName": "大鱼调色-1.22.0.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.0-online-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.0.pkg",
|
||||
"bytes": 44557321,
|
||||
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
|
||||
"existingAssetReused": true,
|
||||
"verification": "Authenticated full download SHA-256 and byte count, then release/asset read-back.",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.22.1-unified-luts-20261111",
|
||||
"releaseCommit": "cdf23fb4fd1863867945e528ae060522d566b457",
|
||||
"releaseID": 431,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.1-unified-luts-20261111",
|
||||
"assetID": 70,
|
||||
"assetName": "大鱼调色-1.22.1.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.1-unified-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.1.pkg",
|
||||
"bytes": 44557648,
|
||||
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
|
||||
"existingAssetReused": true,
|
||||
"verification": "Authenticated full download SHA-256 and byte count, then release/asset read-back.",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api",
|
||||
"draftDownloadVerification": "verification/ReleaseDraftDownload1.22.1.json",
|
||||
"installedAPP": "verification/Delivery1.22.1.json",
|
||||
"hostAcceptance": "verification/HostUnifiedLUT1.22.1.json",
|
||||
"sourceRecovery": "verification/Recovery1.22.1.json"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"releaseID": 431,
|
||||
"assetID": 70,
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.1-unified-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.1.pkg",
|
||||
"authenticatedBrowser": "Microsoft Edge normal signed-in session",
|
||||
"downloadCopies": [
|
||||
{
|
||||
"path": "/Volumes/备份/大鱼调色-1.22.1.pkg",
|
||||
"bytes": 44557648,
|
||||
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663"
|
||||
},
|
||||
{
|
||||
"path": "/Volumes/备份/大鱼调色-1.22.1 (1).pkg",
|
||||
"bytes": 44557648,
|
||||
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663"
|
||||
}
|
||||
],
|
||||
"verifiedBeforePublishing": true
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"version": "1.22.1",
|
||||
"build": 132,
|
||||
"sourceCommit": "c7f6311506d408abb9efb6246584212826864975",
|
||||
"preflightChecks": 1028,
|
||||
"preflightPassed": true,
|
||||
"notaryID": "a0ed9a93-a639-45c7-9c97-55d982b66033",
|
||||
"notaryStatus": "In Progress",
|
||||
"installed": false,
|
||||
"published": false,
|
||||
"reason": "Superseded before install: protect local folder controls when background online catalog fails, encode cached PNG independently of local LUT parsing queue.",
|
||||
"submittedZIP_SHA256": "58be5dd2a37c97b44212d4935b7ba2187ee4abe013488ea911055e99e24c9de3"
|
||||
}
|
||||
@@ -0,0 +1,279 @@
|
||||
{
|
||||
"scope" : "Isolated AppKit browser with simulated network replies; real Cube validation\/import; no user credentials, no production frame upload, no visible test app.",
|
||||
"count" : 68,
|
||||
"pass" : true,
|
||||
"checks" : [
|
||||
{
|
||||
"name" : "valid online LUT imports",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "server names cannot escape local library",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "repeat online download reuses matching local file",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "repeat imports do not create duplicate LUTs",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "checksum mismatch rejected before library changes",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "existing local LUT preserved after rejected download",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "cancelled online import reports cancellation",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "acceptance never displays an unsigned test app",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "constructing an unopened browser never uploads a frame",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "opening local library also preloads the online page",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "opening browser automatically uploads cached frame and previews the whole online page",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "local and online categories share one sidebar with separate stable identities",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "optional refresh action has an accurate accessibility label",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "switching to online root reuses the automatically generated previews",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "online total and pagination remain visible",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "next page requests page two",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "online child category is sent to server without sidebar prefix",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "browser limits simultaneous remote preview work",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "frame request sends image pixels without project paths or filenames",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "uploaded frame preserves timeline aspect",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "new timeline frames never trigger automatic uploads",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "downloaded verified LUT is applied through local host selection",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "clicked online LUT installs into its local category",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "download immediately adds the second-level local category to the same sidebar",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "same-time host redraw cannot regrade the online upload reference",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "comparison displays LUT title without internal identifier",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "clearing online LUT removes both local and online selection markers",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "repeated online click does not duplicate installed LUT",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "incomplete download produces a visible error",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "permission rejection removes online entries",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "local LUT library remains usable without online permission",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "local reveal button is restored after an online empty page or error",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "local selection resets previous online highlight",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "all local directory levels are available in sidebar",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "local parent includes descendants and excludes prefix siblings",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "second-level parent is indented and expandable",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "collapsing local parent hides descendants",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "expanding local parent restores descendants",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "closing stops all preview work without scheduling more uploads",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "opening without a cached frame waits without uploading fallback imagery",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "background online permission failure never disables local folder access",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "first arriving cache frame automatically fills previously empty online previews",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "portrait uploads honor longest-edge cap and preserve aspect",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "compact recent shortcuts do not start cloud uploads",
|
||||
"pass" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"pass": true,
|
||||
"sourceCommit": "c7f6311506d408abb9efb6246584212826864975",
|
||||
"remote": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"independentHTTPSClone": true,
|
||||
"trackedFilesByteMatched": 918,
|
||||
"sourceCleanBeforeBuild": true,
|
||||
"scope": "Remote clone used for formal build; main workspace pre-existing project ordering diff is excluded."
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"pass": true,
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"remote": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"independentHTTPSClone": true,
|
||||
"trackedFilesByteMatched": 921,
|
||||
"sourceCleanBeforeBuild": true,
|
||||
"scope": "Formal build uses the independent HTTPS clone, excluding the main workspace existing project ordering diff."
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/lut-unified-133/大鱼调色_统一LUT验收133.fcpxml",
|
||||
"status": "pass",
|
||||
"dtd": "/Applications/Final Cut Pro.app/Contents/Frameworks/Interchange.framework/Versions/A/Resources/FCPXMLv1_12.dtd",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"checks": {
|
||||
"dtd": true,
|
||||
"xml": true,
|
||||
"local_media": {
|
||||
"checked": 1,
|
||||
"missing": 0
|
||||
}
|
||||
},
|
||||
"version": "1.12",
|
||||
"summary": {
|
||||
"projects": 1,
|
||||
"assets": 1,
|
||||
"elements": 15
|
||||
},
|
||||
"host_validation": "not_performed_by_this_command"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"userAuthorization": "允许临时直连并恢复",
|
||||
"scope": "Only the two official Apple S3 upload hostnames; no global proxy mode/toggle changes.",
|
||||
"domains": [
|
||||
"notary-submissions-prod.s3.us-west-2.amazonaws.com",
|
||||
"notary-submissions-prod.s3-accelerate.amazonaws.com"
|
||||
],
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"submittedFilename": "dayu-color-1.22.1-build133-direct-20261111222108.zip",
|
||||
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
|
||||
"submittedZIPBytes": 43344165,
|
||||
"uploadStartedUTC": "2026-11-11T14:21:08.717106+00:00",
|
||||
"uploaderPID": 7658,
|
||||
"uploadCompleted": true,
|
||||
"newNotaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
|
||||
"submitExitCode": 0,
|
||||
"profileRestored": true,
|
||||
"liveProxyRestored": true,
|
||||
"profileOriginalBytesRestored": true,
|
||||
"editorNormalizationProtectionTriggered": true,
|
||||
"editorNormalizationReverted": true,
|
||||
"temporaryUploadCopyRemoved": true,
|
||||
"privateBackupRemovedAfterVerifiedRestore": true,
|
||||
"phase": "accepted-and-proxy-restored",
|
||||
"notaryStatus": "Accepted",
|
||||
"uploadCompletedUTC": "2026-11-11T14:25:12.259402+00:00",
|
||||
"effectiveAppleOnlyBypassVerified": true,
|
||||
"otherProxyAddressesRemainProxied": true,
|
||||
"restorationMetadataLocalOnly": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notary-direct-133-state.json"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"authorization": "用户于2026-11-11明确要求:重新发起公证。",
|
||||
"version": "1.22.1",
|
||||
"build": 133,
|
||||
"configuration": "Release",
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"previousNotaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
|
||||
"previousStatusAtResubmit": "In Progress",
|
||||
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
|
||||
"submittedZIPBytes": 43344165,
|
||||
"originalZIP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip",
|
||||
"submittedFilename": "dayu-color-1.22.1-build133-resubmit-20261111214207.zip",
|
||||
"startedUTC": "2026-11-11T13:42:07.444873+00:00",
|
||||
"recompiled": false,
|
||||
"resigned": false,
|
||||
"currentDebugInstallPreserved": true,
|
||||
"phase": "upload-aborted",
|
||||
"newNotaryID": "e2aba6a4-a3c3-4fd8-a955-80991aff65d1",
|
||||
"exitCode": 1,
|
||||
"uploadCompleted": false,
|
||||
"error": "HTTPClientError.deadlineExceeded",
|
||||
"completedParts": 0,
|
||||
"s3Acceleration": true
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"authorization": "用户明确要求重新发起公证;加速通道确认上传中止后,改用普通 S3 上传通道重试。",
|
||||
"version": "1.22.1",
|
||||
"build": 133,
|
||||
"configuration": "Release",
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"previousNotaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
|
||||
"previousStatusAtResubmit": "In Progress; original upload completion receipt not available",
|
||||
"failedAcceleratedAttempt": "e2aba6a4-a3c3-4fd8-a955-80991aff65d1",
|
||||
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
|
||||
"submittedZIPBytes": 43344165,
|
||||
"originalZIP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip",
|
||||
"submittedFilename": "dayu-color-1.22.1-build133-resubmit-standard-20261111214849.zip",
|
||||
"startedUTC": "2026-11-11T13:48:49.527458+00:00",
|
||||
"recompiled": false,
|
||||
"resigned": false,
|
||||
"s3Acceleration": false,
|
||||
"currentDebugInstallPreserved": true,
|
||||
"phase": "upload-aborted",
|
||||
"newNotaryID": "fec84478-43a1-4644-961d-c29558e583ee",
|
||||
"exitCode": 1,
|
||||
"notaryStatus": "In Progress",
|
||||
"uploadCompleted": false,
|
||||
"error": "HTTPClientError.deadlineExceeded",
|
||||
"completedParts": 0,
|
||||
"temporaryUploadCopyRemoved": true,
|
||||
"debugInstallPreserved": true,
|
||||
"readOnlyNetworkChecks": {
|
||||
"systemProxyEnabled": true,
|
||||
"ordinaryNoProxyEnvironmentIgnoredByNotarytool": true,
|
||||
"directS3TLSReachable": true,
|
||||
"directS3AnonymousHTTPStatus": 403,
|
||||
"directS3ElapsedSeconds": 2.248898
|
||||
},
|
||||
"nextStep": "Await user approval for temporary bypass limited to official Apple S3 upload hostnames; restore original rules after upload."
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"userAuthorization": "允许临时直连并恢复",
|
||||
"scope": "Only the two official Apple S3 upload hostnames; no global proxy mode/toggle changes.",
|
||||
"domains": [
|
||||
"notary-submissions-prod.s3.us-west-2.amazonaws.com",
|
||||
"notary-submissions-prod.s3-accelerate.amazonaws.com"
|
||||
],
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"submittedFilename": "dayu-color-1.22.1-build133-direct-20261111222108.zip",
|
||||
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
|
||||
"submittedZIPBytes": 43344165,
|
||||
"uploadStartedUTC": "2026-11-11T14:21:08.717106+00:00",
|
||||
"uploaderPID": 7658,
|
||||
"uploadCompleted": true,
|
||||
"newNotaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
|
||||
"submitExitCode": 0,
|
||||
"profileRestored": true,
|
||||
"liveProxyRestored": true,
|
||||
"profileOriginalBytesRestored": true,
|
||||
"editorNormalizationProtectionTriggered": true,
|
||||
"editorNormalizationReverted": true,
|
||||
"temporaryUploadCopyRemoved": true,
|
||||
"privateBackupRemovedAfterVerifiedRestore": true,
|
||||
"phase": "accepted-and-proxy-restored",
|
||||
"notaryStatus": "Accepted",
|
||||
"uploadCompletedUTC": "2026-11-11T14:25:12.259402+00:00",
|
||||
"effectiveAppleOnlyBypassVerified": true,
|
||||
"otherProxyAddressesRemainProxied": true,
|
||||
"restorationMetadataLocalOnly": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notary-direct-133-state.json"
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"version": "1.22.1",
|
||||
"build": 133,
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"notaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
|
||||
"notaryStatus": "Accepted",
|
||||
"waitCommandInterrupted": false,
|
||||
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
|
||||
"preflightPassed": true,
|
||||
"preflightChecks": 1028,
|
||||
"installed": false,
|
||||
"resume": "tools/deliver.py --resume-notary <notaryID> --submitted-zip-sha256 <submittedZIP_SHA256> --compiled-source <sourceCommit>",
|
||||
"previousSubmissions": [
|
||||
{
|
||||
"notaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
|
||||
"lastKnownStatus": "In Progress",
|
||||
"uploadCompletionVerified": false
|
||||
},
|
||||
{
|
||||
"notaryID": "e2aba6a4-a3c3-4fd8-a955-80991aff65d1",
|
||||
"uploadCompleted": false,
|
||||
"error": "S3 upload aborted, completedParts=[], deadlineExceeded"
|
||||
},
|
||||
{
|
||||
"notaryID": "fec84478-43a1-4644-961d-c29558e583ee",
|
||||
"uploadCompleted": false,
|
||||
"error": "S3 upload aborted, completedParts=[], deadlineExceeded"
|
||||
}
|
||||
],
|
||||
"uploadCompleted": true,
|
||||
"resubmissionAuthorization": "用户要求重新发起公证,并批准Apple上传地址临时直连后恢复",
|
||||
"resubmissionRecord": "verification/UnifiedLUTNotaryResubmission133.json",
|
||||
"proxyRestored": true
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"passed": true,
|
||||
"checks": [
|
||||
{
|
||||
"case": "success",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"case": "baseline-rejected",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"case": "second-replace-fails",
|
||||
"passed": true
|
||||
}
|
||||
],
|
||||
"scope": "Synthetic files in automatically cleaned NAS /tmp directories; production not modified"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"checkedAt": "2026-11-12T14:54:13.755789+00:00",
|
||||
"sourceCommit": "8c2f226d4369d5117ec626c20a05543be95143c5",
|
||||
"files": [
|
||||
{
|
||||
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
|
||||
"sha256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
|
||||
"size": 14302,
|
||||
"mode": "0o700"
|
||||
},
|
||||
{
|
||||
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"sha256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
|
||||
"size": 14099,
|
||||
"mode": "0o700"
|
||||
}
|
||||
],
|
||||
"diagnostics": {
|
||||
"DayuColorAttempts": 13,
|
||||
"oauthProofNotWritten": 13,
|
||||
"explicitProofRequiredDenials": 12
|
||||
},
|
||||
"productionWritable": false,
|
||||
"status": "baseline saved locally; production unchanged"
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"checkedAt": "2026-11-12T17:20:58.623934+00:00",
|
||||
"sourceCommit": "a20f1e674fcb28fd846ad6ad3531211a5466855f",
|
||||
"localProject": "/Volumes/备份/大鱼调色/大鱼调色/Backend",
|
||||
"nasRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
|
||||
"files": [
|
||||
{
|
||||
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
|
||||
"nativeTarget": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
|
||||
"beforeSHA256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
|
||||
"sha256": "995f8b82216f594ab7dac5058b551dcffbc8cab830536e245d6ebdcf00e20ae4",
|
||||
"beforeMetadata": {
|
||||
"uid": 1000,
|
||||
"gid": 1001,
|
||||
"mode": "0o705",
|
||||
"xattrs": {
|
||||
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAIAcKIV/a90B"
|
||||
}
|
||||
},
|
||||
"status": "pending",
|
||||
"target": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback.php"
|
||||
},
|
||||
{
|
||||
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"nativeTarget": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"beforeSHA256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
|
||||
"sha256": "c6133429b48fdec12a6f660fb214f81874d9fbf4174696c94944e6b217eb1ddf",
|
||||
"beforeMetadata": {
|
||||
"uid": 1000,
|
||||
"gid": 1001,
|
||||
"mode": "0o700",
|
||||
"xattrs": {
|
||||
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAJDdjZDTcd0B"
|
||||
}
|
||||
},
|
||||
"status": "pending",
|
||||
"target": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php"
|
||||
}
|
||||
],
|
||||
"nativeResult": {
|
||||
"ok": false,
|
||||
"files": [
|
||||
{
|
||||
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
|
||||
"nativeTarget": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
|
||||
"beforeSHA256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
|
||||
"sha256": "995f8b82216f594ab7dac5058b551dcffbc8cab830536e245d6ebdcf00e20ae4",
|
||||
"beforeMetadata": {
|
||||
"uid": 1000,
|
||||
"gid": 1001,
|
||||
"mode": "0o705",
|
||||
"xattrs": {
|
||||
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAIAcKIV/a90B"
|
||||
}
|
||||
},
|
||||
"status": "pending",
|
||||
"target": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback.php"
|
||||
},
|
||||
{
|
||||
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"nativeTarget": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"beforeSHA256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
|
||||
"sha256": "c6133429b48fdec12a6f660fb214f81874d9fbf4174696c94944e6b217eb1ddf",
|
||||
"beforeMetadata": {
|
||||
"uid": 1000,
|
||||
"gid": 1001,
|
||||
"mode": "0o700",
|
||||
"xattrs": {
|
||||
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAJDdjZDTcd0B"
|
||||
}
|
||||
},
|
||||
"status": "pending",
|
||||
"target": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php"
|
||||
}
|
||||
],
|
||||
"rolledBack": false,
|
||||
"error": "Native metadata copy mismatch",
|
||||
"rollbackErrors": []
|
||||
},
|
||||
"liveScanVerified": false,
|
||||
"status": "Stopped before replacement: fnOS copy2 added destination-only system.trim_acl; original production files unchanged",
|
||||
"resolvedBy": "Remove destination-only inherited xattrs on staged/backup files; verified clone of both actual production originals preserves bytes and exact native metadata"
|
||||
}
|
||||
@@ -0,0 +1,430 @@
|
||||
{
|
||||
"checkedAt": "2026-11-12T14:57:46.246034+00:00",
|
||||
"pass": true,
|
||||
"sourceBaseCommit": "8c2f226d4369d5117ec626c20a05543be95143c5",
|
||||
"baselineReproductions": [
|
||||
{
|
||||
"suite": "wechat_callback.php",
|
||||
"baselineFailed": true,
|
||||
"failure": "FAIL DayuColor first scan writes OAuth proof without any prior UUID binding"
|
||||
},
|
||||
{
|
||||
"suite": "online_luts.php",
|
||||
"baselineFailed": true,
|
||||
"failure": "FAIL callback denial immediately stops installed client polling with the actual reason"
|
||||
}
|
||||
],
|
||||
"suites": {
|
||||
"wechat_callback.php": {
|
||||
"pass": true,
|
||||
"count": 17,
|
||||
"scope": "Actual scoped theme callback with synthetic OAuth and WordPress services; no live scan or user data.",
|
||||
"checks": [
|
||||
{
|
||||
"name": "DayuColor first scan writes OAuth proof without any prior UUID binding",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "proof binds this login session, hardware UUID and provider identity",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "proof has a fresh server timestamp",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "transient fallback matches proof across PHP session boundaries",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "successful proof is visible in existing login diagnostics",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: FCPXQwen3ASR",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: FCPXPython",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: FCPXSoundEffects",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: qwenzhiyin",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: DayuDownie",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: DayuLightFactory",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "unrecognized apps do not receive proof",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "foreign redirect host cannot receive proof",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "wrong callback action cannot receive proof",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "invalid login session cannot receive proof",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "non-hardware UUID cannot receive proof",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "browser cookie or redirect alone cannot bypass provider state",
|
||||
"pass": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"online_luts.php": {
|
||||
"pass": true,
|
||||
"count": 50,
|
||||
"scope": "Isolated PHP/GD contracts; synthetic users, purchases and frames; no production credentials or account data.",
|
||||
"checks": [
|
||||
{
|
||||
"name": "ordinary account denied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "either individual purchase grants 14421",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "either individual purchase grants 15792",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "active member allowed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "lifetime member allowed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "expired member denied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "legacy active membership supported",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "deleted user denied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "UUID alone cannot mint an online session",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "forged shared login token rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "non-hardware UUID format rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing bound account restored without granting unpaid access",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "shared login user must match current hardware binding",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "unbound hardware cannot resume another account",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "restored session can be revoked normally",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "pending login cannot mint a credential",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "first unbound device can wait for WeChat approval",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "approval cannot bypass missing UUID binding",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "missing binding does not consume the login session",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "callback denial immediately stops installed client polling with the actual reason",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "expired callback stops installed client polling",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "past session deadline stops polling",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "another product login rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "approved product login exchanges a random token",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "credential responses cannot be cached",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "one-time login replay rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "anonymous catalogue rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "anonymous file rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "anonymous frame rejected before decoding",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "signed-in unpaid account has no online permission",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "unpaid catalogue denied server-side",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "new purchase is recognized without another login",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "device rebind revokes previous session",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "catalogue excludes private drafts",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "SQL string identifiers and sizes serialize as JSON numbers for the native client",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "authorized published LUT streams original bytes",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "private LUT cannot be downloaded by guessed ID",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "catalogue path traversal rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "server rejects modified LUT bytes",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "renderer returns a PNG",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "renderer preserves source aspect and size",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "known inverse LUT transforms pixel values correctly",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "authorized frame route returns the actual LUT effect",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "malformed image rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "over-limit image rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "truncated LUT rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "UTF-16 BOM LUT supported",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "permission revoked before another frame is processed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "logout invalidates server credential",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "logged-out token cannot be reused",
|
||||
"pass": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"totalChecks": 67,
|
||||
"syntax": "PHP lint for both production files and test suites; Python AST parse passed",
|
||||
"deploymentReview": {
|
||||
"mode": "review",
|
||||
"localProject": "/Volumes/备份/大鱼调色/大鱼调色/Backend",
|
||||
"nasRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
|
||||
"files": [
|
||||
{
|
||||
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
|
||||
"sourceSHA256": "995f8b82216f594ab7dac5058b551dcffbc8cab830536e245d6ebdcf00e20ae4",
|
||||
"productionSHA256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
|
||||
"writable": false
|
||||
},
|
||||
{
|
||||
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"sourceSHA256": "c6133429b48fdec12a6f660fb214f81874d9fbf4174696c94944e6b217eb1ddf",
|
||||
"productionSHA256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
|
||||
"writable": false
|
||||
}
|
||||
],
|
||||
"contracts": [
|
||||
{
|
||||
"suite": "wechat_callback.php",
|
||||
"count": 17,
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"suite": "online_luts.php",
|
||||
"count": 50,
|
||||
"passed": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"deployed": false,
|
||||
"productionUnchanged": true,
|
||||
"clientBinaryChanged": false,
|
||||
"installedVersion": "1.22.1 (133)",
|
||||
"liveUnboundScanVerified": false,
|
||||
"blockers": [
|
||||
"NAS production target parents are read-only in this session.",
|
||||
"Git checkpoint lock creation denied at /Users/mac/.codex/git-backup-locks; no new commit or push was performed.",
|
||||
"Remote Git readback also failed because dayu.media could not be resolved in this session."
|
||||
],
|
||||
"diffCheckPassed": true,
|
||||
"remoteReadback": {
|
||||
"verified": false,
|
||||
"reason": "git ls-remote failed: Could not resolve host: dayu.media"
|
||||
},
|
||||
"followups": [
|
||||
{
|
||||
"checkedAt": "2026-11-12T16:33:48.944437+00:00",
|
||||
"userFeedback": "未检测到本次微信OAuth确认",
|
||||
"latestDeniedAtShanghai": [
|
||||
"2026-11-13T00:01:52+08:00",
|
||||
"2026-11-13T00:03:09+08:00"
|
||||
],
|
||||
"cause": "Production callback still omits DayuColor; both fresh attempts logged oauth_proof_not_written followed by wechat_oauth_proof_required.",
|
||||
"productionStillMatchesOriginalBaseline": true,
|
||||
"nasWritable": false,
|
||||
"gitLockWritable": false,
|
||||
"deployed": false,
|
||||
"testsRerun": false,
|
||||
"testsRerunReason": "No implementation changes since the 67 passing checks."
|
||||
},
|
||||
{
|
||||
"checkedAt": "2026-11-12T16:36:49.701920+00:00",
|
||||
"userFeedback": "授权并部署",
|
||||
"deploymentAuthorized": true,
|
||||
"authorizationPersists": true,
|
||||
"preflightContractsPassed": 67,
|
||||
"deploymentCommand": "python3 Backend/deploy_wechat_login.py --apply",
|
||||
"deploymentExit": 1,
|
||||
"deploymentError": "AssertionError: 目标共享不可写",
|
||||
"stoppedBeforeProductionWrite": true,
|
||||
"productionUnchanged": true,
|
||||
"gitLockWritable": false,
|
||||
"remoteReadbackError": "Could not resolve host: dayu.media",
|
||||
"deployed": false,
|
||||
"nextStep": "Change effective session filesystem/network permissions; user deployment consent is already granted and must not be requested again."
|
||||
},
|
||||
{
|
||||
"checkedAt": "2026-11-12T16:41:10.872423+00:00",
|
||||
"userFeedback": "完整访问权限已开启截图;询问为何仍有权限问题",
|
||||
"clientFullAccessEnabled": true,
|
||||
"localConfigSandboxMode": "danger-full-access",
|
||||
"localConfigApprovalPolicy": "never",
|
||||
"processUID": 501,
|
||||
"gitLockOwnerUID": 501,
|
||||
"gitLockMode": "0755",
|
||||
"nasDirectoryOwnerUID": 501,
|
||||
"nasDirectoryMode": "0700",
|
||||
"nasMountMarkedReadOnly": false,
|
||||
"actualGitLockWritable": false,
|
||||
"actualNASWritable": false,
|
||||
"gitNetworkResult": "Could not resolve host: dayu.media",
|
||||
"conclusion": "Client setting and local config enable full access, but current command execution still has restrictions; exact propagation/root cause not confirmed. Do not ask user to grant consent again or describe NAS as mounted read-only.",
|
||||
"deployed": false
|
||||
},
|
||||
{
|
||||
"checkedAt": "2026-11-12T17:01:07.274628+00:00",
|
||||
"userFeedback": "使用用户指定的账号信息通过 NAS SSH 修复权限",
|
||||
"credentialFileRead": true,
|
||||
"credentialValuesLogged": false,
|
||||
"passwordSent": false,
|
||||
"sshEndpointAttempted": "192.168.31.21:22",
|
||||
"portSource": "standard SSH default; supplied credential file contains account and password only",
|
||||
"authenticationMode": "BatchMode connectivity test; no password authentication attempted",
|
||||
"remoteCommandRequested": "id",
|
||||
"exit": 255,
|
||||
"error": "ssh: connect to host 192.168.31.21 port 22: Operation not permitted",
|
||||
"reachedRemoteAuthentication": false,
|
||||
"remoteCommandExecuted": false,
|
||||
"remotePermissionsChanged": false,
|
||||
"deployed": false,
|
||||
"conclusion": "Direct LAN SSH is denied locally before authentication; cannot diagnose or alter NAS permissions from this execution environment. Do not change server permissions merely to address local session restrictions."
|
||||
},
|
||||
{
|
||||
"checkedAt": "2026-11-12T17:02:26.800970+00:00",
|
||||
"userEvidence": "NAS SSH settings screenshot",
|
||||
"sshEnabled": true,
|
||||
"sshPortConfirmed": 22,
|
||||
"dayuLoginAllowed": true,
|
||||
"evidenceSource": "user screenshot",
|
||||
"newConnectionAttempt": false,
|
||||
"reason": "Same endpoint already failed locally with Operation not permitted before authentication; no execution permission change observed.",
|
||||
"serverPermissionsChanged": false,
|
||||
"deployed": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"checkedAt": "2026-11-12T17:14:36.786427+00:00",
|
||||
"productionMatchesOriginalBaseline": true,
|
||||
"smBRootListCreateRenameDeleteProbePassed": true,
|
||||
"productionTargetParentsWritable": true,
|
||||
"gitLockRootWritable": true,
|
||||
"remoteMain": "8c2f226d4369d5117ec626c20a05543be95143c5",
|
||||
"isolatedChecksPassed": 67,
|
||||
"nasPermissionsChanged": false,
|
||||
"nativeMetadataBefore": {
|
||||
"wp-content/themes/ripro5/inc/oauth/weixin/callback.php": {
|
||||
"uid": 1000,
|
||||
"gid": 1001,
|
||||
"mode": "0705",
|
||||
"xattrNames": [
|
||||
"user.DOSATTRIB"
|
||||
]
|
||||
},
|
||||
"wp-content/mu-plugins/dayu-color-online-luts.php": {
|
||||
"uid": 1000,
|
||||
"gid": 1001,
|
||||
"mode": "0700",
|
||||
"xattrNames": [
|
||||
"user.DOSATTRIB"
|
||||
]
|
||||
}
|
||||
},
|
||||
"deploymentAuthorized": true,
|
||||
"deployed": false
|
||||
}
|
||||
+120
-65
@@ -22,6 +22,9 @@ static NSString *const DYBrowserFramePreference=@"com.dayu.color.lookLUTPreview.
|
||||
static NSString *const DYBrowserLayoutPreference=@"com.dayu.color.lookLUTPreview.layout";
|
||||
static NSString *const DYBrowserSidebarPreference=@"com.dayu.color.lookLUTPreview.sidebarWidth";
|
||||
static NSString *const DYBrowserRecentFolder=@"@recent";
|
||||
static NSString *const DYBrowserOnlineFolder=@"@online";
|
||||
static NSString *const DYBrowserOnlineCategoryPrefix=@"@online/";
|
||||
static BOOL DYBrowserIsOnlineFolder(NSString *folder){return [folder isEqual:DYBrowserOnlineFolder]||[folder hasPrefix:DYBrowserOnlineCategoryPrefix];}
|
||||
static NSString *DYBrowserPreference(NSString *key,DYLUTLibrary *library){return [NSString stringWithFormat:@"%@|%@",key,library.rootURL.path];}
|
||||
|
||||
// Opt-in, local-only geometry samples. No LUT names, paths or image data.
|
||||
@@ -108,7 +111,7 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
|
||||
- (void)dealloc{[_thumbnail release];[_displayName release];[_failure release];[_palette release];[super dealloc];}
|
||||
- (NSString *)accessibilityLabel{return _displayName?:@"LUT";}
|
||||
- (id)accessibilityValue{return _chosen?@"已选择":_failure.length?@"LUT 无效":_thumbnail?@"可应用":@"正在生成缩略图";}
|
||||
- (NSString *)accessibilityHelp{return _failure?:_shortcut?@"点击将此 LUT 应用到当前风格图层":@"单击应用此 LUT,双击应用并关闭浏览器";}
|
||||
- (NSString *)accessibilityHelp{return _failure?:_online?@"单击安装到本地分类并应用,双击应用并关闭浏览器":_shortcut?@"点击将此 LUT 应用到当前风格图层":@"单击应用此 LUT,双击应用并关闭浏览器";}
|
||||
- (void)drawRect:(NSRect)dirty{
|
||||
NSRect bounds=NSInsetRect(self.bounds,1,1);
|
||||
NSBezierPath *outline=[NSBezierPath bezierPathWithRoundedRect:bounds xRadius:7 yRadius:7];
|
||||
@@ -123,7 +126,7 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
|
||||
[NSGraphicsContext restoreGraphicsState];
|
||||
}else{
|
||||
[DYBrowserColor(_palette,@"background")setFill];NSRectFill(imageRect);
|
||||
NSString *message=_failure.length?@"无法预览":_online?@"点“预览当前帧”":@"生成预览…";
|
||||
NSString *message=_failure.length?@"无法预览":_online?@"加载在线预览…":@"生成预览…";
|
||||
NSDictionary *attributes=@{NSFontAttributeName:[NSFont systemFontOfSize:11],NSForegroundColorAttributeName:DYBrowserColor(_palette,@"secondary")};
|
||||
NSSize size=[message sizeWithAttributes:attributes];
|
||||
[message drawAtPoint:NSMakePoint(NSMidX(imageRect)-size.width/2,NSMidY(imageRect)-size.height/2) withAttributes:attributes];
|
||||
@@ -138,6 +141,8 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
|
||||
@interface DYBrowserFolderButton : NSButton
|
||||
@property(copy) NSDictionary *palette;
|
||||
@property BOOL chosen;
|
||||
@property NSUInteger depth;
|
||||
@property BOOL branch,expanded,disclosureClicked;
|
||||
@end
|
||||
@implementation DYBrowserFolderButton
|
||||
- (BOOL)isFlipped{return YES;}
|
||||
@@ -145,8 +150,13 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
|
||||
- (void)drawRect:(NSRect)dirty{
|
||||
if(_chosen){[DYBrowserColor(_palette,@"field")setFill];[[NSBezierPath bezierPathWithRoundedRect:NSInsetRect(self.bounds,1,1) xRadius:5 yRadius:5]fill];}
|
||||
NSMutableParagraphStyle *paragraph=[[[NSMutableParagraphStyle alloc]init]autorelease];paragraph.lineBreakMode=NSLineBreakByTruncatingMiddle;
|
||||
[self.title drawInRect:NSInsetRect(self.bounds,9,8) withAttributes:@{NSFontAttributeName:[NSFont systemFontOfSize:11 weight:_chosen?NSFontWeightSemibold:NSFontWeightRegular],NSForegroundColorAttributeName:DYBrowserColor(_palette,_chosen?@"accent":@"text"),NSParagraphStyleAttributeName:paragraph}];
|
||||
CGFloat inset=9+_depth*14;
|
||||
NSDictionary *attributes=@{NSFontAttributeName:[NSFont systemFontOfSize:11 weight:_chosen?NSFontWeightSemibold:NSFontWeightRegular],NSForegroundColorAttributeName:DYBrowserColor(_palette,_chosen?@"accent":@"text"),NSParagraphStyleAttributeName:paragraph};
|
||||
if(_branch)[(_expanded?@"▾":@"▸") drawAtPoint:NSMakePoint(inset,8) withAttributes:attributes];
|
||||
[self.title drawInRect:NSMakeRect(inset+14,8,MAX(1,NSWidth(self.bounds)-inset-19),18) withAttributes:attributes];
|
||||
}
|
||||
- (void)mouseDown:(NSEvent *)event{NSPoint p=[self convertPoint:event.locationInWindow fromView:nil];_disclosureClicked=_branch&&p.x<23+_depth*14;[super mouseDown:event];_disclosureClicked=NO;}
|
||||
- (void)keyDown:(NSEvent *)event{if(_branch&&((event.keyCode==123&&_expanded)||(event.keyCode==124&&!_expanded))){_disclosureClicked=YES;[self performClick:nil];_disclosureClicked=NO;}else [super keyDown:event];}
|
||||
@end
|
||||
|
||||
@interface DYBrowserCompareView : NSView
|
||||
@@ -245,17 +255,21 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
|
||||
NSUInteger _libraryGeneration,_selectionGeneration,_previewGeneration;
|
||||
NSInteger _columns;
|
||||
CGFloat _tileWidth,_tileHeight,_sidebarWidth;
|
||||
NSPopUpButton *_sourceMenu;
|
||||
NSButton *_previousPage;
|
||||
NSTextField *_onlineNotice;
|
||||
BOOL _onlineMode;
|
||||
NSArray *_onlineEntries,*_onlineCategories;
|
||||
NSDictionary *_onlineFrame;
|
||||
NSData *_onlinePNG;
|
||||
NSString *_onlineSelectedPath,*_localFolder;
|
||||
NSString *_onlineSelectedPath;
|
||||
NSUInteger _onlinePage,_onlineTotal,_onlineCatalogGeneration;
|
||||
NSProgress *_onlineCatalogTask;
|
||||
NSMutableSet *_onlineTransfers;
|
||||
NSMutableSet *_collapsedFolders,*_onlineQueuedPaths;
|
||||
NSCache *_onlineThumbnailCache;
|
||||
DYBrowserWork *_onlineWork;
|
||||
BOOL _onlineStarted,_onlineFramePreparing;
|
||||
NSUInteger _onlineFrameGeneration;
|
||||
}
|
||||
@end
|
||||
|
||||
@@ -278,14 +292,15 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
if(!library.recentPaths.count&&path.length)[library recordUsedPath:path];
|
||||
if(!savedFolder)savedFolder=library.recentPaths.count?DYBrowserRecentFolder:@"*";
|
||||
_library=[library retain];_previewFrames=[frames copy];_previewGeneration=1;_recentSnapshot=[library.recentPaths copy];_selectedPath=[path copy];_folder=[(savedFolder?:@"*") copy];_selection=[selection copy];
|
||||
_onlineMode=DYBrowserIsOnlineFolder(_folder);_collapsedFolders=[NSMutableSet new];
|
||||
_folderButtons=[NSMutableArray new];_tiles=[NSMutableDictionary new];_queuedPaths=[NSMutableSet new];_thumbnailCache=[NSCache new];_thumbnailCache.countLimit=600;_thumbnailCache.totalCostLimit=64*1024*1024;_previewQueue=dispatch_queue_create("com.dayu.color.lut-thumbnails",DISPATCH_QUEUE_SERIAL);dispatch_set_target_queue(_previewQueue,dispatch_get_global_queue(QOS_CLASS_UTILITY,0));
|
||||
panel.title=@"风格 LUT";panel.contentMinSize=self.class.minimumContentSize;panel.contentMaxSize=self.class.maximumContentSize;panel.releasedWhenClosed=NO;panel.hidesOnDeactivate=NO;panel.delegate=self;
|
||||
_root=[[DYBrowserCanvas alloc]initWithFrame:NSMakeRect(0,0,760,560)];_root.accessibilityLabel=@"LUT 缩略图浏览库";panel.contentView=_root;
|
||||
_titleLabel=[BrowserLabel(@"LUT 文件夹",14)retain];_titleLabel.font=[NSFont systemFontOfSize:14 weight:NSFontWeightSemibold];
|
||||
_sourceMenu=[[NSPopUpButton alloc]initWithFrame:NSZeroRect pullsDown:NO];[_sourceMenu addItemsWithTitles:@[@"本地 LUT",@"在线 LUT"]];_sourceMenu.target=self;_sourceMenu.action=@selector(sourceChanged:);_sourceMenu.accessibilityLabel=@"LUT 来源";
|
||||
_titleLabel=[BrowserLabel(@"LUT 浏览器",14)retain];_titleLabel.font=[NSFont systemFontOfSize:14 weight:NSFontWeightSemibold];
|
||||
_previousPage=[BrowserButton(@"上一页",self,@selector(previousOnlinePage:))retain];_previousPage.hidden=YES;
|
||||
_onlineNotice=[BrowserLabel(@"点“预览当前帧”将缩略图发送到 dayu.media,仅供本次处理,不保存帧。",11)retain];_onlineNotice.hidden=YES;
|
||||
_onlineNotice=[BrowserLabel(@"打开时自动上传缓存帧缩略图用于在线预览;服务器不保存帧。",11)retain];_onlineNotice.hidden=YES;
|
||||
_onlinePage=1;_onlineTransfers=[NSMutableSet new];
|
||||
_onlineQueuedPaths=[NSMutableSet new];_onlineThumbnailCache=[NSCache new];_onlineThumbnailCache.countLimit=600;_onlineThumbnailCache.totalCostLimit=64*1024*1024;
|
||||
[NSDistributedNotificationCenter.defaultCenter addObserver:self selector:@selector(onlineIdentityChanged:) name:DYOnlineLUTIdentityChanged object:nil];
|
||||
_countLabel=[BrowserLabel(@"0 个 LUT",11)retain];
|
||||
_statusLabel=[BrowserLabel(@"单击缩略图应用 LUT",11)retain];
|
||||
@@ -330,20 +345,22 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(gridScrolled:) name:NSViewBoundsDidChangeNotification object:_gridScroll.contentView];
|
||||
_splitView=[[NSSplitView alloc]initWithFrame:NSMakeRect(12,80,736,425)];_splitView.vertical=YES;_splitView.dividerStyle=NSSplitViewDividerStyleThin;_splitView.accessibilityLabel=@"调整 LUT 文件夹与预览宽度";
|
||||
_folderScroll.frame=NSMakeRect(0,0,162,425);_gridScroll.frame=NSMakeRect(163,0,573,425);[_splitView addSubview:_folderScroll];[_splitView addSubview:_gridScroll];
|
||||
for(NSView *view in @[_titleLabel,_sourceMenu,_previousPage,_onlineNotice,_countLabel,_statusLabel,_sizeLabel,_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_hd,_sizeSlider,_layoutMenu,_splitView,_comparePanel])[_root addSubview:view];
|
||||
for(NSView *view in @[_titleLabel,_previousPage,_onlineNotice,_countLabel,_statusLabel,_sizeLabel,_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_hd,_sizeSlider,_layoutMenu,_splitView,_comparePanel])[_root addSubview:view];
|
||||
[_gridDocument addSubview:_emptyLabel];
|
||||
_root.postsFrameChangedNotifications=YES;_root.postsBoundsChangedNotifications=YES;
|
||||
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(browserRootResized:) name:NSViewFrameDidChangeNotification object:_root];
|
||||
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(browserRootResized:) name:NSViewBoundsDidChangeNotification object:_root];
|
||||
_splitView.delegate=self;[self reloadLibrary:nil];[self updatePalette:palette];[self layoutBrowser];
|
||||
_splitView.delegate=self;[self updateSourceControls];[self reloadLibrary:nil];[self updatePalette:palette];[self layoutBrowser];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
- (void)dealloc{
|
||||
[NSDistributedNotificationCenter.defaultCenter removeObserver:self];
|
||||
[_onlineCatalogTask cancel];[_onlineCatalogTask release];for(NSProgress *task in _onlineTransfers)[task cancel];[_onlineTransfers release];
|
||||
[_onlineEntries release];[_onlineCategories release];[_onlineFrame release];[_onlinePNG release];[_onlineSelectedPath release];[_localFolder release];
|
||||
[_sourceMenu release];[_previousPage release];[_onlineNotice release];
|
||||
_onlineWork.cancelled=YES;_onlineWork.owner=nil;[_onlineWork release];
|
||||
[_collapsedFolders release];[_onlineQueuedPaths release];[_onlineThumbnailCache release];
|
||||
[_onlineEntries release];[_onlineCategories release];[_onlineFrame release];[_onlinePNG release];[_onlineSelectedPath release];
|
||||
[_previousPage release];[_onlineNotice release];
|
||||
[_recentSnapshot release];
|
||||
[NSObject cancelPreviousPerformRequestsWithTarget:self];[[NSNotificationCenter defaultCenter]removeObserver:self];
|
||||
[_libraryTask cancel];[_libraryTask release];[_selectionTask cancel];[_selectionTask release];[_progressTimer invalidate];[_progressTimer release];
|
||||
@@ -365,7 +382,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
_popover=[[NSPopover alloc]init];_popover.behavior=NSPopoverBehaviorSemitransient;_popover.animates=YES;_popover.delegate=self;_popover.contentSize=size;
|
||||
NSViewController *controller=[[[NSViewController alloc]init]autorelease];controller.title=@"风格 LUT";controller.view=_root;_popover.contentViewController=controller;
|
||||
[self layoutBrowser];
|
||||
@try {[_popover showRelativeToRect:view.bounds ofView:view preferredEdge:NSRectEdgeMaxX];_visible=_popover.shown;[self refreshComparison];}
|
||||
@try {[_popover showRelativeToRect:view.bounds ofView:view preferredEdge:NSRectEdgeMaxX];_visible=_popover.shown;[self startOnlinePreviews];[self refreshComparison];}
|
||||
@catch(NSException *exception){[self finishClosing];}
|
||||
}
|
||||
- (BOOL)visible{return !_closed&&((_remoteMode||_detached)?_visible:_popover.shown);}
|
||||
@@ -379,6 +396,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
parent.postsFrameChangedNotifications=YES;parent.postsBoundsChangedNotifications=YES;
|
||||
for(NSNotificationName name in @[NSViewFrameDidChangeNotification,NSViewBoundsDidChangeNotification])[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(remoteParentGeometryChanged:) name:name object:parent];
|
||||
[parent addSubview:_root];DYBrowserGeometrySample(_root,@"before-content-origin-alignment");[self fitRemoteParent];
|
||||
[self startOnlinePreviews];
|
||||
DYBrowserGeometrySample(_root,@"attached-before-sdk-reply");
|
||||
// Attach synchronously: the SDK reads the first child before reply returns.
|
||||
dispatch_async(dispatch_get_main_queue(),^{if(!_closed){[self configurePresentationWindow];[self refreshComparison];DYBrowserGeometrySample(_root,@"after-sdk-reply");}});
|
||||
@@ -389,12 +407,12 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
_embedded=YES;_folderScroll.hasVerticalScroller=YES;_gridScroll.hasVerticalScroller=YES;_gridScroll.hasHorizontalScroller=NO;_gridScroll.scrollerStyle=NSScrollerStyleOverlay;[self showInRemoteParent:parent close:closeAction];_done.title=@"返回调整";
|
||||
}
|
||||
- (void)embedRecentInView:(NSView *)parent{
|
||||
_compactRecent=YES;_embedded=YES;
|
||||
_compactRecent=YES;_embedded=YES;_onlineMode=NO;
|
||||
[_folder release];_folder=[DYBrowserRecentFolder copy];
|
||||
_root.accessibilityLabel=@"最近使用 LUT 快捷入口";
|
||||
_titleLabel.stringValue=@"最近使用";_titleLabel.font=[NSFont systemFontOfSize:11 weight:NSFontWeightSemibold];
|
||||
[_layoutMenu selectItemAtIndex:0];_sizeSlider.doubleValue=120;
|
||||
for(NSView *view in @[_sourceMenu,_previousPage,_onlineNotice,_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_hd,_comparePanel,_sizeLabel,_sizeSlider,_layoutMenu,_splitView])view.hidden=YES;
|
||||
for(NSView *view in @[_previousPage,_onlineNotice,_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_hd,_comparePanel,_sizeLabel,_sizeSlider,_layoutMenu,_splitView])view.hidden=YES;
|
||||
[_root addSubview:_gridScroll];_gridScroll.hasHorizontalScroller=NO;_gridScroll.scrollerStyle=NSScrollerStyleOverlay;
|
||||
[self showInRemoteParent:parent close:nil];[self rebuildGrid];[self refreshRecentSelection:_selectedPath];
|
||||
}
|
||||
@@ -512,7 +530,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
if(!small){_sizeLabel.frame=NSMakeRect(174,h-29,68,18);_sizeSlider.frame=NSMakeRect(246,h-31,100,20);_statusLabel.frame=NSMakeRect(444,h-29,MAX(0,w-540),18);}
|
||||
}
|
||||
NSRect browser=_splitView.frame,comparison=browser;
|
||||
_sourceMenu.hidden=NO;_titleLabel.hidden=YES;_sourceMenu.frame=NSMakeRect(12,_embedded?6:10,145,26);
|
||||
_titleLabel.hidden=NO;_titleLabel.frame=NSMakeRect(12,_embedded?8:12,145,20);
|
||||
_countLabel.frame=NSMakeRect(165,_embedded?10:14,MAX(60,w-350),18);
|
||||
_onlineNotice.hidden=!_onlineMode;_previousPage.hidden=!_onlineMode;
|
||||
if(_onlineMode){
|
||||
@@ -564,7 +582,6 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
}
|
||||
- (void)layoutChanged:(id)sender{[NSUserDefaults.standardUserDefaults setInteger:_layoutMenu.indexOfSelectedItem forKey:DYBrowserPreference(DYBrowserLayoutPreference,_library)];[self layoutBrowser];}
|
||||
- (void)resetThumbnailWork {
|
||||
for(NSProgress *task in _onlineTransfers)[task cancel];[_onlineTransfers removeAllObjects];
|
||||
_work.cancelled=YES;_work.owner=nil;[_work release];_work=[DYBrowserWork new];_work.owner=self;[_queuedPaths removeAllObjects];
|
||||
}
|
||||
- (void)updateVisibleTiles {
|
||||
@@ -627,11 +644,12 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
[_selectionFrameTime release];_selectionFrameTime=nil;
|
||||
// Online uploads retain the same pre-application reference as local previews.
|
||||
// Only a new playhead time may replace it after applying a look.
|
||||
if(_onlineMode){NSDictionary *snapshot=[frames copy];[_previewFrames release];_previewFrames=snapshot;return;}
|
||||
if(_onlineMode){NSDictionary *snapshot=[frames copy];[_previewFrames release];_previewFrames=snapshot;if(_onlineStarted&&!_onlineFrame&&!_onlineFramePreparing)[self captureOnlineFrame];return;}
|
||||
NSData *current=_previewFrames[currentQuality],*next=frames[nextQuality];
|
||||
BOOL unchanged=sameSize&&[current isEqualToData:next];
|
||||
NSDictionary *snapshot=[frames copy];
|
||||
[_previewFrames release];_previewFrames=snapshot;
|
||||
if(_onlineStarted&&!_onlineFrame&&!_onlineFramePreparing)[self captureOnlineFrame];
|
||||
if(unchanged)return;
|
||||
[self invalidatePreviewImages];
|
||||
[self layoutBrowser];
|
||||
@@ -639,11 +657,12 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
- (void)qualityChanged:(id)sender{
|
||||
[NSUserDefaults.standardUserDefaults setBool:_hd.state==NSControlStateValueOn forKey:DYBrowserPreference(DYBrowserHDPreference,_library)];
|
||||
[self invalidatePreviewImages];
|
||||
if(_onlineMode){[_onlinePNG release];_onlinePNG=nil;[_onlineFrame release];_onlineFrame=nil;[self setStatus:@"画质已切换,请重新点击预览当前帧。"];}
|
||||
if(_onlineMode)[self captureOnlineFrame];
|
||||
[self layoutBrowser];
|
||||
}
|
||||
- (void)comparePositionChanged:(id)sender{_compareView.position=_compareSlider.doubleValue;}
|
||||
- (NSDictionary *)previewResultForPath:(NSString *)path{
|
||||
if([path hasPrefix:@"online:"])return [_onlineThumbnailCache objectForKey:path];
|
||||
DYBrowserTile *tile=_tiles[path];
|
||||
if(tile.previewGeneration==_previewGeneration){
|
||||
if(tile.thumbnail)return @{@"image":tile.thumbnail};
|
||||
@@ -700,10 +719,15 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
}
|
||||
- (void)setStatus:(NSString *)status{_statusLabel.stringValue=status?:@"";_statusLabel.toolTip=status;}
|
||||
- (void)rebuildFolders{
|
||||
if(_onlineMode){NSMutableArray *paths=[NSMutableArray arrayWithObject:@"*"];[paths addObjectsFromArray:_onlineCategories?:@[]];if(![paths containsObject:_folder]){[_folder release];_folder=[@"*" copy];}[_folderPaths release];_folderPaths=[paths copy];[self updateVisibleFolders];return;}
|
||||
NSMutableArray *paths=[NSMutableArray arrayWithObjects:DYBrowserRecentFolder,@"*",nil];NSMutableSet *seen=[NSMutableSet setWithArray:paths];
|
||||
for(NSString *folder in _library.folders){NSString *top=folder.length?[folder componentsSeparatedByString:@"/"].firstObject:@"";if(![seen containsObject:top]){[paths addObject:top];[seen addObject:top];}}
|
||||
if(![seen containsObject:_folder]){[_folder release];_folder=[@"*" copy];}
|
||||
[paths addObject:DYBrowserOnlineFolder];[seen addObject:DYBrowserOnlineFolder];
|
||||
for(NSString *category in _onlineCategories){NSString *path=[DYBrowserOnlineCategoryPrefix stringByAppendingString:category];[seen addObject:path];if(![_collapsedFolders containsObject:DYBrowserOnlineFolder])[paths addObject:path];}
|
||||
for(NSString *folder in _library.folders){
|
||||
[seen addObject:folder];BOOL hidden=NO;NSString *parent=folder.stringByDeletingLastPathComponent;
|
||||
while(parent.length){if([_collapsedFolders containsObject:parent]){hidden=YES;break;}parent=parent.stringByDeletingLastPathComponent;}
|
||||
if(!hidden)[paths addObject:folder];
|
||||
}
|
||||
if(![seen containsObject:_folder]&&!DYBrowserIsOnlineFolder(_folder)){[_folder release];_folder=[@"*" copy];}
|
||||
[_folderPaths release];_folderPaths=[paths copy];[self updateVisibleFolders];
|
||||
}
|
||||
- (void)folderScrolled:(NSNotification *)notification{if(!_layingOut)[self updateVisibleFolders];}
|
||||
@@ -714,8 +738,14 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
NSMutableArray *buttons=[NSMutableArray array];
|
||||
for(NSUInteger i=first;i<end;i++){
|
||||
NSString *path=_folderPaths[i];DYBrowserFolderButton *button=existing[path];
|
||||
if(!button){button=[[[DYBrowserFolderButton alloc]initWithFrame:NSZeroRect]autorelease];button.bordered=NO;button.target=self;button.action=@selector(folderClicked:);button.identifier=path;
|
||||
button.title=[path isEqual:DYBrowserRecentFolder]?@"最近使用":[path isEqualToString:@"*"]?@"全部 LUT":path.length?[@"▸ " stringByAppendingString:path]:@"未分类";button.toolTip=path.length?path:_library.rootURL.path;button.palette=_palette;button.accessibilityLabel=[@"LUT 文件夹:" stringByAppendingString:button.title];[_folderDocument addSubview:button];}
|
||||
if(!button){button=[[[DYBrowserFolderButton alloc]initWithFrame:NSZeroRect]autorelease];button.bordered=NO;button.target=self;button.action=@selector(folderClicked:);button.identifier=path;button.palette=_palette;[_folderDocument addSubview:button];}
|
||||
BOOL online=DYBrowserIsOnlineFolder(path),onlineRoot=[path isEqual:DYBrowserOnlineFolder];
|
||||
button.title=onlineRoot?@"在线 LUT":online?[path substringFromIndex:DYBrowserOnlineCategoryPrefix.length]:[path isEqual:DYBrowserRecentFolder]?@"最近使用":[path isEqual:@"*"]?@"全部本地 LUT":[path isEqual:@"在线 LUT"]?@"已安装 LUT":path.length?path.lastPathComponent:@"未分类";
|
||||
button.depth=online?(onlineRoot?0:1):path.length?MAX(0,(NSInteger)path.pathComponents.count-1):0;
|
||||
button.branch=onlineRoot;
|
||||
if(!online&&path.length)for(NSString *folder in _library.folders)if([folder hasPrefix:[path stringByAppendingString:@"/"]]){button.branch=YES;break;}
|
||||
button.expanded=![_collapsedFolders containsObject:path];button.toolTip=online?button.title:path.length?path:_library.rootURL.path;
|
||||
button.accessibilityLabel=[@"LUT 分类:" stringByAppendingString:button.title];button.accessibilityHelp=button.branch?@"点击箭头展开或折叠,点击名称选择此分类;左右方向键展开或折叠。":button.toolTip;
|
||||
button.chosen=[path isEqualToString:_folder];button.frame=NSMakeRect(4,4+i*35,MAX(92,_folderScroll.contentSize.width-8),33);[button setNeedsDisplay:YES];[buttons addObject:button];
|
||||
}
|
||||
for(NSButton *button in _folderButtons)if(![buttons containsObject:button])[button removeFromSuperview];[_folderButtons setArray:buttons];
|
||||
@@ -734,7 +764,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
_importFiles.enabled=YES;_importFolder.enabled=YES;_refresh.title=@"刷新";_done.title=_embedded?@"返回调整":@"完成";_done.toolTip=nil;
|
||||
}
|
||||
- (void)reloadLibrary:(id)sender{
|
||||
if(_onlineMode){[self loadOnlineCatalog];return;}
|
||||
if(_onlineMode&&_onlineStarted&&sender){[self captureOnlineFrame];[self loadOnlineCatalog];return;}
|
||||
if(_libraryTask){[_libraryTask cancel];[self setStatus:@"正在取消…"];return;}
|
||||
[self invalidatePreviewImages];NSUInteger generation=++_libraryGeneration;
|
||||
NSProgress *task=[_library reloadAsync:^(NSError *error){
|
||||
@@ -743,11 +773,19 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
}];[self beginLibraryTask:task];
|
||||
}
|
||||
- (void)folderClicked:(NSButton *)sender{
|
||||
if(!sender.identifier)return;
|
||||
if([sender isKindOfClass:DYBrowserFolderButton.class]&&[(DYBrowserFolderButton *)sender disclosureClicked]){
|
||||
if([_collapsedFolders containsObject:sender.identifier])[_collapsedFolders removeObject:sender.identifier];else [_collapsedFolders addObject:sender.identifier];
|
||||
[self rebuildFolders];[self layoutBrowser];return;
|
||||
}
|
||||
BOOL online=DYBrowserIsOnlineFolder(sender.identifier),changed=online!=_onlineMode;
|
||||
if(changed){++_selectionGeneration;[_selectionTask cancel];[_selectionTask release];_selectionTask=nil;}
|
||||
[_folder release];_folder=[sender.identifier copy];
|
||||
if(_onlineMode){_onlinePage=1;[self loadOnlineCatalog];return;}
|
||||
_onlineMode=online;[self updateSourceControls];
|
||||
if(changed){_search.stringValue=@"";[_comparisonOriginal release];_comparisonOriginal=nil;[self resetThumbnailWork];}
|
||||
[[NSUserDefaults standardUserDefaults]setObject:_folder forKey:DYBrowserPreference(DYBrowserFolderPreference,_library)];
|
||||
for(DYBrowserFolderButton *button in _folderButtons){button.chosen=[button.identifier isEqualToString:_folder];[button setNeedsDisplay:YES];}
|
||||
[self rebuildGrid];
|
||||
if(online){_onlinePage=1;[self loadOnlineCatalog];}else{[self rebuildGrid];[self setStatus:@"单击缩略图应用 LUT"];}
|
||||
}
|
||||
- (void)searchChanged:(id)sender{if(_onlineMode){[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(debouncedOnlineSearch) object:nil];[self performSelector:@selector(debouncedOnlineSearch) withObject:nil afterDelay:.35];}else [self rebuildGrid];}
|
||||
- (void)controlTextDidChange:(NSNotification *)notification{if(notification.object==_search)[self searchChanged:_search];}
|
||||
@@ -774,7 +812,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
BOOL recent=[_folder isEqual:DYBrowserRecentFolder];NSArray *history=_recentSnapshot;
|
||||
for(NSDictionary *entry in (_onlineMode?(_onlineEntries?:@[]):recent?[_library recentEntriesForPaths:history]:_library.entries)){
|
||||
NSString *folder=entry[@"relativeFolder"]?:@"";
|
||||
BOOL folderMatch=recent||[_folder isEqualToString:@"*"]||[folder isEqualToString:_folder]||(_folder.length&&[folder hasPrefix:[_folder stringByAppendingString:@"/"]]);
|
||||
BOOL folderMatch=_onlineMode||recent||[_folder isEqualToString:@"*"]||[folder isEqualToString:_folder]||(_folder.length&&[folder hasPrefix:[_folder stringByAppendingString:@"/"]]);
|
||||
if(folderMatch&&(!query.length||[entry[@"name"]localizedCaseInsensitiveContainsString:query]||[entry[@"relativePath"]localizedCaseInsensitiveContainsString:query]))[entries addObject:entry];
|
||||
}
|
||||
if(!recent&&!_onlineMode)[entries sortUsingComparator:^NSComparisonResult(NSDictionary *a,NSDictionary *b){NSUInteger i=[history indexOfObject:a[@"path"]],j=[history indexOfObject:b[@"path"]];if(i==j)return [a[@"relativePath"]localizedStandardCompare:b[@"relativePath"]];return i<j?NSOrderedAscending:NSOrderedDescending;}];
|
||||
@@ -841,22 +879,24 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
if(![[NSFileManager defaultManager]createDirectoryAtURL:_library.rootURL withIntermediateDirectories:YES attributes:nil error:&error]){[self showImportError:error];return;}
|
||||
if(![[NSWorkspace sharedWorkspace]openURL:_library.rootURL])[self setStatus:@"无法打开 LUT 文件夹"];
|
||||
}
|
||||
- (void)sourceChanged:(id)sender {
|
||||
BOOL online=_sourceMenu.indexOfSelectedItem==1;if(online==_onlineMode||_compactRecent)return;
|
||||
[self cancelOnlineWork];
|
||||
++_selectionGeneration;[_selectionTask cancel];[_selectionTask release];_selectionTask=nil;
|
||||
if(online){[_localFolder release];_localFolder=[_folder copy];[_folder release];_folder=[@"*" copy];_onlinePage=1;}
|
||||
else {[_folder release];_folder=[(_localFolder?:@"*")copy];}
|
||||
_onlineMode=online;_importFiles.title=online?@"预览当前帧":@"导入文件…";_importFolder.title=online?@"登录 / 权限":@"导入文件夹…";_reveal.title=online?@"下一页":@"打开 LUT 文件夹";
|
||||
_importFiles.accessibilityLabel=online?@"在线预览当前帧":@"导入 LUT 文件";_importFolder.accessibilityLabel=online?@"主 APP 登录与在线 LUT 权限":@"导入 LUT 文件夹";
|
||||
_reveal.enabled=YES;
|
||||
_search.stringValue=@"";[self invalidatePreviewImages];[self rebuildFolders];[self rebuildGrid];
|
||||
if(online)[self loadOnlineCatalog];else [self setStatus:@"单击缩略图应用 LUT"];
|
||||
- (void)updateSourceControls {
|
||||
_importFiles.title=_onlineMode?@"更新预览":@"导入文件…";_importFolder.title=_onlineMode?@"登录 / 权限":@"导入文件夹…";_reveal.title=_onlineMode?@"下一页":@"打开文件夹";
|
||||
_importFiles.accessibilityLabel=_onlineMode?@"更新在线预览缓存帧":@"导入 LUT 文件";_importFolder.accessibilityLabel=_onlineMode?@"主 APP 登录与在线 LUT 权限":@"导入 LUT 文件夹";
|
||||
_reveal.enabled=!_onlineMode||_onlinePage*60<_onlineTotal;
|
||||
}
|
||||
- (void)resetOnlinePreviewWork {
|
||||
_onlineWork.cancelled=YES;_onlineWork.owner=nil;[_onlineWork release];_onlineWork=[DYBrowserWork new];_onlineWork.owner=self;
|
||||
for(NSProgress *task in _onlineTransfers)[task cancel];[_onlineTransfers removeAllObjects];[_onlineQueuedPaths removeAllObjects];
|
||||
}
|
||||
- (void)startOnlinePreviews {
|
||||
if(_onlineStarted||_closed||_compactRecent||!self.visible)return;
|
||||
_onlineStarted=YES;[self captureOnlineFrame];[self loadOnlineCatalog];
|
||||
}
|
||||
- (void)cancelOnlineWork {
|
||||
++_onlineCatalogGeneration;[_onlineCatalogTask cancel];[_onlineCatalogTask release];_onlineCatalogTask=nil;
|
||||
for(NSProgress *task in _onlineTransfers)[task cancel];[_onlineTransfers removeAllObjects];
|
||||
[_onlinePNG release];_onlinePNG=nil;[_onlineFrame release];_onlineFrame=nil;
|
||||
[self resetOnlinePreviewWork];_onlineWork.cancelled=YES;_onlineWork.owner=nil;
|
||||
++_onlineFrameGeneration;_onlineFramePreparing=NO;
|
||||
[_onlinePNG release];_onlinePNG=nil;[_onlineFrame release];_onlineFrame=nil;[_onlineThumbnailCache removeAllObjects];
|
||||
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(debouncedOnlineSearch) object:nil];
|
||||
}
|
||||
- (void)onlineIdentityChanged:(NSNotification *)notification {
|
||||
@@ -865,22 +905,23 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
[self->_onlineEntries release];self->_onlineEntries=nil;[self->_onlineCategories release];self->_onlineCategories=nil;
|
||||
[self->_onlineSelectedPath release];self->_onlineSelectedPath=nil;
|
||||
[self invalidatePreviewImages];
|
||||
if(self->_onlineMode){[self rebuildFolders];[self rebuildGrid];[self loadOnlineCatalog];}
|
||||
[self rebuildFolders];[self rebuildGrid];if(self->_onlineStarted){[self captureOnlineFrame];[self loadOnlineCatalog];}
|
||||
});
|
||||
}
|
||||
- (void)previousOnlinePage:(id)sender {if(_onlineMode&&_onlinePage>1){_onlinePage--;[self loadOnlineCatalog];}}
|
||||
- (void)debouncedOnlineSearch {if(_onlineMode&&!_closed){_onlinePage=1;[self loadOnlineCatalog];}}
|
||||
- (void)loadOnlineCatalog {
|
||||
if(!_onlineMode||_closed)return;
|
||||
if(!_onlineStarted||_closed)return;
|
||||
NSUInteger generation=++_onlineCatalogGeneration;[_onlineCatalogTask cancel];[_onlineCatalogTask release];_onlineCatalogTask=nil;
|
||||
[self setStatus:@"正在加载在线 LUT…"];_previousPage.enabled=NO;_reveal.enabled=NO;
|
||||
NSDictionary *body=@{@"page":@(_onlinePage),@"category":[_folder isEqual:@"*"]?@"":_folder,@"search":_search.stringValue?:@""};
|
||||
if(_onlineMode){[self setStatus:@"正在加载在线 LUT…"];_previousPage.enabled=NO;_reveal.enabled=NO;}
|
||||
NSString *category=[_folder hasPrefix:DYBrowserOnlineCategoryPrefix]?[_folder substringFromIndex:DYBrowserOnlineCategoryPrefix.length]:@"";
|
||||
NSDictionary *body=@{@"page":@(_onlineMode?_onlinePage:1),@"category":category,@"search":_onlineMode?(_search.stringValue?:@""):@""};
|
||||
NSProgress *task=[DYOnlineLUTClient request:@"/dayu-color/v1/lut/catalog" body:body authenticated:YES completion:^(NSData *data,NSError *error){
|
||||
if(self->_closed||!self->_onlineMode||generation!=self->_onlineCatalogGeneration)return;
|
||||
if(self->_closed||generation!=self->_onlineCatalogGeneration)return;
|
||||
[self->_onlineCatalogTask release];self->_onlineCatalogTask=nil;
|
||||
NSDictionary *value=[DYOnlineLUTClient JSON:data error:&error];
|
||||
if(error||![value[@"items"]isKindOfClass:NSArray.class]||![value[@"categories"]isKindOfClass:NSArray.class]){
|
||||
[self->_onlineEntries release];self->_onlineEntries=nil;[self rebuildGrid];[self setStatus:error.localizedDescription?:@"在线目录格式无效。"];self->_emptyLabel.stringValue=error.localizedDescription?:@"请刷新在线目录。";return;
|
||||
[self->_onlineEntries release];self->_onlineEntries=nil;[self updateSourceControls];if(self->_onlineMode){[self rebuildGrid];[self setStatus:error.localizedDescription?:@"在线目录格式无效。"];self->_emptyLabel.stringValue=error.localizedDescription?:@"请刷新在线目录。";}return;
|
||||
}
|
||||
NSMutableArray *entries=[NSMutableArray array],*categories=[NSMutableArray array];
|
||||
for(id category in value[@"categories"])if([category isKindOfClass:NSString.class]&&[category length]<=191)[categories addObject:category];
|
||||
@@ -890,8 +931,9 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
}
|
||||
[self->_onlineEntries release];self->_onlineEntries=[entries copy];[self->_onlineCategories release];self->_onlineCategories=[categories copy];
|
||||
self->_onlineTotal=[value[@"total"]isKindOfClass:NSNumber.class]?MAX(0,[value[@"total"]integerValue]):entries.count;
|
||||
self->_previousPage.enabled=self->_onlinePage>1;self->_reveal.enabled=self->_onlinePage*60<self->_onlineTotal;
|
||||
[self rebuildFolders];[self rebuildGrid];[self setStatus:@"点选下载并应用;预览当前帧可在线生成效果图。"];
|
||||
self->_previousPage.enabled=self->_onlinePage>1;[self updateSourceControls];
|
||||
[self rebuildFolders];if(self->_onlineMode){[self rebuildGrid];[self setStatus:@"自动加载在线预览;点击安装到本地分类并应用。"]; }else [self layoutBrowser];
|
||||
[self generateOnlinePreviews];
|
||||
}];
|
||||
_onlineCatalogTask=[task retain];
|
||||
}
|
||||
@@ -899,42 +941,54 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
for(NSDictionary *entry in _onlineEntries)if([entry[@"path"]isEqual:path])return entry;return nil;
|
||||
}
|
||||
- (void)captureOnlineFrame {
|
||||
if(!_onlineMode||_closed)return;
|
||||
if(!_onlineStarted||_closed||_compactRecent)return;
|
||||
NSString *quality=[self previewQualityForFrames:_previewFrames];NSData *pixels=_previewFrames[quality];NSValue *value=_previewFrames[[quality stringByAppendingString:@"Size"]];
|
||||
NSSize size=value?value.sizeValue:NSZeroSize;
|
||||
if(!pixels.length||size.width<1||size.height<1||pixels.length!=(NSUInteger)(size.width*size.height)*16){[self setStatus:@"暂无时间线帧,请先移动播放头或播放片段再重试。"];return;}
|
||||
[self invalidatePreviewImages];[_onlinePNG release];_onlinePNG=nil;[_onlineFrame release];_onlineFrame=[_previewFrames copy];
|
||||
DYBrowserWork *work=_work;[self setStatus:@"正在准备当前帧缩略图…"];
|
||||
dispatch_async(_previewQueue,^{@autoreleasepool{
|
||||
if(work.cancelled)return;NSError *error=nil;CGFloat scale=MIN(1.,sqrt(230400./(size.width*size.height)));
|
||||
if(!pixels.length||size.width<1||size.height<1||pixels.length!=(NSUInteger)(size.width*size.height)*16){if(_onlineMode)[self setStatus:@"等待时间线缓存帧,收到后将自动预览。"];return;}
|
||||
NSUInteger generation=++_onlineFrameGeneration;_onlineFramePreparing=YES;
|
||||
[self resetOnlinePreviewWork];[_onlineThumbnailCache removeAllObjects];
|
||||
[_onlinePNG release];_onlinePNG=nil;[_onlineFrame release];_onlineFrame=[_previewFrames copy];
|
||||
if(_onlineMode){[self invalidatePreviewImages];for(DYBrowserTile *tile in _tiles.allValues){tile.thumbnail=nil;tile.failure=nil;tile.previewGeneration=0;[tile setNeedsDisplay:YES];}[_compareView setOriginal:nil styled:nil];_compareSlider.enabled=NO;}
|
||||
DYBrowserWork *work=_onlineWork;if(_onlineMode)[self setStatus:@"正在准备当前缓存帧缩略图…"];
|
||||
dispatch_async(dispatch_get_global_queue(QOS_CLASS_USER_INITIATED,0),^{@autoreleasepool{
|
||||
if(work.cancelled)return;NSError *error=nil;
|
||||
CGFloat scale=MIN(1.,MIN(640./MAX(size.width,size.height),sqrt(230400./(size.width*size.height))));
|
||||
NSSize output=NSMakeSize(MAX(1,floor(size.width*scale)),MAX(1,floor(size.height*scale)));
|
||||
NSImage *image=DYLUTThumbnail(nil,pixels,size.width,size.height,output,&error);
|
||||
NSBitmapImageRep *bitmap=(NSBitmapImageRep *)image.representations.firstObject;
|
||||
NSData *png=[bitmap isKindOfClass:NSBitmapImageRep.class]?[bitmap representationUsingType:NSBitmapImageFileTypePNG properties:@{}]:nil;
|
||||
dispatch_async(dispatch_get_main_queue(),^{DYLUTBrowser *owner=work.owner;if(!owner||work.cancelled)return;
|
||||
if(!png||png.length>1500000){[owner setStatus:error.localizedDescription?:@"当前帧缩略图无法用于在线预览。"];return;}
|
||||
owner->_onlinePNG=[png copy];[owner setStatus:@"正在上传缩略图并生成在线效果预览…"];[owner generateVisibleThumbnails];[owner refreshComparison];
|
||||
dispatch_async(dispatch_get_main_queue(),^{DYLUTBrowser *owner=work.owner;if(!owner||work.cancelled||generation!=owner->_onlineFrameGeneration)return;
|
||||
owner->_onlineFramePreparing=NO;
|
||||
if(!png||png.length>1500000){[owner->_onlineFrame release];owner->_onlineFrame=nil;if(owner->_onlineMode)[owner setStatus:error.localizedDescription?:@"当前帧缩略图无法用于在线预览。"];return;}
|
||||
owner->_onlinePNG=[png copy];if(owner->_onlineMode)[owner setStatus:@"正在上传缓存帧并批量生成在线预览…"];
|
||||
[owner generateOnlinePreviews];[owner layoutBrowser];[owner refreshComparison];
|
||||
});
|
||||
}});
|
||||
}
|
||||
- (void)generateOnlinePreviews {
|
||||
if(!_onlinePNG||_closed||!_onlineStarted)return;
|
||||
// Prioritize on-screen results, then preload the remainder of this page.
|
||||
if(_onlineMode)for(NSDictionary *entry in _visibleEntries)if(_tiles[entry[@"path"]]&&![self previewResultForPath:entry[@"path"]])[self requestOnlinePreview:entry[@"path"]];
|
||||
for(NSDictionary *entry in _onlineEntries)if(![self previewResultForPath:entry[@"path"]])[self requestOnlinePreview:entry[@"path"]];
|
||||
}
|
||||
- (void)requestOnlinePreview:(NSString *)path {
|
||||
if(!_onlinePNG||!_work||[_queuedPaths containsObject:path]||_onlineTransfers.count>=2)return;
|
||||
if(!_onlinePNG||!_onlineWork||_onlineWork.cancelled||[_onlineQueuedPaths containsObject:path]||[_onlineThumbnailCache objectForKey:path]||_onlineTransfers.count>=2)return;
|
||||
NSDictionary *entry=[self onlineEntryForPath:path];if(!entry)return;
|
||||
[_queuedPaths addObject:path];DYBrowserWork *work=_work;
|
||||
[_onlineQueuedPaths addObject:path];DYBrowserWork *work=_onlineWork;
|
||||
__block NSProgress *task=nil;
|
||||
task=[DYOnlineLUTClient request:[NSString stringWithFormat:@"/dayu-color/v1/lut/%@/preview",entry[@"id"]] body:@{@"frame_png":[_onlinePNG base64EncodedStringWithOptions:0]} authenticated:YES completion:^(NSData *data,NSError *error){
|
||||
DYLUTBrowser *owner=work.owner;if(!owner||work.cancelled)return;
|
||||
if(task)[owner->_onlineTransfers removeObject:task];[owner->_queuedPaths removeObject:path];
|
||||
if(task)[owner->_onlineTransfers removeObject:task];[owner->_onlineQueuedPaths removeObject:path];
|
||||
NSImage *image=nil;
|
||||
if(!error&&data.length>24&&!memcmp(data.bytes,"\x89PNG\r\n\x1a\n",8)){
|
||||
uint32_t width=0,height=0;memcpy(&width,(const uint8_t *)data.bytes+16,4);memcpy(&height,(const uint8_t *)data.bytes+20,4);width=CFSwapInt32BigToHost(width);height=CFSwapInt32BigToHost(height);
|
||||
if(width&&height&&width<=640&&height<=640&&(uint64_t)width*height<=230400)image=[[[NSImage alloc]initWithData:data]autorelease];
|
||||
}
|
||||
NSDictionary *result=image?@{@"image":image}:@{@"error":error.localizedDescription?:@"服务器未返回有效的预览图。"};
|
||||
[owner->_thumbnailCache setObject:result forKey:path cost:image?data.length:128];
|
||||
[owner->_onlineThumbnailCache setObject:result forKey:path cost:image?data.length:128];
|
||||
DYBrowserTile *tile=owner->_tiles[path];if(tile)[owner displayPreviewResult:result inTile:tile];
|
||||
[owner refreshComparison];[owner generateVisibleThumbnails];
|
||||
if(error)[owner setStatus:error.localizedDescription];else [owner setStatus:@"在线预览已更新;点击 LUT 下载并应用。"];
|
||||
[owner refreshComparison];[owner generateOnlinePreviews];
|
||||
if(owner->_onlineMode){if(error)[owner setStatus:error.localizedDescription];else [owner setStatus:@"在线预览已更新;点击安装到本地分类并应用。"]; }
|
||||
}];
|
||||
if(task)[_onlineTransfers addObject:task];
|
||||
}
|
||||
@@ -950,6 +1004,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
self->_selectionTask=[[self->_library importOnlineData:data identifier:entry[@"id"] name:name category:entry[@"category"] checksum:entry[@"checksum"] completion:^(NSString *path,NSError *failure){
|
||||
if(self->_closed||generation!=self->_selectionGeneration)return;[self->_selectionTask release];self->_selectionTask=nil;
|
||||
if(failure||!path){[self setStatus:failure.localizedDescription?:@"LUT 保存失败。"];return;}
|
||||
[self rebuildFolders];[self layoutBrowser];
|
||||
void (^applied)(NSError *)=^(NSError *applyError){
|
||||
if(self->_closed||generation!=self->_selectionGeneration)return;[self->_selectionTask release];self->_selectionTask=nil;
|
||||
if(applyError){[self setStatus:applyError.localizedDescription];return;}
|
||||
@@ -957,7 +1012,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
[self->_onlineSelectedPath release];self->_onlineSelectedPath=[onlinePath copy];
|
||||
[self->_selectionFrameTime release];self->_selectionFrameTime=[self->_previewFrames[@"time"]retain];
|
||||
for(DYBrowserTile *button in self->_tiles.allValues){button.chosen=[button.identifier isEqual:onlinePath];[button setNeedsDisplay:YES];}
|
||||
[self refreshComparison];[self setStatus:[@"已下载并应用 " stringByAppendingString:name]];if(closeAfter)[self close];
|
||||
[self refreshComparison];[self setStatus:[@"已安装到本地分类并应用:" stringByAppendingString:name]];if(closeAfter)[self close];
|
||||
};
|
||||
self->_selectionTask=[(self->_selection?self->_selection(path,applied):DYLUTPrepareAsync(path,applied))retain];
|
||||
}]retain];
|
||||
|
||||
+2
-2
@@ -17,9 +17,9 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>XPC!</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.22.0</string>
|
||||
<string>1.22.1</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>131</string>
|
||||
<string>133</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string></string>
|
||||
<key>PlugInKit</key>
|
||||
|
||||
@@ -261,7 +261,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
|
||||
self.accessButton=DYButton(@"刷新权限",DYBlue(),NO,self,@selector(refreshOnlineAccount:));
|
||||
self.logoutButton=DYButton(@"退出登录",DYSecondary(),NO,self,@selector(logoutOnlineAccount:));
|
||||
DYSurface *accountCard=DYCard(DYBlue(),DYStack(@[DYHeading(@"person.crop.circle",@"大鱼账号 · 在线 LUT",DYBlue()),self.accountTitle,self.accountDetail,
|
||||
DYLabel(@"有效会员,或已购买文章 14421 / 15792,即可浏览和下载全部已发布在线 LUT。\n在插件中点击“在线预览当前帧”会发送当前帧缩略图到 dayu.media;服务器仅在本次请求中处理,不保存预览帧。",12,NSFontWeightRegular,DYSecondary()),
|
||||
DYLabel(@"有效会员,或已购买文章 14421 / 15792,即可浏览和下载全部已发布在线 LUT。\n打开插件的 LUT 浏览器时,会自动发送当前缓存帧缩略图到 dayu.media 并批量加载在线预览;服务器不保存预览帧。点击在线 LUT 后安装到本地分类,可离线使用。",12,NSFontWeightRegular,DYSecondary()),
|
||||
DYStack(@[self.loginButton,self.accessButton,self.logoutButton],NSUserInterfaceLayoutOrientationHorizontal,8)],NSUserInterfaceLayoutOrientationVertical,12));
|
||||
NSArray *features = @[
|
||||
@[@"slider.horizontal.3",@"完整调色",@"精准还原,自由塑造",@"CST 色彩管理、光影与曲线\nHSL、色轮、蜘蛛盘与白平衡",DYBlue()],
|
||||
@@ -291,7 +291,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
|
||||
BOOL allowed=[value[@"allowed"]isKindOfClass:NSNumber.class]&&[value[@"allowed"]boolValue];
|
||||
self.accountTitle.stringValue=allowed?@"在线 LUT 已开放":@"账号已登录,尚无在线 LUT 权限";
|
||||
NSString *name=[value[@"username"]isKindOfClass:NSString.class]?value[@"username"]:@"大鱼用户";
|
||||
self.accountDetail.stringValue=[NSString stringWithFormat:@"%@\n%@",name,allowed?@"已识别本机绑定账号。在 FCP 的 LUT 浏览器切换“在线 LUT”即可使用。":@"需要有效会员,或购买文章 14421 / 15792。购买后点击刷新权限。"];
|
||||
self.accountDetail.stringValue=[NSString stringWithFormat:@"%@\n%@",name,allowed?@"已识别本机绑定账号。在 FCP 的 LUT 浏览器分类栏中展开“在线 LUT”即可使用。":@"需要有效会员,或购买文章 14421 / 15792。购买后点击刷新权限。"];
|
||||
}
|
||||
- (void)restoreBoundOnlineAccount {
|
||||
NSUInteger generation=++self.accountGeneration;[self.accountTask cancel];
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.22.0</string>
|
||||
<string>1.22.1</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>131</string>
|
||||
<string>133</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
|
||||
@@ -1,23 +1,55 @@
|
||||
# 大鱼调色开发交接
|
||||
|
||||
更新于 2026-11-11(Asia/Shanghai)。这是新对话的接手入口。历史设计和实现细节按需查阅专项交接,复现和交付证据以对应版本的报告为准。
|
||||
更新于 2026-11-13(Asia/Shanghai)。当前入口;历史设计按需查阅专项记录。
|
||||
|
||||
## 1.22.0(131)在线 LUT
|
||||
## 2026-11-13 微信首次登录修复:上线准备完成
|
||||
|
||||
已接入主 APP 硬件 UUID 账号识别、微信登录回退、在线分类/搜索/分页、校验下载及手动当前帧在线预览。有效会员,或购买文章 **14421 / 15792 任意一个**的账号,可浏览全部已发布在线 LUT;每次请求由服务端复核设备绑定与权益。本地调色保持离线可用。点击“预览当前帧”才上传最长边 640 的 PNG 缩略图到 dayu.media,服务器内存处理,不保存帧;移动播放头不会自动上传。
|
||||
用户已授权上线,无需再次确认。根因是主题微信回调的 OAuth 证明名单缺少 `DayuColor`;另有在线 LUT 会话把拒绝状态按 HTTP 200 返回,使现有客户端继续等待。仅修改两个生产文件:`wp-content/themes/ripro5/inc/oauth/weixin/callback.php` 和 `wp-content/mu-plugins/dayu-color-online-luts.php`。原 UUID、账号、过期、设备数量、权限与一次性兑换校验保留;现有正式 APP 1.22.1(133)无需更新。
|
||||
|
||||
两个 MU 后端文件已按 NAS 生产基线流程部署。44 项后端合约、46 项原生在线浏览器合约、40 项本地浏览器回归、6 项线上未授权检查和既有更新接口检查通过。最终正式 APP 的签名、票据、Gatekeeper、1,028 项正式安装检查、17 套模板及 PluginKit 唯一路径通过。
|
||||
此前会话的目录及网络限制已解除:本会话实测 SMB 可列举、新建、重命名、删除测试目录,Git 已推送并回读 `d944ad86528783fc5c9d30bc2e71660f9524f155`;未修改 NAS 权限。生产两文件仍等于原基线。67 项隔离测试通过,使用合成 OAuth/账号,不加载生产配置。部署脚本改用原文件所有者的原生 SSH 原子替换,保留真实 UID/GID、权限及扩展属性;分别为 1000:1001、0705/0700,不采用 SMB 显示的合成模式。NAS 临时目录验证了正常部署、基线变化拒绝、第二文件失败后回滚三个场景,全部通过并清理临时文件。[部署安全检查](verification/WeChatDeploymentSafety.json)
|
||||
|
||||
已从唯一正式路径启动 **1.22.0(131)**,APP 公证 `1e57ee70-d099-4942-91fd-29a2d5f47a44` Accepted;实际编译为独立远端检出的 `d979f8958caf36cc7b97ea838960c69f7fbb4d91`。主 APP 自动识别 macOS 硬件 UUID 绑定账号,退出保持退出,刷新恢复通过。FCP 12.4 独立合成色卡验证共享登录、1,233 个 LUT/17 分类、云端当前帧缩略图、下载应用、原图划像和 2:01→3:24 播放,宿主正常退出。主 APP 留在已登录可用状态。只上传合成色卡,未上传用户素材。真实接口另核对全部 21 页、搜索、分类与下载摘要。
|
||||
第一次上线在替换前发现 fnOS 的 `copy2` 会产生源文件没有的 `system.trim_acl`,保护检查中止,生产两原件均未变;保留该次旁路备份。已修正仅清除新副本多出的继承属性,并在两个实际目标目录分别完成源文件复制及原生元数据一致检查,临时副本已清理。[中止记录](verification/WeChatLoginDeploymentAttempt1.json)
|
||||
|
||||
现场发现 SQL 编号/大小以字符串输出导致空网格,已在后端修正,44 项 PHP 合约覆盖,并在正式 FCP 重新验收通过。新机未绑定时的微信 OAuth 首次扫码和 Motion 宿主未实测。130 的 APP/PKG 曾通过验证但未发行,现已被 131 取代。最终 PKG 已完成 Installer 签名、公证 `bfb54c49-b563-4420-9e9b-2319e1565420`、票据与 Gatekeeper 验证,20 项验包通过;大小 44557321 字节,SHA-256 `82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd`。Release 准备上传。
|
||||
下一步:提交并推送部署工具检查点;通过 `python3 Backend/deploy_wechat_login.py --apply --ssh-control <已认证连接>` 上线,逐文件原目录旁路备份并核验摘要和原生元数据;验证服务器 PHP、实际 HTTP 会话拒绝响应。真实未绑定账号需发起全新扫码,旧拒绝会话不能用于验收。现有 Xcode 工程排序差异不归本轮,不暂存。
|
||||
|
||||
[专项实现和生产映射](research/OnlineLUTIntegration-20261111.md) · [部署](verification/OnlineLUTDeployment.json) · [安装](verification/Delivery1.22.0.json) · [宿主范围](verification/HostOnlineLUT1.22.0.json) · [构建恢复](verification/OnlineLUTBuildRecovery.json)。127/128/129/130 为未发行候选,其诊断证据保留;最终 131 验证后已清理已知替换备份。工程文件既有的 Security 引用排序差异保留,不纳入本任务提交。站点文章和更新通道暂仍为 1.21.8(126),本轮没有改动它们。
|
||||
[原生产基线](verification/WeChatLoginBaseline.json) · [修复与67项检查](verification/WeChatLoginFix.json) · [当前可写预检](verification/WeChatLoginReady.json) · [此前受限会话历史](research/HandoffWeChatLogin-20261113-before-deployment.md)。本轮不修改 APP、安装包、Release、文章或更新通道。
|
||||
|
||||
## 1.22.1(133):正式交付完成
|
||||
|
||||
打开 LUT 浏览器时自动发送当前缓存帧缩略图并批量生成当前页在线效果图;首次无帧自动补载,播放时不连续上传,可手动“更新预览”。在线与本地共用分类树,“在线 LUT”包含子分类,本地支持二级及更深目录的展开/折叠。点击在线 LUT 后校验、安装到本地对应分类并应用,重复文件复用。后台在线失败不影响本地操作。
|
||||
|
||||
**当前唯一正式安装** `/Library/Plug-Ins/FxPlug/大鱼调色.app`,Release 1.22.1(133),主 ID `com.dayu.color`、服务 `com.dayu.color.XPC`,团队 B3W25FX5H5。APP 公证 `ae55bcd2-d131-4ef2-8733-405e28d92f7e` **Accepted**,票据、签名、Gatekeeper 和唯一 PluginKit 路径通过。1,028 项正式安装原生自检通过,17 套模板已核对。[正式安装](verification/Delivery1.22.1.json)
|
||||
|
||||
FCP 12.4 从正式路径加载服务,观察到打开浏览器即自动出现合成色卡在线效果图;目录 1,233 项,在线子分类和本地二级目录共用侧栏。点击 online:1446 后确认安装到本地分类、应用及原图划像,短播放通过。[正式宿主验收](verification/HostUnifiedLUT1.22.1.json)。此前 Debug 已获用户“我已测试可行”确认;临时 Debug 例外结束,Debug 替换备份、旧 131 回滚、生成 Release APP/服务和公证 ZIP 已清理。用户 LUT 与既有合成验收库保留。[清理](verification/Cleanup1.22.1.json)。Motion 未复测。
|
||||
|
||||
68 项在线/分类/导入合约、40 项本地浏览器回归及 Release 发布前 1,028 项检查通过。实际编译源码 `7f833757da243f2a4610c23c36ec278b44c80ad4`,独立 HTTPS 检出构建,921 个文件逐字节核对,[编译来源](verification/UnifiedLUTBuildSource133.json)。既有工程 Security 引用排序差异保留,未混入本轮提交。
|
||||
|
||||
### 公证上传与代理
|
||||
|
||||
用户明确授权“允许临时直连并恢复”。此前两种代理上传均在 S3 分片超时,已有编号不代表上传完成。仅对两个官方 Apple S3 上传地址临时直连,43,344,165 字节的原 Release ZIP 完整上传并 Accepted,未重编或重签。上传后原配置逐字节恢复并经原生热重载生效,临时例外消失、HTTP/HTTPS 原代理继续开启,私有备份清理;凭据及私有配置未入 Git。[上传与恢复](verification/UnifiedLUTNotaryResubmission133.json)。旧失败编号不再作为等待目标。
|
||||
|
||||
### 发行与恢复
|
||||
|
||||
已从验收后的正式 APP 通过 PKG 工坊生成 `/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg`,44,557,648 字节,SHA-256 `a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663`。PKG 公证 `b1f73787-263b-47d7-b126-68d858437594` Accepted,签名、票据、Gatekeeper、20项展开验包和普通用户载荷权限通过;本轮未再次执行 PKG 系统安装脚本。[验包](verification/Package1.22.1.json)。PKG 上传同样仅临时直连两个 Apple 地址,原始配置与系统代理状态已完整恢复,私有备份清理。[恢复记录](verification/PackageNotaryRoute1.22.1.json)
|
||||
|
||||
[正式 Release 431](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.1-unified-luts-20261111) 的附件70已发布。草稿经正常已登录浏览器完整下载,发布后再次完整下载,均匹配44,557,648字节和上述SHA-256。[发行与下载](verification/Release1.22.1.json) · [草稿下载](verification/ReleaseDraftDownload1.22.1.json)。临时下载副本和恢复检出均清理,本地当前发行包保留;历史发行包不动。
|
||||
|
||||
标签 `v1.22.1-unified-luts-20261111` 已推送,指向完整提交 `cdf23fb4fd1863867945e528ae060522d566b457`。独立 HTTPS 检出核对939个跟踪文件,255个APP/模板/色彩管理构建输入与实际编译7f833757…完全一致,Git完整性通过,无LFS或子模块。[恢复核验](verification/Recovery1.22.1.json)。最终交接与验证记录另随main检查点推送,不移动发行标签。
|
||||
|
||||
安装说明长行仅改成相邻字符串以兼容本机Python,AST与原脚本一致,未改APP。Motion未复测;APP更新通道仍1.21.8(126)。
|
||||
|
||||
### 2026-11-12 文章下载与更新记录
|
||||
|
||||
按用户“更新文章链接”,仅更新 [文章15792](https://dayu.media/15792/) 的主下载URL和原文件名,现为1.22.1(133)正式PKG。附件15979,站内URL `https://dayu.media/wp-content/uploads/2026/11/1794476859-979a88b6cac1538.pkg`;完整下载44,557,648字节,SHA-256与上述正式发行包一致,签名/票据/Gatekeeper通过。经 `dayu-publish-article` 与独立幂等键更新,无重复附件;下载验证临时副本已清理。
|
||||
|
||||
文章现已完整同步1.22.1:标题、摘要、SEO、开头主下载/构建号和安装说明一致;新增1.22.1自动在线预览、统一分类、本地多级目录与点击安装记录,并补齐1.22.0在线资源库记录。说明了缓存帧上传、服务器内存处理与“更新预览”的行为,以及本地调色无需登录、在线LUT所需账号权限。历史更新、6张图片、17个效果清单和原生App打开代码保留。
|
||||
|
||||
独立认证回读确认文案与提交完全一致,三个SEO开关保留;普通及新请求前台均HTTP200,标题和三项SEO单份且准确,新更新记录、1.22.1安装指引、图片和代码区块均已显示。此前下载地址/原文件名、价格50元/会员免费、作者、分类、封面及FCPX设置保持原值;不重传安装包。APP更新通道本轮未改,仍1.21.8(126)。[文章提交](Packaging/article-1.22.1.json) · [发布与前台验证](verification/Article1.22.1.json) · [下载完整性](verification/ArticleLink1.22.1.json)。本轮文章更新完成,无待办。
|
||||
|
||||
## 接手与恢复
|
||||
|
||||
- 工程根:`/Volumes/备份/大鱼调色/大鱼调色`;主分支 `main`,远程 `https://dayu.media/git/dayu/dayu-color.git`。
|
||||
- 正式编译和公证安装:`tools/deliver.py`;宿主验收后输入 `complete`。正式验收 APP 制包:`Packaging/build_pkg.py`,Release 发布:`Packaging/publish_release.py`。
|
||||
- 后端:`Backend/` 为源码备份,本机专项工程 `/Users/mac/Downloads/dayumedia/dayu-color-beta`;NAS 仅生产部署,不在其上编译。生产相对路径与校验见专项记录及 `Backend/deploy_online_luts.py`。
|
||||
- 继续测试时先在主 APP 自动识别硬件绑定账号,未绑定时微信登录,再在插件切换“在线 LUT”;手动预览当前帧后核对真实目录、下载和云端图像,新机 OAuth 首次扫码仍需真实用户确认,不能用硬件恢复验收代替。
|
||||
- [恢复说明](RECOVERY.md) · [此前版本交接归档](research/HandoffHistory-20261111-before-online-release.md)。凭据、私钥和账号令牌留在钥匙串,不进入仓库。
|
||||
- 工程 `/Volumes/备份/大鱼调色/大鱼调色`;远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。
|
||||
- Release 构建、公证、固定路径安装用 `tools/deliver.py`;宿主验收后输入 `complete`。PKG 用 `Packaging/build_pkg.py`,Release 用 `Packaging/publish_release.py`。不要重发已 Accepted 的 APP。
|
||||
- 主 APP 自动识别硬件绑定账号,未绑定时微信登录;新机首次扫码仍需真实用户完成。权限与本地安装不依赖另建后端。
|
||||
- 后端 `Backend/` 为有范围备份;本机专项 `/Users/mac/Downloads/dayumedia/dayu-color-beta`,NAS 仅生产部署,不在其上编译。本轮未改。
|
||||
- [恢复说明](RECOVERY.md) · [前一正式发行 131](research/OnlineLUTRelease131Handoff.md) · [早期交接](research/HandoffHistory-20261111-before-online-release.md)。私钥、证书、令牌、公证 profile 独立安全恢复,不进入仓库。
|
||||
在新工单中引用
屏蔽一个用户