Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for directories (0.05 sec)

  1. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

         */
        public ThemeHelper() {
            // Default constructor
        }
    
        /**
         * Installs a theme from the given artifact.
         * Extracts theme files from the JAR and deploys them to appropriate directories.
         *
         * @param artifact the theme artifact to install
         * @throws ThemeException if installation fails
         */
        public void install(final Artifact artifact) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

        // GET /api/admin/storage/list/{id}
        // PUT /api/admin/storage/list/{id}
        /**
         * Lists files and directories in storage.
         * @param id The ID of the directory to list.
         * @return A JSON response containing the list of files and directories.
         */
        @Execute
        public JsonResponse<ApiResult> list(final OptionalThing<String> id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        /**
         * Gets the path by trying multiple locations in order of preference.
         * First tries to get the real path from servlet context, then checks various
         * fallback locations including source and target directories.
         *
         * @param root the root directory (e.g., "WEB-INF/")
         * @param base the base directory under root (e.g., "conf", "classes")
         * @param names the path components to append to the base directory
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            File emptyDir = new File(tempDir, "empty");
            emptyDir.mkdirs();
            assertTrue(emptyDir.exists());
    
            // Simulate the behavior of postVisitDirectory - delete empty directories
            if (emptyDir.isDirectory() && emptyDir.list().length == 0) {
                emptyDir.delete();
            }
    
            assertFalse(emptyDir.exists());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

         * Expiration time in milliseconds for no-image placeholder files.
         */
        protected long noImageExpired = 24 * 60 * 60 * 1000L; // 24 hours
    
        /**
         * Hash size for splitting thumbnail storage directories.
         */
        protected int splitHashSize = 10;
    
        /**
         * Default constructor for ThumbnailManager.
         */
        public ThumbnailManager() {
            // Default constructor
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. pom.xml

    								<type>perm</type>
    								<filemode>755</filemode>
    								<user>${packaging.fess.user}</user>
    								<group>${packaging.fess.group}</group>
    							</mapper>
    						</data>
    						<!-- Add log and temp directories -->
    						<data>
    							<type>template</type>
    							<paths>
    								<path>${packaging.fess.log.dir}</path>
    								<path>${packaging.fess.temp.dir}</path>
    							</paths>
    							<mapper>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 04 05:22:58 UTC 2025
    - 49.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asListHtml(StringUtil.EMPTY);
        }
    
        /**
         * Displays a list of files and directories in the specified path.
         *
         * @param id the encoded path ID to list (optional)
         * @return action response with the storage list or redirect
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                assertTrue(true);
            }
        }
    
        public void test_install_directoryEntries() throws IOException {
            // Create a zip with directory entries
            Path jarPath = tempDir.resolve("with-directories.jar");
            createMockThemeZipWithDirectories(jarPath);
    
            ThemeHelper mockThemeHelper = new ThemeHelper() {
                @Override
                protected Path getJarFile(Artifact artifact) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        /** Configuration key for SPNEGO initialization status. */
        protected static final String SPNEGO_INITIALIZED = "spnego.initialized";
    
        /** Configuration key for directories to exclude from SPNEGO authentication. */
        protected static final String SPNEGO_EXCLUDE_DIRS = "spnego.exclude.dirs";
    
        /** Configuration key for enabling delegation in SPNEGO authentication. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            assertSame(thumbnailJob, result);
            assertTrue(thumbnailJob.cleanup);
        }
    
        // Test execute method with successful execution
        public void test_execute_success() {
            // Create necessary directories in temp dir
            new File(tempDir, "WEB-INF/lib").mkdirs();
            new File(tempDir, "WEB-INF/env/thumbnail/lib").mkdirs();
            new File(tempDir, "WEB-INF/plugin").mkdirs();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top