forked from Furumi/furumi-web
Tell the account why its shared podcast is not published
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5b2973f958
commit
3a1c50e78e
9 files changed
+179
-46
No files matched your search
@@ -856,6 +856,8 @@ test('sharing a feed URL that looks private asks first and sends back exactly th
|
||||
T: {
|
||||
podcastSharePrivate: 'private', podcastSharePublished: 'published', podcastSharePublishing: 'publishing',
|
||||
podcastShareDiscoveryOff: 'discovery off', podcastSharePending: 'pending', podcastShareUnavailable: 'unavailable',
|
||||
podcastShareDiscoveryUnavailable: 'discovery unavailable', podcastShareOverLimit: 'over limit',
|
||||
podcastShareFailed: 'publication failed',
|
||||
podcastWarningSecretQuery: 'parameter «{name}»', podcastWarningPrivateHost: 'host {host}',
|
||||
podcastWarningEntropyQuery: 'value «{name}»', podcastWarningEntropyPath: 'path', podcastWarningOther: 'other',
|
||||
},
|
||||
@@ -913,8 +915,16 @@ test('sharing a feed URL that looks private asks first and sends back exactly th
|
||||
assert.equal(store.shareStatus(), 'pending');
|
||||
store.share = Object.assign({}, privateShare, {shared: true, discovery: 'off'});
|
||||
assert.equal(store.shareStatus(), 'discovery off');
|
||||
store.share = Object.assign({}, privateShare, {shared: true, discovery: 'unavailable'});
|
||||
assert.equal(store.shareStatus(), 'discovery unavailable');
|
||||
store.share = Object.assign({}, privateShare, {shared: true});
|
||||
assert.equal(store.shareStatus(), 'publishing');
|
||||
store.share = Object.assign({}, privateShare, {shared: true, held: 'over_limit'});
|
||||
assert.equal(store.shareStatus(), 'over limit');
|
||||
store.share = Object.assign({}, privateShare, {shared: true, held: 'failed'});
|
||||
assert.equal(store.shareStatus(), 'publication failed');
|
||||
store.share = Object.assign({}, privateShare, {shared: true, published: true, held: null});
|
||||
assert.equal(store.shareStatus(), 'published');
|
||||
|
||||
// A public feed is shared directly; a failure is shown.
|
||||
store.share = Object.assign({}, privateShare, {warnings: []});
|
||||
|
||||
Reference in new issue
Block a user