Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 84 for unes (0.02 seconds)

  1. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

                        .result());
            }
            return super.godHandPrologue(runtime);
        }
    
        /**
         * Converts validation messages to a localized string representation for API responses.
         * Uses the request locale if available, otherwise defaults to English.
         *
         * @param validationMessagesLambda lambda function that adds validation messages
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

    import org.commonmark.renderer.html.HtmlRenderer;
    import org.owasp.html.HtmlPolicyBuilder;
    import org.owasp.html.PolicyFactory;
    
    /**
     * Renders markdown to sanitized HTML for safe display in the chat interface.
     * Uses commonmark for markdown parsing and OWASP HTML Sanitizer for XSS prevention.
     */
    public class MarkdownRenderer {
    
        private static final Logger logger = LogManager.getLogger(MarkdownRenderer.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         * This method searches for 'fess_ds++.xml' configuration files within JAR files
         * in the data store plugin directory and extracts component class names.
         *
         * <p>The method uses secure XML parsing features to prevent XXE attacks and
         * other XML-based vulnerabilities. Component class names are extracted from
         * the 'class' attribute of 'component' elements in the XML files.</p>
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            assertTrue(item1.equals(item2));
            assertTrue(item2.equals(item1));
        }
    
        @Test
        public void test_equals_withNullInput() {
            // Test equals with null input - should not throw, uses null-safe comparison
            ProtwordsItem item1 = new ProtwordsItem(1, null);
            ProtwordsItem item2 = new ProtwordsItem(2, null);
            ProtwordsItem item3 = new ProtwordsItem(1, "word");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                }
                return (T) Boolean.valueOf(value.toString());
            }
            return null;
        }
    
        /**
         * Encodes a URL by encoding non-URL-safe characters.
         * Uses the request's character encoding if available, otherwise defaults to UTF-8.
         * Only encodes characters that are not considered URL-safe according to CharUtil.
         *
         * @param url the URL to encode
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            return results;
        }
    
        /**
         * Test for DELETE /api/admin/crawlinginfo/all
         * This endpoint deletes all old crawling sessions except currently running ones
         * */
        private void testDeleteAllCrawlingInfo() {
            // Read crawling info before deletion
            final List<Map<String, Object>> logListBefore = readCrawlingInfo(webConfigId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            assertEquals(5, values.length);
            assertEquals("url:test", values[0]);
            assertTrue(values[1].startsWith("time:"));
            assertTrue(values[2].startsWith("done:"));
    
            // CrawlerStatsHelper uses LinkedHashMap which overwrites values with same key
            // Recording the same action twice will overwrite the first one
            assertTrue(values[3].startsWith("same_action:"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            final byte[] result = authenticator.decodeBase64("SGVsbG8=");
            assertEquals("Hello", new String(result));
        }
    
        @Test
        public void test_decodeBase64_urlSafe() {
            // Base64 URL encoding (uses - and _ instead of + and /)
            final byte[] result = authenticator.decodeBase64("SGVsbG9Xb3JsZA");
            assertEquals("HelloWorld", new String(result));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default int getLtrWindowSize() {
            return getSystemPropertyAsInt(Constants.LTR_WINDOW_SIZE_PROPERTY, 100);
        }
    
        /**
         * Gets the permission fields for Entra ID authentication.
         * Uses new entraid.permission.fields key with fallback to legacy aad.permission.fields.
         * @return Array of permission field names.
         */
        default String[] getEntraIdPermissionFields() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Assert
            assertEquals("Status of test-cluster is changed to RED.", result);
            // Note: Notification sending is tested but we don't verify the mock since it uses complex callback mechanism
        }
    
        // Test state change with empty notification addresses
        @Test
        public void test_execute_stateChangeEmptyNotificationAddresses() {
            // Setup mock components
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
Back to Top