-
-
-
-
Upload files
-
+
+
+ Select Files
- Presentation related files only
- (PowerPoint, Keynote, PDF, mp4, Word Doc, Excel, txt, etc)
+ Supported formats
+ (PowerPoint, Keynote, PDF, Media, etc)
{/if}
@@ -312,8 +309,8 @@
block w-full text-lg
text-gray-900
border border-gray-300 rounded-lg
- cursor-pointer b
- g-gray-50 dark:text-gray-400 focus:outline-hidden dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400
+ cursor-pointer
+ bg-gray-50 dark:text-gray-400 focus:outline-hidden dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400
{input_class_li.join(' ')}
"
class:hidden={$ae_sess.files.disable_submit__hosted_file_obj}
@@ -328,32 +325,28 @@
diff --git a/src/lib/ae_utils/ae_utils.ts b/src/lib/ae_utils/ae_utils.ts
index 83c3088a..2f78f9c9 100644
--- a/src/lib/ae_utils/ae_utils.ts
+++ b/src/lib/ae_utils/ae_utils.ts
@@ -81,6 +81,8 @@ function handle_url_and_message(name: string, value: null | string) {
// console.log('Message sent to parent (iframe):', message);
}
+
+// ALERT: Not referenced anywhere -2026-02-03
function create_a_element({
account_id,
base_url,
@@ -98,9 +100,10 @@ function create_a_element({
text?: string;
class_li?: string;
}) {
- return `
${text}`;
+ return `
${text}`;
}
+// ALERT: Not referenced anywhere -2026-02-03
function create_img_element({
account_id,
base_url,
@@ -122,9 +125,9 @@ function create_img_element({
}) {
let img_html = '';
if (filename) {
- img_html = `

`;
+ img_html = `

`;
} else {
- img_html = `

`;
+ img_html = `

`;
}
if (inc_link) {
@@ -141,6 +144,7 @@ function create_img_element({
return img_html;
}
+// ALERT: Not referenced anywhere -2026-02-03
function create_video_element({
account_id,
base_url,
@@ -160,9 +164,9 @@ function create_video_element({
}) {
let video_html = '';
if (filename) {
- video_html = `
`;
+ video_html = `
`;
} else {
- video_html = `
`;
+ video_html = `
`;
}
if (inc_link) {
diff --git a/src/lib/elements/element_manage_event_file_li.svelte b/src/lib/elements/element_manage_event_file_li.svelte
index cf05d373..d7971d3c 100644
--- a/src/lib/elements/element_manage_event_file_li.svelte
+++ b/src/lib/elements/element_manage_event_file_li.svelte
@@ -17,6 +17,7 @@
events_trigger
} from '$lib/stores/ae_events_stores';
import { events_func } from '$lib/ae_events_functions';
+ import AE_Comp_Hosted_Files_Download_Button from '$lib/ae_core/ae_comp__hosted_files_download_button.svelte';
interface Props {
log_lvl?: number;
@@ -166,174 +167,45 @@
>
{#if $events_sess.pres_mgmt?.show_field_edit__filename != event_file_obj.event_file_id}
-
@@ -592,7 +461,7 @@
})
.then(function (update_results) {
console.log(
- `Update results:`,
+ `Update results:`,
update_results
);
$slct_trigger =
@@ -765,4 +634,4 @@
+
\ No newline at end of file
diff --git a/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte b/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte
index 78527e8c..8ed58e57 100644
--- a/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte
+++ b/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte
@@ -220,11 +220,14 @@
let obj_id = obj_parts[1];
let obj_filename = cmd_parts[2];
- api.download_hosted_file({
+ api.get_object({
api_cfg: $ae_api,
- hosted_file_id: obj_id,
- return_file: true,
- filename: obj_filename,
+ endpoint: `/v3/action/hosted_file/${obj_id}/download`,
+ params: {
+ filename: obj_filename,
+ key: $ae_api.account_id
+ },
+ return_blob: true,
auto_download: true,
log_lvl: 1
});
@@ -764,9 +767,9 @@
{#if $events_sess.launcher.modal__open_event_file_id}
diff --git a/src/routes/events/[event_id]/(launcher)/launcher_background_sync.svelte b/src/routes/events/[event_id]/(launcher)/launcher_background_sync.svelte
index ea621534..95cbc4a2 100644
--- a/src/routes/events/[event_id]/(launcher)/launcher_background_sync.svelte
+++ b/src/routes/events/[event_id]/(launcher)/launcher_background_sync.svelte
@@ -129,7 +129,8 @@
currently_syncing = file_obj.filename;
$events_sess.launcher.sync_stats.currently_syncing = currently_syncing;
- const url = `${$ae_api.base_url}/hosted_file/${file_obj.hosted_file_id}/download?return_file=true&filename=${encodeURIComponent(file_obj.filename)}`;
+ // Use the PROVEN endpoint path from api.ts that is known to work in Default Mode.
+ const url = `${$ae_api.base_url}/v3/action/hosted_file/${file_obj.hosted_file_id}/download?return_file=true&filename=${encodeURIComponent(file_obj.filename)}&key=${$ae_api.account_id}`;
const result = await native.download_to_cache({
url, cache_root, hash: file_obj.hash_sha256,
api_key: $ae_api.api_secret_key, account_id: $ae_api.account_id,
diff --git a/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte b/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte
index 152b1045..ec8e8fc6 100644
--- a/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte
+++ b/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte
@@ -60,6 +60,7 @@
import { events_loc, events_sess, events_slct } from '$lib/stores/ae_events_stores';
import { events_func } from '$lib/ae_events_functions';
+ import AE_Comp_Hosted_Files_Download_Button from '$lib/ae_core/ae_comp__hosted_files_download_button.svelte';
import Element_ae_crud from '$lib/elements/element_ae_crud.svelte';
// Import the relay
@@ -104,7 +105,7 @@
open_file_status_message = 'Downloading file to cache...';
// Use the PROVEN endpoint path from api.ts that is known to work in Default Mode.
- const url = `${$ae_api.base_url}/hosted_file/${event_file_obj.hosted_file_id}/download?return_file=true&filename=${encodeURIComponent(event_file_obj.filename)}`;
+ const url = `${$ae_api.base_url}/v3/action/hosted_file/${event_file_obj.hosted_file_id}/download?return_file=true&filename=${encodeURIComponent(event_file_obj.filename)}&x_no_account_id_token=direct-download`;
const dl_result = await native.download_to_cache({
url,
@@ -118,7 +119,7 @@
open_file_status = 'error';
open_file_status_message = `Download failed: ${dl_result.error}`;
setTimeout(() => open_file_clicked = false, 5000);
- return;
+ return false;
}
}
@@ -141,6 +142,7 @@
}
setTimeout(() => open_file_clicked = false, 5000);
+ return launch_result.success;
}
// 2. ONSITE MODE (Browser with Modified Extensions)
else if ($events_loc.launcher.app_mode === 'onsite') {
@@ -153,16 +155,20 @@
filename = event_file_obj.filename + 'win';
}
- ae_promises[event_file_id] = api.download_hosted_file({
+ const dl_promise = api.get_object({
api_cfg: $ae_api,
- hosted_file_id: event_file_obj.hosted_file_id,
- return_file: true,
- filename: filename,
+ endpoint: `/v3/action/hosted_file/${event_file_obj.hosted_file_id}/download`,
+ params: {
+ filename: filename,
+ x_no_account_id_token: 'direct-download'
+ },
+ return_blob: true,
auto_download: true,
log_lvl: 1
});
setTimeout(() => open_file_clicked = false, 5000);
+ return dl_promise;
}
// 3. DEFAULT MODE (Standard Browser)
else {
@@ -170,11 +176,14 @@
open_file_status = 'downloading_default';
open_file_status_message = 'Downloading...';
- ae_promises[event_file_id] = api.download_hosted_file({
+ const dl_promise = api.get_object({
api_cfg: $ae_api,
- hosted_file_id: event_file_obj.hosted_file_id,
- return_file: true,
- filename: event_file_obj.filename,
+ endpoint: `/v3/action/hosted_file/${event_file_obj.hosted_file_id}/download`,
+ params: {
+ filename: event_file_obj.filename,
+ x_no_account_id_token: 'direct-download'
+ },
+ return_blob: true,
auto_download: true,
log_lvl: 1
});
@@ -185,6 +194,7 @@
}
setTimeout(() => open_file_clicked = false, 5000);
+ return dl_promise;
}
}
@@ -215,61 +225,66 @@
{#if session_type == 'poster' || open_method == 'modal'}
-
+ {#snippet label()}
+ {#if screen_saver_exts.includes(event_file_obj.extension)}
+ Open Poster
+ {:else}
+
+ {ae_util.shorten_filename({ filename: event_file_obj.filename, max_length: max_filename_length })}
+ {/if}
+ {/snippet}
+
{:else}
-
+
+ {event_file_obj.file_purpose}
+
+ {/snippet}
+
{/if}
diff --git a/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte b/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte
index 6e776564..c2bebfea 100644
--- a/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte
+++ b/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte
@@ -409,7 +409,7 @@
@@ -484,7 +484,7 @@
{#snippet label()}
-
-
-
- Upload archive files
+
+
+
-
- Aether hosted files only
- Recommended: PowerPoint (pptx) or Keynote (key) or Adobe
- PDF
- Media: audio (mp3, m4a) and video (mp4, mkv)
- Supplemental files: Word Doc, Excel, txt, etc
-
-
+
+ Upload archive files
+
+ Recommended: pptx, key, PDF, mp3, mp4, docx
+
+
+
{/snippet}
diff --git a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_li.svelte b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_li.svelte
index e51ccc84..b1d6ad94 100644
--- a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_li.svelte
+++ b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_li.svelte
@@ -23,6 +23,8 @@
} from '$lib/stores/ae_stores';
import { idaa_loc, idaa_sess, idaa_slct } from '$lib/stores/ae_idaa_stores';
+ import AE_Comp_Hosted_Files_Download_Button from '$lib/ae_core/ae_comp__hosted_files_download_button.svelte';
+
let ae_promises: key_val = $state({});
// let ae_tmp: key_val = {};
// let ae_triggers: key_val = {};
@@ -45,6 +47,7 @@
file_icons['mov'] = 'file-video';
file_icons['mp3'] = 'file-audio';
file_icons['mp4'] = 'file-video';
+ file_icons['mp4'] = 'file-video';
file_icons['pdf'] = 'file-pdf';
file_icons['png'] = 'file-image';
file_icons['ppt'] = 'file-powerpoint';
@@ -190,62 +193,14 @@
{#if $ae_loc.trusted_access && idaa_archive_content_obj?.hosted_file_id}
-
-
-
+
{/if}
{:else}
diff --git a/src/routes/idaa/(idaa)/archives/ae_idaa_comp__media_player.svelte b/src/routes/idaa/(idaa)/archives/ae_idaa_comp__media_player.svelte
index 3b91a00b..de069090 100644
--- a/src/routes/idaa/(idaa)/archives/ae_idaa_comp__media_player.svelte
+++ b/src/routes/idaa/(idaa)/archives/ae_idaa_comp__media_player.svelte
@@ -92,7 +92,7 @@
@@ -104,7 +104,7 @@
|