Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						176962c03e 
					 
					
						
						
							
							Add support for 3D/CAD file formats preview ( #34794 )  
						
						... 
						
						
						
						Fix  #34775  
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
					
						2025-06-30 16:12:25 +08:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						f0f1737d4d 
					 
					
						
						
							
							Refactor markup and pdf-viewer to use new init framework ( #33772 )  
						
						... 
						
						
						
						1. Add some "render-content" classes to "markup" elements when the
content is rendered
2. Use correct "markup" wrapper for "preview" (but not set that class on
the tab)
3. Remove incorrect "markup" class from LFS file view, because there is
no markup content
    * "edit-diff" is also removed because it does nothing
5. Use "initPdfViewer" for PDF viewer
6. Remove incorrect "content" class from milestone markup
7. Init all ".markup" elements by new init framework
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-03-03 11:49:15 -08:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						7207d93f01 
					 
					
						
						
							
							Fix a number of Typescript issues ( #31877 )  
						
						... 
						
						
						
						Typescript error count is reduced from 633 to 540 with this. No runtime
changes except in test code. 
						
						
					 
					
						2024-08-28 18:32:38 +02:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						5791a73e75 
					 
					
						
						
							
							Convert frontend code to typescript ( #31559 )  
						
						... 
						
						
						
						None of the frontend js/ts files was touched besides these two commands
(edit: no longer true, I touched one file in
61105d0618 
						
						
					 
					
						2024-07-07 15:32:30 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						ee27b94b2c 
					 
					
						
						
							
							Use vitest globals ( #27102 )  
						
						... 
						
						
						
						Enable [globals](https://vitest.dev/config/#globals ) in vitest, reducing
the noise in test files. 
						
						
					 
					
						2023-09-27 04:37:13 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						5feef6d5c0 
					 
					
						
						
							
							Update JS dependencies ( #26586 )  
						
						... 
						
						
						
						- Update all JS dependencies
- Adapt `ansi_up` import for ESM
- Tested Mermaid and Ansi rendering 
						
						
					 
					
						2023-08-19 10:18:39 +02:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						fdab4e3d84 
					 
					
						
						
							
							Add custom ansi colors and CSS variables for them ( #25546 )  
						
						... 
						
						
						
						Use our existing color palette to map to the 16 basic ansi colors. This
is backwards-compatible because it aliases the existing color names.
Side note: I think the colors in `console.css` for console file
rendering are incomplete, but fixing those is out of scope here imo.
Before and after:
<img width="542" alt="Screenshot 2023-06-28 at 00 26 12"
src="https://github.com/go-gitea/gitea/assets/115237/86d41884-bc47-4e85-8aec-621eb7320f0b ">
<img width="546" alt="Screenshot 2023-06-28 at 00 28 24"
src="https://github.com/go-gitea/gitea/assets/115237/39fa3b37-d49e-49b1-b6bc-390ac8ca24b2 ">
---------
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2023-06-28 15:38:55 +02:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						93cd579269 
					 
					
						
						
							
							Switch to ansi_up for ansi rendering in actions ( #25401 )  
						
						... 
						
						
						
						Fixes: https://github.com/go-gitea/gitea/issues/24777  
						
						
					 
					
						2023-06-22 02:15:19 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						e4e98979ff 
					 
					
						
						
							
							Add PDF rendering via PDFObject ( #24086 )  
						
						... 
						
						
						
						Use [PDFObject](https://pdfobject.com/ ) to embed PDFs, replacing our
outdated PDF.js copy we vendor (the last non-webpack vendoring).
[Commit
1](673e0263da9336f5769dhttps://github.com/go-gitea/gitea/assets/115237/169ce50c-bd1d-4bb0-86e5-1710bd0400a9 ">
<img width="1257" alt="Screenshot 2023-05-27 at 10 12 50"
src="https://github.com/go-gitea/gitea/assets/115237/318f7ee9-fb11-4093-83e7-17475aa70629 ">
Fallback for unsupporting browsers (most mobile ones, except Firefox
Mobile):
<img width="358" alt="Screenshot 2023-05-27 at 09 43 34"
src="https://github.com/go-gitea/gitea/assets/115237/8c12d7ba-57d6-4228-89a0-5fef9fad0cbb ">
---------
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2023-05-29 12:10:00 +00:00