Every user previously set the max_length as window.TRUNCATE_LENGTH, so
I've moved that constant into the truncate_filename file and set it as
the default if max_length is not specified.
/puter/src/helpers/determine_active_container_parent.js
22:30 error 'active_element' is not defined no-undef
25:30 error 'active_element' is not defined no-undef
29:30 error 'active_element' is not defined no-undef
32:41 error 'active_element' is not defined no-undef
32:61 error 'active_element' is not defined no-undef
33:30 error 'active_element' is not defined no-undef
36:41 error 'active_item_container' is not defined no-undef
37:28 error 'active_item_container' is not defined no-undef
/puter/src/helpers/download.js
51:27 error 'api_origin' is not defined no-undef
52:59 error 'auth_token' is not defined no-undef
92:16 error 'operation_cancelled' is not defined no-undef
/puter/src/helpers/new_context_menu_item.js
38:21 error 'create_folder' is not defined no-undef
48:21 error 'create_file' is not defined no-undef
56:21 error 'create_file' is not defined no-undef
70:25 error 'create_file' is not defined no-undef
/puter/src/helpers/refresh_item_container.js
83:13 error 'update_window_layout' is not defined no-undef
86:13 error 'update_details_layout_sort_visuals' is not defined no-undef
124:35 error 'trash_path' is not defined no-undef
162:29 error Empty block statement no-empty
166:51 error 'path' is not defined no-undef
168:34 error 'trash_path' is not defined no-undef
168:62 error 'appdata_path' is not defined no-undef
171:38 error 'desktop_item_positions' is not defined no-undef
178:37 error 'item_icon' is not defined no-undef
207:31 error 'trash_path' is not defined no-undef
216:21 error 'sort_items' is not defined no-undef
217:26 error Empty block statement no-empty
222:13 error 'sort_items' is not defined no-undef
233:17 error 'update_explorer_footer_item_count' is not defined no-undef
/puter/src/helpers/update_title_based_on_uploads.js
21:41 error 'active_uploads' is not defined no-undef
22:59 error 'active_uploads' is not defined no-undef
23:51 error 'active_uploads' is not defined no-undef
27:51 error 'active_uploads' is not defined no-undef