text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
import { Page } from '@playwright/test'
import * as po from './actions'
export class Account {
#page: Page
constructor({ page }: { page: Page }) {
this.#page = page
}
getQuotaValue(): Promise<string> {
return po.getQuotaValue({ page: this.#page })
}
getUserInfo(key: string): Promise<string> {
... | owncloud/web/tests/e2e/support/objects/account/index.ts/0 | {
"file_path": "owncloud/web/tests/e2e/support/objects/account/index.ts",
"repo_id": "owncloud",
"token_count": 307
} | 882 |
import { Page, expect } from '@playwright/test'
import util from 'util'
import { sidebar } from '../utils'
import { getActualExpiryDate } from '../../../utils/datePicker'
import { clickResource } from '../resource/actions'
import { shareRoles } from '../share/collaborator'
export interface createLinkArgs {
page: Pag... | owncloud/web/tests/e2e/support/objects/app-files/link/actions.ts/0 | {
"file_path": "owncloud/web/tests/e2e/support/objects/app-files/link/actions.ts",
"repo_id": "owncloud",
"token_count": 4211
} | 883 |
import { Page } from '@playwright/test'
import * as po from './actions'
import { resourceIsNotOpenable, isAcceptedSharePresent, resourceIsSynced } from './utils'
import { createLinkArgs } from '../link/actions'
import { ICollaborator, IAccessDetails } from './collaborator'
export class Share {
#page: Page
construc... | owncloud/web/tests/e2e/support/objects/app-files/share/index.ts/0 | {
"file_path": "owncloud/web/tests/e2e/support/objects/app-files/share/index.ts",
"repo_id": "owncloud",
"token_count": 1124
} | 884 |
import { Actor } from '../types'
export const actorStore = new Map<string, Actor>()
| owncloud/web/tests/e2e/support/store/actor.ts/0 | {
"file_path": "owncloud/web/tests/e2e/support/store/actor.ts",
"repo_id": "owncloud",
"token_count": 25
} | 885 |
export default function (string) {
return string.replace(/(?![A-Z])([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase()
}
| owncloud/web/tests/helpers/toKebabCase.js/0 | {
"file_path": "owncloud/web/tests/helpers/toKebabCase.js",
"repo_id": "owncloud",
"token_count": 60
} | 886 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*/
include_once 'header.php';
include_once 'inc/config.inc.php';
$dbhost=DBHOST;
$dbuser=DBUSER;
$dbpw=DBPW;
$dbname=DBNAME;
$mes_connect='';
$mes_create='';
$mes_data='';
$mes_ok='';
if(isset($_POST['submit'])){
//判断数据库连接
if(!@mysqli_co... | zhuifengshaonianhanlu/pikachu/install.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/install.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 3551
} | 887 |
<?php
include_once "inc/mysql.inc.php";
include_once "inc/config.inc.php";
$link=connect();
// 判断是否登录,没有登录不能访问
if(!check_login($link)){
header("location:index.php");
}
if(isset($_GET['logout']) && $_GET['logout'] == 1){
session_unset();
session_destroy();
setcookie(session_name(),'',time()-3600,'/');... | zhuifengshaonianhanlu/pikachu/pkxss/xssmanager.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/pkxss/xssmanager.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 610
} | 888 |
<?php
$html.=<<<A
<img class=player src="include/ray.png" />
<p class=nabname>
Ray Allen (Ray Allen), was born on July 20, 1975 in California, the beauty of xi, American professional basketball player, the secretary shooting guard, has excellent 3-point shooting ability.
</p>
A;
?> | zhuifengshaonianhanlu/pikachu/vul/fileinclude/include/file5.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/fileinclude/include/file5.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 85
} | 889 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*/
$SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1);
if ($SELF_PAGE = "rce.php"){
$ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','... | zhuifengshaonianhanlu/pikachu/vul/rce/rce.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/rce/rce.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 2613
} | 890 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*/
$SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1);
if ($SELF_PAGE = "sqli_widebyte.php"){
$ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',... | zhuifengshaonianhanlu/pikachu/vul/sqli/sqli_widebyte.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/sqli/sqli_widebyte.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 1546
} | 891 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*/
$SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1);
if ($SELF_PAGE = "xss_01.php"){
$ACTIVE = array('','','','','','','','active open','','','','','','','active','','','','','','','','','','','','','','','',''... | zhuifengshaonianhanlu/pikachu/vul/xss/xss_01.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/xss/xss_01.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 1325
} | 892 |
# 8th Wall Web Examples
Example 8th Wall Web projects, by 3D framework
## A-Frame
* [Tap to place](https://github.com/8thwall/web/tree/master/examples/aframe/placeground) - This interactive example allows the user to grow trees on the ground by tapping. This showcases raycasting, instantiating objects, importing 3D ... | 8thwall/web/examples/README.md/0 | {
"file_path": "8thwall/web/examples/README.md",
"repo_id": "8thwall",
"token_count": 2041
} | 0 |
// import { render, screen } from '@testing-library/react';
// import App from './App';
// test('renders a-scene', () => {
// const result = render(<App />);
// const ascene = result.container.querySelector('#ascene');
// expect(ascene).toBeInTheDocument();
// });
| 8thwall/web/examples/aframe/reactapp/src/App.test.js/0 | {
"file_path": "8thwall/web/examples/aframe/reactapp/src/App.test.js",
"repo_id": "8thwall",
"token_count": 91
} | 1 |
# JSQRCode
This directory and all of its code were forked from [jsqrcode](https://github.com/LazarSoft/jsqrcode)
for the purpose of illustrating how to integrate 8th Wall Web's camera pipeline with existing
libraries for computer vision. Use of this software is subject its license (Apache 2.0) as listed
in [copying](C... | 8thwall/web/examples/camerapipeline/qrcode/jsqrcode/README.md/0 | {
"file_path": "8thwall/web/examples/camerapipeline/qrcode/jsqrcode/README.md",
"repo_id": "8thwall",
"token_count": 621
} | 2 |
/*
Ported to JavaScript by Lazar Laszlo 2011
lazarsoft@gmail.com, www.lazarsoft.info
*/
/*
*
* Copyright 2007 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 8thwall/web/examples/camerapipeline/qrcode/jsqrcode/src/rsdecoder.js/0 | {
"file_path": "8thwall/web/examples/camerapipeline/qrcode/jsqrcode/src/rsdecoder.js",
"repo_id": "8thwall",
"token_count": 2243
} | 3 |
// Manages the position of the image target.
AFRAME.registerComponent('image-target', {
init: function () {
const {object3D, sceneEl} = this.el
object3D.visible = false
// Sets the position of the frame to match the image target.
const showImage = ({detail}) => {
object3D.position.copy(detail.p... | 8thwall/web/gettingstarted/aframe-imagetarget/index.js/0 | {
"file_path": "8thwall/web/gettingstarted/aframe-imagetarget/index.js",
"repo_id": "8thwall",
"token_count": 411
} | 4 |
/* eslint-disable no-undef */
// Copyright (c) 2022 8th Wall, Inc.
const imageFramePipelineModule = () => {
const LIGHT_PURPLE = 0xAD50FF
const CHERRY = 0xDD0065
const MINT = 0x00EDAF
const MANGO = 0xFFC828
const GRAY = 0x8083A2
const DARK_GRAY = 0x464766
const allFrames = {}
let scene
// Renders o... | 8thwall/web/gettingstarted/threejs-imagetarget/index.js/0 | {
"file_path": "8thwall/web/gettingstarted/threejs-imagetarget/index.js",
"repo_id": "8thwall",
"token_count": 2220
} | 5 |
<!doctype html>
<html>
<head>
<title>XRExtras: Camera Pipeline</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<!-- XR Extras - provides utilities like load screen, almost there, and error handling.
See github.com/8thwall/web/tree/master/xrextras ... | 8thwall/web/xrextras/index.html/0 | {
"file_path": "8thwall/web/xrextras/index.html",
"repo_id": "8thwall",
"token_count": 241
} | 6 |
const xrPrimitives = () => {
const faceAnchorPrimitive = {
defaultComponents: {
'xrextras-faceanchor': {},
},
mappings: {
'face-id': 'xrextras-faceanchor.faceId',
},
}
const resourcePrimitive = {
defaultComponents: {
'xrextras-resource': {},
},
mappings: {
src: ... | 8thwall/web/xrextras/src/aframe/xr-primitives.js/0 | {
"file_path": "8thwall/web/xrextras/src/aframe/xr-primitives.js",
"repo_id": "8thwall",
"token_count": 3206
} | 7 |
<div id="previewContainer">
<div class="top-bar">
<div class="preview-box">
<button id="closePreviewButton" class="style-reset icon-button">
<img src="//cdn.8thwall.com/web/img/mediarecorder/close-v2.svg">
</button>
<img id="imagePreview">
<video id="videoPreview" playsinline loop>... | 8thwall/web/xrextras/src/mediarecorder/media-preview.html/0 | {
"file_path": "8thwall/web/xrextras/src/mediarecorder/media-preview.html",
"repo_id": "8thwall",
"token_count": 490
} | 8 |
#runtimeErrorContainer {
z-index: 800;
background-color: #101118;
}
.xrextras-old-style #runtimeErrorContainer {
background-color: #FFFFFF;
}
.floater {
-webkit-filter: drop-shadow(5px 5px 5px #222);
}
| 8thwall/web/xrextras/src/runtimeerrormodule/runtime-error-module.css/0 | {
"file_path": "8thwall/web/xrextras/src/runtimeerrormodule/runtime-error-module.css",
"repo_id": "8thwall",
"token_count": 82
} | 9 |
## 一、HTML5 简介
### 1、什么是 HTML5
HTML5 不是一门新的语言,而是我们之前学习的 HTML 的第五次重大修改版本。
### 2、HTML 的发展历史
- 超文本标记语言(第一版,不叫 HTML 1.0)——在 1993 年 6 月作为互联网工程工作小组(IETF)工作草案发布(并非标准);
- HTML 2.0——1995 年 11 月作为 RFC 1866 发布,在 RFC 2854 于 2000 年 6 月发布之后被宣布已经过时
- HTML 3.2——1997 年 1 月 14 日,W3C 推荐标准
- HTML 4.0——1997 年 12 月 18 日,W3C 推荐标准
- HTML 4... | Daotin/Web/01-HTML/02-HTML5/01-HTML5概述,语义化标签.md/0 | {
"file_path": "Daotin/Web/01-HTML/02-HTML5/01-HTML5概述,语义化标签.md",
"repo_id": "Daotin",
"token_count": 8143
} | 10 |
## 一、CSS初始化
### 1、什么是CSS初始化呢?
CSS初始化是指**重设浏览器的样式**。不同的浏览器默认的样式可能不尽相同,所以开发时的第一件事可能就是如何把它们统一。如果没对CSS初始化往往会出现浏览器之间的页面差异。每次新开发网站或新网页时候通过初始化CSS样式的属性,为我们将用到的CSS或html标签更加方便准确,使得我们开发网页内容时更加方便简洁,同时减少CSS代码量,节约网页下载时间。
### 2、为什么要初始化CSS呢?
为了考虑到**浏览器的兼容问题**,其实不同浏览器对有些标签的默认值是不同的,如果没对CSS初始化往往会出现浏览器之间的页面差异。当然,初始化样式会对SEO有一定的影响,但鱼和熊掌... | Daotin/Web/02-CSS/01-CSS基础/04-CSS初始化、定位、overflow、标签规范.md/0 | {
"file_path": "Daotin/Web/02-CSS/01-CSS基础/04-CSS初始化、定位、overflow、标签规范.md",
"repo_id": "Daotin",
"token_count": 3764
} | 11 |
## 其他总结
1、高和行高也可以撑开盒子,背景图不行。
2、文字不设置行高,是包含文字的盒子的行高。
3、行内元素有定位就可以直接设置宽高
4、文字不在设置的行高等背景里面是因为没有设置行高
5、如果给了定位,但是没有给left,top等值,默认会腾出行内元素、padding的位置,有的时候我们可以使用这些特性,有的时候我们不熟悉的话可能产生bug。
6、较少功能使用较少代码(a代替ui>li>a)
7、如果盒子都是左对齐的话,最后一个盒子在右边的位置不够的话,会掉下来,如果第一个盒子A比第二个盒子B高,那么最后一个盒子C掉下来后跟第二个盒子B左对齐,而不是跟第一个盒子A左对齐。如果最后一个盒子C后面还有一个盒子... | Daotin/Web/02-CSS/01-CSS基础/其他总结.md/0 | {
"file_path": "Daotin/Web/02-CSS/01-CSS基础/其他总结.md",
"repo_id": "Daotin",
"token_count": 2290
} | 12 |
一个功能的实现:
需求:**li下面有a标签,要求li之间有竖线间隔,竖线的长度和a相同,鼠标放到li上高亮,高亮的区域没有到达竖线。**如下图:

**实现的方式就是:**
- 设置 li 的`margin`间隔
- 设置 a 的`margin`为负值,`padding`为正值即可。
| Daotin/Web/02-CSS/一个小功能的实现.md/0 | {
"file_path": "Daotin/Web/02-CSS/一个小功能的实现.md",
"repo_id": "Daotin",
"token_count": 280
} | 13 |
## 一、事件
事件是发生并得到处理的操作,即:事情来了,然后处理。
例如:
- 电话铃声响起(事件发生),需要接电话(处理)
- 学生举手请教问题(有事了),需要解答(处理)
- 按钮被点击了,然后对应有处理代码(一般是函数)
- 光标进入文本框的区域了,然后对应一个函数来处理。
## 二、常见的事件
```js
onchange // 区域的内容被改变。
oncopy // 内容被复制
oncontextmenu // 显示上下文菜单(如鼠标右键的时候显示选项菜单)
onclick //单击
ondblclick //双击
onfo... | Daotin/Web/03-JavaScript/02-DOM/07-事件.md/0 | {
"file_path": "Daotin/Web/03-JavaScript/02-DOM/07-事件.md",
"repo_id": "Daotin",
"token_count": 2121
} | 14 |
原文链接:[js变量提升与函数提升的过程详解](https://daotin.github.io/2019/05/16/js%E5%8F%98%E9%87%8F%E6%8F%90%E5%8D%87%E4%B8%8E%E5%87%BD%E6%95%B0%E6%8F%90%E5%8D%87%E7%9A%84%E8%AF%A6%E7%BB%86%E8%BF%87%E7%A8%8B.html)
| Daotin/Web/03-JavaScript/02-DOM/js变量提升与函数提升的过程详解.md/0 | {
"file_path": "Daotin/Web/03-JavaScript/02-DOM/js变量提升与函数提升的过程详解.md",
"repo_id": "Daotin",
"token_count": 178
} | 15 |
前面我们写了这么多 Ajax 的代码,其实都是基于 js 的原生代码,在 jQuery 的内部,对 Ajax 已经进行了封装,它提供了很多方法可以供开发者进行调用。不过这些封装都是基于一个方法的基础上进行的修改,这个方法就是`$.ajax()` 。
我们主要学习3个方法:
- $.ajax();
- $.get();
- $.post();
### 1、$.ajax()
$.ajax() 和 自己的 myAjax2() 使用起来非常的相似,基本上原理一致。同样是传入一个对象,有些参数不传递的话也有默认值。
```js
// 其他代码省略
userObj.blur(function () {
$.... | Daotin/Web/06-Ajax/09-jQuery中的Ajax.md/0 | {
"file_path": "Daotin/Web/06-Ajax/09-jQuery中的Ajax.md",
"repo_id": "Daotin",
"token_count": 1800
} | 16 |
常见的网页布局方式分为以下四种:
1、**固定宽度布局**:为网页设置一个固定的宽度,通常以px做为长度单位,常见于PC端网页。
2、**流式布局**:为网页设置一个相对的宽度,通常以百分比做为长度单位。
3、**栅格化布局**:将网页宽度人为的划分成均等的长度,然后排版布局时则以这些均等的长度做为度量单位,通常利用百分比做为长度单位来划分成均等的长度。
4、**响应式布局**:通过检测设备信息,决定网页布局方式,即用户如果采用不同的设备访问同一个网页,有可能会看到不一样的内容,一般情况下是检测设备屏幕的宽度来实现。
> 注:以上几种布局方式并不是独立存在的,实际开发过程中往往是相互结合使用的。"
## 1、响应... | Daotin/Web/07-移动Web开发/06-响应式布局.md/0 | {
"file_path": "Daotin/Web/07-移动Web开发/06-响应式布局.md",
"repo_id": "Daotin",
"token_count": 4484
} | 17 |
* {
margin: 0;
padding: 0;
}
.section {
overflow: hidden;
}
/* 第一屏 */
.first {
padding-top: 100px;
}
.first .logo {
width: 251px;
height: 186px;
background-image: url("../images/logo.png");
margin: 0 auto;
}
.first .text {
text-align: center;
margin: 100px 0 20px 0;
}
.first ... | Daotin/Web/07-移动Web开发/案例源码/01-仿360浏览器全屏首页/css/360Page.css/0 | {
"file_path": "Daotin/Web/07-移动Web开发/案例源码/01-仿360浏览器全屏首页/css/360Page.css",
"repo_id": "Daotin",
"token_count": 1699
} | 18 |
window.onload = function () {
bannerEffect();
timeCount();
slideshowEffect();
};
// 搜索栏上下滚动时改变透明度
function bannerEffect() {
var bannerObj = document.querySelector(".search");
var slideshowObj = document.querySelector(".slideshow")
// 获取搜索栏的高度
var bannerHeight = bannerObj.offsetHeight; //40... | Daotin/Web/07-移动Web开发/案例源码/02-仿JD移动端/js/index.js/0 | {
"file_path": "Daotin/Web/07-移动Web开发/案例源码/02-仿JD移动端/js/index.js",
"repo_id": "Daotin",
"token_count": 5008
} | 19 |
/*公共css样式*/
body {
font-family: "Microsoft YaHei", sans-serif;
font-size: 14px;
color: #333;
}
a {
text-decoration: none;
color: #333;
}
a:hover {
text-decoration: none;
color: #333;
}
/*左边距*/
.m_l10 {
margin-left: 10px;
}
/*右边距*/
.m_r10 {
margin-right: 10px;
}
/*自定义字体*/
@fo... | Daotin/Web/07-移动Web开发/案例源码/03-微金所/css/common.css/0 | {
"file_path": "Daotin/Web/07-移动Web开发/案例源码/03-微金所/css/common.css",
"repo_id": "Daotin",
"token_count": 1208
} | 20 |
// Screen Readers
// -------------------------
.sr-only { @include sr-only(); }
.sr-only-focusable { @include sr-only-focusable(); }
| Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/font-awesome-4.7.0/scss/_screen-reader.scss/0 | {
"file_path": "Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/font-awesome-4.7.0/scss/_screen-reader.scss",
"repo_id": "Daotin",
"token_count": 42
} | 21 |
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
(function(w){
"use strict";
w.matchMe... | Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/respond/matchmedia.polyfill.js/0 | {
"file_path": "Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/respond/matchmedia.polyfill.js",
"repo_id": "Daotin",
"token_count": 397
} | 22 |
## 一、内置模块
### 1、url
描述:可以对地址字符串进行解析
```js
let url = require("url");
let urlStr = "https://www.baidu.com/s?ie=utf-8&&wd=%E5%91%A8%E6%9D%B0%E4%BC%A6";
let urlObj = url.parse(urlStr); // 将字符串形式的地址转换成对象格式
console.log(urlObj);
// Url {
// protocol: 'https:', // 协议
// slashes: true, // 是否有"//"
// auth... | Daotin/Web/10-Node.js/02-Nodejs内置模块.md/0 | {
"file_path": "Daotin/Web/10-Node.js/02-Nodejs内置模块.md",
"repo_id": "Daotin",
"token_count": 7095
} | 23 |
演示案例还是接着 **vue的组件**
---
## 一、http代理
走秀后台接口文档地址:<http://39.105.136.190:3000/>

现在想在我们的vue项目中调用ajax获取这些信息。
为了方便演示,我们按照jquery来使用ajax,仅仅是演示,一般vue项目不推荐使用jquery,后面还会介绍专门用来获取ajax的工具,比如:axios。
我们在首页Home请求商品列表:
```js
// Home.js
import $ from 'jquery'
export let Home = {
template: `
<... | Daotin/Web/12-Vue/10-webpack配置http代理,axios.md/0 | {
"file_path": "Daotin/Web/12-Vue/10-webpack配置http代理,axios.md",
"repo_id": "Daotin",
"token_count": 2097
} | 24 |
## 一、react项目概述
React 起源于 Facebook 的内部项目,因为该公司对市场上所有 JavaScript MVC 框架,都不满意,就决定自己写一套,用来架设 Instagram 的网站。做出来以后,发现这套东西很好用,就在2013年5月开源了。
由于 React的设计思想极其独特,属于革命性创新,性能出众,代码逻辑却非常简单。所以,越来越多的人开始关注和使用,认为它可能是将来 Web 开发的主流工具。
这个项目本身也越滚越大,从最早的UI引擎变成了一整套前后端通吃的 Web App 解决方案。衍生的 React Native 项目,目标更是宏伟,希望用写 Web App 的方式去写 Native App。如... | Daotin/Web/13-React/01-react概述,项目搭建,jsx,父子传值.md/0 | {
"file_path": "Daotin/Web/13-React/01-react概述,项目搭建,jsx,父子传值.md",
"repo_id": "Daotin",
"token_count": 9603
} | 25 |
/*
Navicat Premium Data Transfer
Source Server : 阿里云MySQL
Source Server Type : MySQL
Source Server Version : 50718
Source Host : rm-wz9lp2i9322g0n06zvo.mysql.rds.aliyuncs.com:3306
Source Schema : web
Target Server Type : MySQL
Target Server Version : 50718
File Encoding ... | Humsen/web/docs/数据库部署/第1步 - 创建数据库/user_info.sql/0 | {
"file_path": "Humsen/web/docs/数据库部署/第1步 - 创建数据库/user_info.sql",
"repo_id": "Humsen",
"token_count": 558
} | 26 |
package pers.husen.web.bean.vo;
/**
* @author 何明胜
*
* 2017年9月17日
*/
public class UserInfoVo {
private int userId;
private String userName;
private String userNickName;
private String userPassword;
private String userEmail;
private String userPhone;
private int userAge;
private int userSex;
private String... | Humsen/web/web-core/src/pers/husen/web/bean/vo/UserInfoVo.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/bean/vo/UserInfoVo.java",
"repo_id": "Humsen",
"token_count": 1047
} | 27 |
package pers.husen.web.common.helper;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import javax.servlet.http.HttpServletResponse;
import org.apache.l... | Humsen/web/web-core/src/pers/husen/web/common/helper/ReadH5Helper.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/common/helper/ReadH5Helper.java",
"repo_id": "Humsen",
"token_count": 1124
} | 28 |
package pers.husen.web.dao;
import pers.husen.web.bean.vo.ImageUploadVo;
/**
*
*
* @author 何明胜
*
* 2017年10月20日
*/
public interface ImageUploadDao {
/**
* 插入新纪录到图片数据库
* @param iVo
* @return
*/
public int insertImageUpload(ImageUploadVo iVo);
} | Humsen/web/web-core/src/pers/husen/web/dao/ImageUploadDao.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/dao/ImageUploadDao.java",
"repo_id": "Humsen",
"token_count": 132
} | 29 |
package pers.husen.web.dbutil.assist;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Properties;
im... | Humsen/web/web-core/src/pers/husen/web/dbutil/assist/DbConnectUtils.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/dbutil/assist/DbConnectUtils.java",
"repo_id": "Humsen",
"token_count": 1106
} | 30 |
package pers.husen.web.service;
import java.util.ArrayList;
import pers.husen.web.bean.vo.BlogArticleVo;
import pers.husen.web.dao.BlogArticleDao;
import pers.husen.web.dao.impl.BlogArticleDaoImpl;
/**
* @author 何明胜
*
* 2017年9月17日
*/
public class BlogArticleSvc implements BlogArticleDao{
private static final Bl... | Humsen/web/web-core/src/pers/husen/web/service/BlogArticleSvc.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/service/BlogArticleSvc.java",
"repo_id": "Humsen",
"token_count": 611
} | 31 |
package pers.husen.web.servlet.common;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ... | Humsen/web/web-core/src/pers/husen/web/servlet/common/AccessAtatisticsSvt.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/servlet/common/AccessAtatisticsSvt.java",
"repo_id": "Humsen",
"token_count": 534
} | 32 |
package pers.husen.web.servlet.userinfo;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
impor... | Humsen/web/web-core/src/pers/husen/web/servlet/userinfo/UserInfoCodeSvt.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/servlet/userinfo/UserInfoCodeSvt.java",
"repo_id": "Humsen",
"token_count": 3216
} | 33 |
@charset "UTF-8";
.cmt-text {
font-size: 14px;
}
.meessage-input {
background-image: none;
margin: 10px 0px 10px 5px;
height: 100px;
width: 100%;
resize: none;
}
.comment-input {
background: transparent;
background-image: none;
margin: 10px 0px -10px 50px;
height: 60px;
width: 500px;
resize: none;
-moz-... | Humsen/web/web-mobile/WebContent/css/message/message.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/css/message/message.css",
"repo_id": "Humsen",
"token_count": 616
} | 34 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/display/fullscreen.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/display/fullscreen.js",
"repo_id": "Humsen",
"token_count": 559
} | 35 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/fold/markdown-fold.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/fold/markdown-fold.js",
"repo_id": "Humsen",
"token_count": 597
} | 36 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/lint/yaml-lint.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/lint/yaml-lint.js",
"repo_id": "Humsen",
"token_count": 314
} | 37 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// Highlighting text that matches the selection
//
// Defines an option highlightSelectionMatches, which, when enabled,
// will style strings that match the selection throughout the
// documen... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/search/match-highlighter.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/search/match-highlighter.js",
"repo_id": "Humsen",
"token_count": 1902
} | 38 |
/*!
// CodeMirror v5.0, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// This is CodeMirror (http://codemirror.net), a code editor
// implemented in JavaScript on top of the browser's DOM.
//
// You can find some technical background for some of the cod... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/lib/codemirror.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/lib/codemirror.css",
"repo_id": "Humsen",
"token_count": 3030
} | 39 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/diff/diff.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/diff/diff.js",
"repo_id": "Humsen",
"token_count": 481
} | 40 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/groovy/groovy.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/groovy/groovy.js",
"repo_id": "Humsen",
"token_count": 3125
} | 41 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// LUA mode. Ported to CodeMirror 2 from Franciszek Wawrzak's
// CodeMirror 1 mode.
// highlights keywords, strings, comments (no leveling supported! ("[==[")), tokens, basic indenting
(funct... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/lua/lua.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/lua/lua.js",
"repo_id": "Humsen",
"token_count": 2329
} | 42 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/properties/properties.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/properties/properties.js",
"repo_id": "Humsen",
"token_count": 936
} | 43 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// Slim Highlighting for CodeMirror copyright (c) HicknHack Software Gmbh
(function() {
var mode = CodeMirror.getMode({tabSize: 4, indentUnit: 2}, "slim");
function MT(name) { test.mode(n... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/slim/test.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/slim/test.js",
"repo_id": "Humsen",
"token_count": 1182
} | 44 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
/***
|''Name''|tiddlywiki.js|
|''Description''|Enables TiddlyWikiy syntax highlighting using CodeMirror|
|''Author''|PMario|
|''Version''|0.1.7|
|''Status''|''stable''|
... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/tiddlywiki/tiddlywiki.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/tiddlywiki/tiddlywiki.js",
"repo_id": "Humsen",
"token_count": 4488
} | 45 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/z80/z80.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/z80/z80.js",
"repo_id": "Humsen",
"token_count": 1478
} | 46 |
/****************************************************************/
/* Based on mbonaci's Brackets mbo theme */
/* https://github.com/mbonaci/global/blob/master/Mbo.tmTheme */
/* Create your own: http://tmtheme-editor.herokuapp.com */
/***************************************************... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/mbo.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/mbo.css",
"repo_id": "Humsen",
"token_count": 802
} | 47 |
/* Taken from the popular Visual Studio Vibrant Ink Schema */
.cm-s-vibrant-ink.CodeMirror { background: black; color: white; }
.cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; }
.cm-s-vibrant-ink.CodeMirror ::selection { background: rgba(53, 73, 60, 0.99); }
.cm-s-vibrant-ink.CodeMirror ::-moz... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/vibrant-ink.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/vibrant-ink.css",
"repo_id": "Humsen",
"token_count": 843
} | 48 |
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>留言区</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="欢迎来到何明胜的个人网站.本站主要用于记录和分享本人的学习心得和编程经验,并分享常见可复用代码、推荐书籍以及软件等资源.本站源码已托管github,欢迎访... | Humsen/web/web-mobile/WebContent/topic/message/message.html/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/topic/message/message.html",
"repo_id": "Humsen",
"token_count": 745
} | 49 |
@charset "UTF-8";
.forget-pwd {
margin-left: 12%;
}
.navbar-bottom {
text-align: center;
background-color: whitesmoke;
}
.login-title{
margin: 0;
} | Humsen/web/web-pc/WebContent/css/login/login.css/0 | {
"file_path": "Humsen/web/web-pc/WebContent/css/login/login.css",
"repo_id": "Humsen",
"token_count": 73
} | 50 |
/**
* 写新文章的js
*
* @author 何明胜
*
* 2017年9月28日
*/
/** 加载插件 * */
$.ajax({
url : '/plugins/plugins.html', // 这里是静态页的地址
async : false,
type : 'GET', // 静态页用get方法,否则服务器会抛出405错误
success : function(data) {
$($('head')[0]).find('script:first').after(data);
}
});
var article_id = -1;// 文章id,新文章默认为-1,编辑文章为相应的id
v... | Humsen/web/web-pc/WebContent/js/editor/editor.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/js/editor/editor.js",
"repo_id": "Humsen",
"token_count": 5791
} | 51 |
# Configuration for known file extensions
[*.{css,js,json,less,md,py,rst,sass,scss,xml,yaml,yml}]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{json,yml,yaml,rst,md}]
indent_size = 2
# Do not configure editor for libs and autogene... | OCA/web/.editorconfig/0 | {
"file_path": "OCA/web/.editorconfig",
"repo_id": "OCA",
"token_count": 225
} | 52 |
/** @odoo-module **/
import {X2ManyField} from "@web/views/fields/x2many/x2many_field";
import {XMLParser} from "@web/core/utils/xml";
import {evaluateExpr} from "@web/core/py_js/py";
import {patch} from "@web/core/utils/patch";
patch(X2ManyField.prototype, "web_action_conditionable_FieldOne2Many", {
get rendererP... | OCA/web/web_action_conditionable/static/src/components/field_one2many.esm.js/0 | {
"file_path": "OCA/web/web_action_conditionable/static/src/components/field_one2many.esm.js",
"repo_id": "OCA",
"token_count": 802
} | 53 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_advanced_search
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-09-01 12:52+0000\n"
"Last-Translator: 黎伟杰 <674416404@qq.com>\n"
"Language-Team: none\n"
"... | OCA/web/web_advanced_search/i18n/zh_CN.po/0 | {
"file_path": "OCA/web/web_advanced_search/i18n/zh_CN.po",
"repo_id": "OCA",
"token_count": 502
} | 54 |
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2017-2018 Jairo Llopis <jairo.llopis@tecnativa.com>
Copyright 2022 Camptocamp SA (https://www.camptocamp.com).
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<templates>
<t t-name="web_advanced_search.AdvancedFilterItem" owl="1">... | OCA/web/web_advanced_search/static/src/search/filter_menu/advanced_filter_item.xml/0 | {
"file_path": "OCA/web/web_advanced_search/static/src/search/filter_menu/advanced_filter_item.xml",
"repo_id": "OCA",
"token_count": 232
} | 55 |
* `Akretion <https://akretion.com>`_:
* David BEAL <david.beal@akretion.com>
| OCA/web/web_apply_field_style/readme/CONTRIBUTORS.rst/0 | {
"file_path": "OCA/web/web_apply_field_style/readme/CONTRIBUTORS.rst",
"repo_id": "OCA",
"token_count": 36
} | 56 |
This module extends the functionality of backend calendars to support custom
slot durations and to allow you to provide more specific UX regarding event
duration and snapping.
| OCA/web/web_calendar_slot_duration/readme/DESCRIPTION.rst/0 | {
"file_path": "OCA/web/web_calendar_slot_duration/readme/DESCRIPTION.rst",
"repo_id": "OCA",
"token_count": 32
} | 57 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_chatter_position
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-08-07 16:10+0000\n"
"Last-Translator: \"Jan Tapper [Onestein]\" <j.tapper@onestein.nl>\n... | OCA/web/web_chatter_position/i18n/nl.po/0 | {
"file_path": "OCA/web/web_chatter_position/i18n/nl.po",
"repo_id": "OCA",
"token_count": 531
} | 58 |
# Odoo, Open Source Web Company Color
# Copyright (C) 2019 Alexandre Díaz <dev@redneboa.es>
#
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).#
{
"name": "Web Company Color",
"category": "web",
"version": "16.0.1.2.0",
"author": "Alexandre Díaz, Odoo Community Association (OCA)",
"we... | OCA/web/web_company_color/__manifest__.py/0 | {
"file_path": "OCA/web/web_company_color/__manifest__.py",
"repo_id": "OCA",
"token_count": 256
} | 59 |
* Jordi Ballester Alomar <jordi.ballester@forgeflow.com> (ForgeFlow)
* Lois Rilo <lois.rilo@forgeflow.com> (ForgeFlow)
* Simone Orsi <simone.orsi@camptocamp.com>
* Iván Antón <ozono@ozonomultimedia.com>
* Bernat Puig <bernat.puig@forgeflow.com> (ForgeFlow)
* Dhara Solanki <dhara.solanki@initos.com>
* `Tecnativa <https:... | OCA/web/web_company_color/readme/CONTRIBUTORS.rst/0 | {
"file_path": "OCA/web/web_company_color/readme/CONTRIBUTORS.rst",
"repo_id": "OCA",
"token_count": 167
} | 60 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_copy_confirm
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content... | OCA/web/web_copy_confirm/i18n/web_copy_confirm.pot/0 | {
"file_path": "OCA/web/web_copy_confirm/i18n/web_copy_confirm.pot",
"repo_id": "OCA",
"token_count": 293
} | 61 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-03-06 20:08+0000\n"
"Last-Translator: Ediz Duman <neps1192@gmail.com>\n"
"Language-Team: none\n... | OCA/web/web_dark_mode/i18n/tr.po/0 | {
"file_path": "OCA/web/web_dark_mode/i18n/tr.po",
"repo_id": "OCA",
"token_count": 497
} | 62 |
==========================
Overview Dashboard (Tiles)
==========================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! sour... | OCA/web/web_dashboard_tile/README.rst/0 | {
"file_path": "OCA/web/web_dashboard_tile/README.rst",
"repo_id": "OCA",
"token_count": 1942
} | 63 |
from . import models
| OCA/web/web_dialog_size/__init__.py/0 | {
"file_path": "OCA/web/web_dialog_size/__init__.py",
"repo_id": "OCA",
"token_count": 5
} | 64 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_disable_export_group
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-10-16 12:08+0000\n"
"Last-Translator: Pedro Castro Silva <pedrocs@exo.pt>\n"
"Langua... | OCA/web/web_disable_export_group/i18n/pt.po/0 | {
"file_path": "OCA/web/web_disable_export_group/i18n/pt.po",
"repo_id": "OCA",
"token_count": 510
} | 65 |
<?xml version="1.0" encoding="utf-8" ?>
<templates>
<t
t-name="web.ListView.Buttons.disbaleExport"
t-inherit="web.ListView.Buttons"
t-inherit-mode="extension"
owl="1"
>
<xpath expr="//t[contains(@t-if, 'isExportEnable')]" position="attributes">
<attribute
... | OCA/web/web_disable_export_group/static/src/xml/export_xls_views.xml/0 | {
"file_path": "OCA/web/web_disable_export_group/static/src/xml/export_xls_views.xml",
"repo_id": "OCA",
"token_count": 234
} | 66 |
from . import test_qunit
| OCA/web/web_domain_field/tests/__init__.py/0 | {
"file_path": "OCA/web/web_domain_field/tests/__init__.py",
"repo_id": "OCA",
"token_count": 8
} | 67 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_environment_ribbon
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-13 16:06+0000\n"
... | OCA/web/web_environment_ribbon/i18n/sl.po/0 | {
"file_path": "OCA/web/web_environment_ribbon/i18n/sl.po",
"repo_id": "OCA",
"token_count": 377
} | 68 |
# Copyright 2019 Eric Lembregts
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.tests import common
class TestEnvironmentRibbonData(common.TransactionCase):
@classmethod
def setUpClass(cls):
super(TestEnvironmentRibbonData, cls).setUpClass()
cls.env["ir.config_p... | OCA/web/web_environment_ribbon/tests/test_environment_ribbon_data.py/0 | {
"file_path": "OCA/web/web_environment_ribbon/tests/test_environment_ribbon_data.py",
"repo_id": "OCA",
"token_count": 422
} | 69 |
{
"name": "Group Expand Buttons",
"category": "Web",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "OpenERP SA, "
"AvanzOSC, "
"Serv. Tecnol. Avanzados - Pedro M. Baeza, "
"Therp BV, "
"Xtendoo, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OC... | OCA/web/web_group_expand/__manifest__.py/0 | {
"file_path": "OCA/web/web_group_expand/__manifest__.py",
"repo_id": "OCA",
"token_count": 278
} | 70 |
{
"name": "Help Framework",
"sumamry": "This module introduces a new way to guide users",
"author": "Onestein,Odoo Community Association (OCA)",
"category": "Technical",
"license": "AGPL-3",
"version": "16.0.2.0.0",
"website": "https://github.com/OCA/web",
"depends": [
"web",
... | OCA/web/web_help/__manifest__.py/0 | {
"file_path": "OCA/web/web_help/__manifest__.py",
"repo_id": "OCA",
"token_count": 496
} | 71 |
<?xml version="1.0" encoding="UTF-8" ?>
<templates>
<t t-name="web_help.HelpButton" owl="1">
<button
class="btn ml-2 js_web_help_btn"
t-att-class="props.btnClass || 'btn-light'"
t-on-click="onClick"
tabindex="-1"
t-if="state.TripClass"
>
... | OCA/web/web_help/static/src/components/help_button/help_button.xml/0 | {
"file_path": "OCA/web/web_help/static/src/components/help_button/help_button.xml",
"repo_id": "OCA",
"token_count": 864
} | 72 |
=====================================
Window actions for client side paging
=====================================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!... | OCA/web/web_ir_actions_act_window_page/README.rst/0 | {
"file_path": "OCA/web/web_ir_actions_act_window_page/README.rst",
"repo_id": "OCA",
"token_count": 1234
} | 73 |
====================
List Range Selection
====================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:... | OCA/web/web_listview_range_select/README.rst/0 | {
"file_path": "OCA/web/web_listview_range_select/README.rst",
"repo_id": "OCA",
"token_count": 1173
} | 74 |
===============
web_m2x_options
===============
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:aa5a8282ea6887d... | OCA/web/web_m2x_options/README.rst/0 | {
"file_path": "OCA/web/web_m2x_options/README.rst",
"repo_id": "OCA",
"token_count": 2550
} | 75 |
# Copyright 2020 initOS GmbH.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.tests import common
class TestIrConfigParameter(common.TransactionCase):
@classmethod
def setUpClass(cls):
super(TestIrConfigParameter, cls).setUpClass()
cls.env["ir.config_parameter"]... | OCA/web/web_m2x_options/tests/test_ir_config_parameter.py/0 | {
"file_path": "OCA/web/web_m2x_options/tests/test_ir_config_parameter.py",
"repo_id": "OCA",
"token_count": 664
} | 76 |
# pylint: disable=missing-docstring
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import models
| OCA/web/web_notify/__init__.py/0 | {
"file_path": "OCA/web/web_notify/__init__.py",
"repo_id": "OCA",
"token_count": 44
} | 77 |
This module is based on the Instant Messaging Bus. To work properly, the server must be launched in gevent mode.
| OCA/web/web_notify/readme/INSTALL.rst/0 | {
"file_path": "OCA/web/web_notify/readme/INSTALL.rst",
"repo_id": "OCA",
"token_count": 26
} | 78 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_notify_channel_message
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-27 11:34+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Lan... | OCA/web/web_notify_channel_message/i18n/it.po/0 | {
"file_path": "OCA/web/web_notify_channel_message/i18n/it.po",
"repo_id": "OCA",
"token_count": 367
} | 79 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_pivot_computed_measure
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n... | OCA/web/web_pivot_computed_measure/i18n/web_pivot_computed_measure.pot/0 | {
"file_path": "OCA/web/web_pivot_computed_measure/i18n/web_pivot_computed_measure.pot",
"repo_id": "OCA",
"token_count": 1802
} | 80 |
<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">
<t t-inherit="web.ReportViewMeasures" t-inherit-mode="extension" owl="1">
<xpath expr="//DropdownItem" position="attributes">
<attribute name="t-if">!measure.startsWith('__computed_')</attribute>
</xpath>
<xpath expr="//t[@t-... | OCA/web/web_pivot_computed_measure/static/src/view.xml/0 | {
"file_path": "OCA/web/web_pivot_computed_measure/static/src/view.xml",
"repo_id": "OCA",
"token_count": 566
} | 81 |
# Copyright 2020 Tecnativa - João Marques
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
import base64
import io
import sys
from PIL import Image
from odoo import _, api, exceptions, fields, models
from odoo.tools.mimetypes import guess_mimetype
class ResConfigSettings(models.TransientModel):
... | OCA/web/web_pwa_oca/models/res_config_settings.py/0 | {
"file_path": "OCA/web/web_pwa_oca/models/res_config_settings.py",
"repo_id": "OCA",
"token_count": 3018
} | 82 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg:svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi... | OCA/web/web_pwa_oca/static/img/icons/odoo_logo.svg/0 | {
"file_path": "OCA/web/web_pwa_oca/static/img/icons/odoo_logo.svg",
"repo_id": "OCA",
"token_count": 1343
} | 83 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_responsive
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2018-09-02 05:11+0000\n"
"Last-Translator: Hans Henrik Gabelgaard <hhg@gabelgaard.org>\n"
"Language... | OCA/web/web_responsive/i18n/da.po/0 | {
"file_path": "OCA/web/web_responsive/i18n/da.po",
"repo_id": "OCA",
"token_count": 1653
} | 84 |
This module adds responsiveness to web backend.
**Features for all devices**:
* New navigation with the fullscreen app menu
.. image:: ../static/img/appmenu.gif
* Quick menu search inside the app menu
.. image:: ../static/img/appsearch.gif
* Sticky header & footer in list view
.. image:: ../static/img/list... | OCA/web/web_responsive/readme/DESCRIPTION.rst/0 | {
"file_path": "OCA/web/web_responsive/readme/DESCRIPTION.rst",
"repo_id": "OCA",
"token_count": 555
} | 85 |
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2018 Tecnativa - Jairo Llopis
Copyright 2021 ITerra - Sergey Shebanin
Copyright 2023 Onestein - Anjeel Haria
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
<templates>
<t t-inherit="web.NavBar.AppsMenu" t-inherit-mode="extensio... | OCA/web/web_responsive/static/src/components/apps_menu/apps_menu.xml/0 | {
"file_path": "OCA/web/web_responsive/static/src/components/apps_menu/apps_menu.xml",
"repo_id": "OCA",
"token_count": 2479
} | 86 |
/* Copyright 2018 Tecnativa - Jairo Llopis
* Copyright 2021 ITerra - Sergey Shebanin
* Copyright 2023 Onestein - Anjeel Haria
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
odoo.define("web_responsive", function () {
"use strict";
// Fix for iOS Safari to set correct viewport height
/... | OCA/web/web_responsive/static/src/legacy/js/web_responsive.js/0 | {
"file_path": "OCA/web/web_responsive/static/src/legacy/js/web_responsive.js",
"repo_id": "OCA",
"token_count": 323
} | 87 |
# Copyright (C) 2023-TODAY Synconics Technologies Pvt. Ltd. (<http://www.synconics.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models
class IrHttp(models.AbstractModel):
_inherit = "ir.http"
@classmethod
def _get_translation_frontend_modules_name(cls):
... | OCA/web/web_save_discard_button/models/ir_http.py/0 | {
"file_path": "OCA/web/web_save_discard_button/models/ir_http.py",
"repo_id": "OCA",
"token_count": 163
} | 88 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.