Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for Beal (0.01 seconds)

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

                    return clientIp;
                }
                final String xRealIp = request.getHeader("X-Real-IP");
                if (StringUtil.isNotBlank(xRealIp)) {
                    final String clientIp = xRealIp.trim();
                    if (logger.isDebugEnabled()) {
                        logger.debug("Client IP from X-Real-IP: clientIp={}, remoteAddr={}", clientIp, remoteAddr);
                    }
                    return clientIp;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            // 127.0.0.1 is configured as a trusted proxy by default
            final MockletHttpServletRequest request = getMockRequest();
            request.setRemoteAddr("127.0.0.1");
            request.addHeader("X-Real-IP", "203.0.113.75");
            assertEquals("203.0.113.75", rateLimitHelper.getClientIp(request));
        }
    
        @Test
        public void test_getClientIp_xForwardedForPriority_trustedProxy() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. AI_POLICY.md

    3. **Actively collaborate with us.** We commit real time and attention to everything we review. Low-effort submissions—where code is generated, submitted, and abandoned—waste our limited review capacity.
    
    ## What contributors can expect from us
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  4. README.md

    - **[DPE University Free Courses](https://dpeuniversity.gradle.com/app/catalog)**: A collection of hands-on courses for learning Gradle, complete with project-based tasks to improve real-world skills.
    - **[Gradle Community Resources](https://community.gradle.org/resources/)**: Discover a range of resources, tutorials, and guides to support your Gradle journey, from foundational concepts to advanced practices.
    
    ---
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Feb 12 18:58:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            // The real getDocumentCount returns -1 on error; our test double tracks this
            testClient.documentCountError = true;
            final long count = testClient.getDocumentCount("nonexistent_index");
            assertEquals(-1L, count);
        }
    
        @Test
        public void test_getAliasCount_returnsZeroOnError() {
            // The real getAliasCount returns 0 on error; our test double tracks this
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  6. .github/ISSUE_TEMPLATE/20_contributor_feature_request.yml

          description: |
            How has this issue affected you? What are you trying to accomplish? What other alternatives have you considered?
            Providing context helps us come up with a solution that is most useful in the real world
        validations:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Nov 27 15:48:22 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            }
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_getStatus_returnsCorrectValue() {
            // Since we cannot easily create a real ClusterHealthResponse without a running cluster,
            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java

                capturedOption.set(option);
                return null;
            });
    
            final ApiAdminSchedulerAction action = createActionWithMockService(scheduledJob);
    
            // Execute the real put$start() method
            final JsonResponse<ApiResult> jsonResponse = action.put$start("job-1");
    
            // Verify: response contains non-null jobLogId
            assertNotNull(jsonResponse);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                    case "test.property":
                        return "config-value";
                    case "filter.null":
                        // This would be filtered to null by PropertyFilter in real scenario
                        throw new ConfigPropertyNotFoundException("filter.null");
                    default:
                        throw new ConfigPropertyNotFoundException(propertyKey);
                    }
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        @Test
        public void test_updateDocument_noLanguageDetected() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("title", "xyz");
            doc.put("content", "xyz");
    
            // Without a real detector, this will throw NullPointerException
            try {
                languageHelper.updateDocument(doc);
                fail("Should throw NullPointerException without detector");
            } catch (NullPointerException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
Back to Top